summaryrefslogtreecommitdiffstats
path: root/klipper/toplevel.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-02 21:48:09 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-02 21:48:09 +0000
commitcbecd3a8a71c92976314479c9ce892ee8138da5d (patch)
tree082c9abc0aab13bcefbe5f3578eb55c6e6964cdb /klipper/toplevel.cpp
parent161e6c2e3ade351f6d1fbed595939c86e397274c (diff)
downloadtdebase-cbecd3a8a71c92976314479c9ce892ee8138da5d.tar.gz
tdebase-cbecd3a8a71c92976314479c9ce892ee8138da5d.zip
Update kdebase inherits() to use new object name defines instead of string literals
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1226899 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klipper/toplevel.cpp')
-rw-r--r--klipper/toplevel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/klipper/toplevel.cpp b/klipper/toplevel.cpp
index ce539f825..cbbce7de5 100644
--- a/klipper/toplevel.cpp
+++ b/klipper/toplevel.cpp
@@ -1016,10 +1016,10 @@ bool KlipperWidget::ignoreClipboardChanges() const
TQWidget *tqfocusWidget = tqApp->tqfocusWidget();
if ( tqfocusWidget )
{
- if ( tqfocusWidget->inherits( "QSpinBox" ) ||
+ if ( tqfocusWidget->inherits( TQSPINBOX_OBJECT_NAME_STRING ) ||
(tqfocusWidget->tqparentWidget() &&
- tqfocusWidget->inherits("QLineEdit") &&
- tqfocusWidget->tqparentWidget()->inherits("QSpinWidget")) )
+ tqfocusWidget->inherits(TQLINEEDIT_OBJECT_NAME_STRING) &&
+ tqfocusWidget->tqparentWidget()->inherits(TQSPINWIDGET_OBJECT_NAME_STRING)) )
{
return true;
}