diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-02 21:48:09 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-02 21:48:09 +0000 |
commit | cbecd3a8a71c92976314479c9ce892ee8138da5d (patch) | |
tree | 082c9abc0aab13bcefbe5f3578eb55c6e6964cdb /klipper | |
parent | 161e6c2e3ade351f6d1fbed595939c86e397274c (diff) | |
download | tdebase-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')
-rw-r--r-- | klipper/toplevel.cpp | 6 |
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; } |