summaryrefslogtreecommitdiffstats
path: root/tdeparts
diff options
context:
space:
mode:
Diffstat (limited to 'tdeparts')
-rw-r--r--tdeparts/part.cpp2
-rw-r--r--tdeparts/partmanager.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/tdeparts/part.cpp b/tdeparts/part.cpp
index 075b13d77..286a5f93b 100644
--- a/tdeparts/part.cpp
+++ b/tdeparts/part.cpp
@@ -690,7 +690,7 @@ bool ReadWritePart::waitSaveComplete()
d->m_waitForSave = true;
TQWidget dummy(0,0,(WFlags)(WType_Dialog | WShowModal));
- dummy.setFocusPolicy( TQ_NoFocus );
+ dummy.setFocusPolicy( TQWidget::NoFocus );
tqt_enter_modal(&dummy);
tqApp->enter_loop();
tqt_leave_modal(&dummy);
diff --git a/tdeparts/partmanager.cpp b/tdeparts/partmanager.cpp
index 5ba9c8b41..f63fdc3b3 100644
--- a/tdeparts/partmanager.cpp
+++ b/tdeparts/partmanager.cpp
@@ -351,11 +351,11 @@ void PartManager::addPart( Part *part, bool setActive )
}
// Prevent focus problems
- if ( part->widget() && part->widget()->focusPolicy() == TQ_NoFocus )
+ if ( part->widget() && part->widget()->focusPolicy() == TQWidget::NoFocus )
{
kdWarning(1000) << "Part '" << part->name() << "' has a widget " << part->widget()->name() << " with a focus policy of NoFocus. It should have at least a ClickFocus policy, for part activation to work well." << endl;
}
- if ( part->widget() && part->widget()->focusPolicy() == TQ_TabFocus )
+ if ( part->widget() && part->widget()->focusPolicy() == TQWidget::TabFocus )
{
kdWarning(1000) << "Part '" << part->name() << "' has a widget " << part->widget()->name() << " with a focus policy of TabFocus. It should have at least a ClickFocus policy, for part activation to work well." << endl;
}