diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:53:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-04 10:33:54 +0900 |
commit | 7f3bcfe1003504498f27b8930e723e0f7562c40a (patch) | |
tree | dfa3e8b34b54c062ed919439fd7170a8e96e5d75 /tdeparts/partmanager.cpp | |
parent | 08a957a2e9e2c3449007f2118da08af79505044f (diff) | |
download | tdelibs-7f3bcfe1003504498f27b8930e723e0f7562c40a.tar.gz tdelibs-7f3bcfe1003504498f27b8930e723e0f7562c40a.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1e5d5c92c374c8c950f01fa5aa916b3f722f98c1)
Diffstat (limited to 'tdeparts/partmanager.cpp')
-rw-r--r-- | tdeparts/partmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |