summaryrefslogtreecommitdiffstats
path: root/kdeprint/kdeprintfax
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 /kdeprint/kdeprintfax
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 'kdeprint/kdeprintfax')
-rw-r--r--kdeprint/kdeprintfax/faxctrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeprint/kdeprintfax/faxctrl.cpp b/kdeprint/kdeprintfax/faxctrl.cpp
index f88d7ace5..d721fac0b 100644
--- a/kdeprint/kdeprintfax/faxctrl.cpp
+++ b/kdeprint/kdeprintfax/faxctrl.cpp
@@ -604,7 +604,7 @@ void FaxCtrl::slotCloseLog()
{
TQTextEdit *view = m_logview;
m_logview = 0;
- if (obj && obj->inherits("QPushButton"))
+ if (obj && obj->inherits(TQPUSHBUTTON_OBJECT_NAME_STRING))
delete view->tqparentWidget();
kdDebug() << "slotClose()" << endl;
}