From 0a05b258faf9126cda33e19324126beb1975b19c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Apr 2011 23:45:34 +0000 Subject: Change remaining kdebase inherits() and similar methods to use new object name define strings git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1226910 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdm/kfrontend/themer/kdmitem.cpp | 2 +- kdm/kfrontend/themer/kdmthemer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kdm/kfrontend') diff --git a/kdm/kfrontend/themer/kdmitem.cpp b/kdm/kfrontend/themer/kdmitem.cpp index 2d3f841f4..1b2d7af1d 100644 --- a/kdm/kfrontend/themer/kdmitem.cpp +++ b/kdm/kfrontend/themer/kdmitem.cpp @@ -621,7 +621,7 @@ KdmItem::tqparentWidget() const if (!this->parent()) return 0; - if (tqparent()->qt_cast("TQWidget")) + if (tqparent()->qt_cast(TQWIDGET_OBJECT_NAME_STRING)) return (TQWidget*)parent(); return ((KdmItem*)parent())->tqparentWidget(); } diff --git a/kdm/kfrontend/themer/kdmthemer.cpp b/kdm/kfrontend/themer/kdmthemer.cpp index 5ff9b6711..5cab6a0cd 100644 --- a/kdm/kfrontend/themer/kdmthemer.cpp +++ b/kdm/kfrontend/themer/kdmthemer.cpp @@ -358,7 +358,7 @@ KdmThemer::slotActivated( const TQString &id ) return; item->widget()->setFocus(); - TQLineEdit *le = (TQLineEdit*)item->widget()->qt_cast("TQLineEdit"); + TQLineEdit *le = (TQLineEdit*)item->widget()->qt_cast(TQLINEEDIT_OBJECT_NAME_STRING); if (le) le->selectAll(); } -- cgit v1.2.1