diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-29 00:07:20 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-29 00:07:20 +0000 |
commit | 9ee4144afedd77175dd068e60ef09399c684dcee (patch) | |
tree | ea89d4e804b738146dca0bbded08cdc06d9817dd /kutils | |
parent | 0d772cdcb1100285ecb0d9867fc9b795d3c8a707 (diff) | |
download | tdelibs-9ee4144afedd77175dd068e60ef09399c684dcee.tar.gz tdelibs-9ee4144afedd77175dd068e60ef09399c684dcee.zip |
Restored qt_cast()
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1217837 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kutils')
-rw-r--r-- | kutils/kcmoduleproxy.h | 1 | ||||
-rw-r--r-- | kutils/kcmultidialog.cpp | 2 | ||||
-rw-r--r-- | kutils/kfinddialog.cpp | 2 | ||||
-rw-r--r-- | kutils/kpluginselector.cpp | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/kutils/kcmoduleproxy.h b/kutils/kcmoduleproxy.h index fea2cf47e..ff2b06579 100644 --- a/kutils/kcmoduleproxy.h +++ b/kutils/kcmoduleproxy.h @@ -68,6 +68,7 @@ class KProcess; class KUTILS_EXPORT KCModuleProxy : public TQWidget { Q_OBJECT +TQ_OBJECT friend class KCModuleProxyRootCommunicatorImpl; diff --git a/kutils/kcmultidialog.cpp b/kutils/kcmultidialog.cpp index 217f40bd4..3efdbf5b8 100644 --- a/kutils/kcmultidialog.cpp +++ b/kutils/kcmultidialog.cpp @@ -358,7 +358,7 @@ void KCMultiDialog::slotAboutToShow(TQWidget *page) if( ! obj ) return; - KCModuleProxy * module = ( KCModuleProxy* )obj->tqqt_cast( + KCModuleProxy * module = ( KCModuleProxy* )obj->qt_cast( "KCModuleProxy" ); if( ! module ) return; diff --git a/kutils/kfinddialog.cpp b/kutils/kfinddialog.cpp index c23380696..bd5401c06 100644 --- a/kutils/kfinddialog.cpp +++ b/kutils/kfinddialog.cpp @@ -429,7 +429,7 @@ void KFindDialog::showPatterns() if ( d->m_regexpDialog ) { - KRegExpEditorInterface *iface = static_cast<KRegExpEditorInterface *>( d->m_regexpDialog->tqqt_cast( "KRegExpEditorInterface" ) ); + KRegExpEditorInterface *iface = static_cast<KRegExpEditorInterface *>( d->m_regexpDialog->qt_cast( "KRegExpEditorInterface" ) ); assert( iface ); iface->setRegExp( pattern() ); diff --git a/kutils/kpluginselector.cpp b/kutils/kpluginselector.cpp index 96e853534..a9ff9db9b 100644 --- a/kutils/kpluginselector.cpp +++ b/kutils/kpluginselector.cpp @@ -696,7 +696,7 @@ void KPluginSelector::defaults() // tabwidget - defaults() will be called for all of them) TQWidget * pluginconfig = d->widgetstack->visibleWidget(); - KCModuleProxy * kcm = ( KCModuleProxy* )pluginconfig->tqqt_cast( + KCModuleProxy * kcm = ( KCModuleProxy* )pluginconfig->qt_cast( "KCModuleProxy" ); if( kcm ) { |