diff options
author | Timothy Pearson <[email protected]> | 2012-03-07 21:15:28 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-07 21:15:28 -0600 |
commit | 2242eb95a7bcd686207e2043340fed5ccc8b7609 (patch) | |
tree | fd85f1fe082773ae6bc422b71392ded6bfa3c903 /kate | |
parent | 0a382195c4b1822d4120a50d8a6c1269467386ac (diff) | |
download | tdebase-2242eb95a7bcd686207e2043340fed5ccc8b7609.tar.gz tdebase-2242eb95a7bcd686207e2043340fed5ccc8b7609.zip |
Rename additional members for tqt3
Diffstat (limited to 'kate')
-rw-r--r-- | kate/app/kateconsole.cpp | 2 | ||||
-rw-r--r-- | kate/app/katedocmanageriface.cpp | 8 | ||||
-rw-r--r-- | kate/app/katemdi.cpp | 2 | ||||
-rw-r--r-- | kate/app/kateviewmanager.cpp | 2 | ||||
-rw-r--r-- | kate/app/kateviewspacecontainer.cpp | 4 | ||||
-rw-r--r-- | kate/app/kwritemain.cpp | 4 | ||||
-rw-r--r-- | kate/interfaces/plugin.cpp | 2 | ||||
-rw-r--r-- | kate/interfaces/pluginconfiginterface.cpp | 2 | ||||
-rw-r--r-- | kate/interfaces/pluginconfiginterfaceextension.cpp | 2 | ||||
-rw-r--r-- | kate/interfaces/toolviewmanager.cpp | 6 |
10 files changed, 17 insertions, 17 deletions
diff --git a/kate/app/kateconsole.cpp b/kate/app/kateconsole.cpp index 1e7dcb3ef..b70de5905 100644 --- a/kate/app/kateconsole.cpp +++ b/kate/app/kateconsole.cpp @@ -115,7 +115,7 @@ void KateConsole::sendInput( const TQString& text ) if (!m_part) return; - TerminalInterface *t = static_cast<TerminalInterface*>( m_part->qt_cast( "TerminalInterface" ) ); + TerminalInterface *t = static_cast<TerminalInterface*>( m_part->tqt_cast( "TerminalInterface" ) ); if (!t) return; diff --git a/kate/app/katedocmanageriface.cpp b/kate/app/katedocmanageriface.cpp index 5ef01a1df..034c5aa03 100644 --- a/kate/app/katedocmanageriface.cpp +++ b/kate/app/katedocmanageriface.cpp @@ -35,7 +35,7 @@ DCOPRef KateDocManagerDCOPIface::document (uint n) if (!doc) return DCOPRef (); - DCOPObject *obj = static_cast<DCOPObject*>(doc->qt_cast("DCOPObject")); + DCOPObject *obj = static_cast<DCOPObject*>(doc->tqt_cast("DCOPObject")); if (!obj) return DCOPRef (); @@ -50,7 +50,7 @@ DCOPRef KateDocManagerDCOPIface::activeDocument () if (!doc) return DCOPRef (); - DCOPObject *obj = static_cast<DCOPObject*>(doc->qt_cast("DCOPObject")); + DCOPObject *obj = static_cast<DCOPObject*>(doc->tqt_cast("DCOPObject")); if (!obj) return DCOPRef (); @@ -75,7 +75,7 @@ DCOPRef KateDocManagerDCOPIface::documentWithID (uint id) if (!doc) return DCOPRef (); - DCOPObject *obj = static_cast<DCOPObject*>(doc->qt_cast("DCOPObject")); + DCOPObject *obj = static_cast<DCOPObject*>(doc->tqt_cast("DCOPObject")); if (!obj) return DCOPRef (); @@ -90,7 +90,7 @@ DCOPRef KateDocManagerDCOPIface::openURL (KURL url, TQString encoding) if (!doc) return DCOPRef (); - DCOPObject *obj = static_cast<DCOPObject*>(doc->qt_cast("DCOPObject")); + DCOPObject *obj = static_cast<DCOPObject*>(doc->tqt_cast("DCOPObject")); if (!obj) return DCOPRef (); diff --git a/kate/app/katemdi.cpp b/kate/app/katemdi.cpp index 1991816af..948dc089e 100644 --- a/kate/app/katemdi.cpp +++ b/kate/app/katemdi.cpp @@ -256,7 +256,7 @@ bool ToolView::visible () const void ToolView::childEvent ( TQChildEvent *ev ) { // set the widget to be focus proxy if possible - if (ev->inserted() && ev->child() && TQT_TQOBJECT(ev->child())->qt_cast(TQWIDGET_OBJECT_NAME_STRING)) { + if (ev->inserted() && ev->child() && TQT_TQOBJECT(ev->child())->tqt_cast(TQWIDGET_OBJECT_NAME_STRING)) { setFocusProxy (::tqqt_cast<QWidget*>(TQT_TQOBJECT(ev->child()))); } diff --git a/kate/app/kateviewmanager.cpp b/kate/app/kateviewmanager.cpp index 75cc4b15c..d77ad0c3e 100644 --- a/kate/app/kateviewmanager.cpp +++ b/kate/app/kateviewmanager.cpp @@ -168,7 +168,7 @@ void KateViewManager::updateViewSpaceActions () } void KateViewManager::tabChanged(TQWidget* widget) { - KateViewSpaceContainer *container=static_cast<KateViewSpaceContainer*>(widget->qt_cast("KateViewSpaceContainer")); + KateViewSpaceContainer *container=static_cast<KateViewSpaceContainer*>(widget->tqt_cast("KateViewSpaceContainer")); Q_ASSERT(container); m_currentContainer=container; diff --git a/kate/app/kateviewspacecontainer.cpp b/kate/app/kateviewspacecontainer.cpp index 76db12a07..a7a063244 100644 --- a/kate/app/kateviewspacecontainer.cpp +++ b/kate/app/kateviewspacecontainer.cpp @@ -450,7 +450,7 @@ void KateViewSpaceContainer::splitViewSpace( KateViewSpace* vs, TQValueList<int> psizes; if ( ! isFirstTime ) - if ( TQSplitter *ps = static_cast<TQSplitter*>(vs->parentWidget()->qt_cast(TQSPLITTER_OBJECT_NAME_STRING)) ) + if ( TQSplitter *ps = static_cast<TQSplitter*>(vs->parentWidget()->tqt_cast(TQSPLITTER_OBJECT_NAME_STRING)) ) psizes = ps->sizes(); Qt::Orientation o = isHoriz ? Qt::Vertical : Qt::Horizontal; @@ -471,7 +471,7 @@ void KateViewSpaceContainer::splitViewSpace( KateViewSpace* vs, s->moveToFirst( vsNew ); if (!isFirstTime) - if (TQSplitter *ps = static_cast<TQSplitter*>(s->parentWidget()->qt_cast(TQSPLITTER_OBJECT_NAME_STRING)) ) + if (TQSplitter *ps = static_cast<TQSplitter*>(s->parentWidget()->tqt_cast(TQSPLITTER_OBJECT_NAME_STRING)) ) ps->setSizes( psizes ); s->show(); diff --git a/kate/app/kwritemain.cpp b/kate/app/kwritemain.cpp index 2b37d7faa..b956b4bcc 100644 --- a/kate/app/kwritemain.cpp +++ b/kate/app/kwritemain.cpp @@ -107,8 +107,8 @@ KWrite::KWrite (KTextEditor::Document *doc) guiFactory()->addClient( m_view ); // install a working kate part popup dialog thingy - if (static_cast<Kate::View*>(m_view->qt_cast("Kate::View"))) - static_cast<Kate::View*>(m_view->qt_cast("Kate::View"))->installPopup ((TQPopupMenu*)(factory()->container("ktexteditor_popup", this)) ); + if (static_cast<Kate::View*>(m_view->tqt_cast("Kate::View"))) + static_cast<Kate::View*>(m_view->tqt_cast("Kate::View"))->installPopup ((TQPopupMenu*)(factory()->container("ktexteditor_popup", this)) ); // init with more usefull size, stolen from konq :) if (!initialGeometrySet()) diff --git a/kate/interfaces/plugin.cpp b/kate/interfaces/plugin.cpp index 849b12a1e..b57d4bac0 100644 --- a/kate/interfaces/plugin.cpp +++ b/kate/interfaces/plugin.cpp @@ -99,7 +99,7 @@ PluginViewInterface *pluginViewInterface (Plugin *plugin) if (!plugin) return 0; - return static_cast<PluginViewInterface*>(plugin->qt_cast("Kate::PluginViewInterface")); + return static_cast<PluginViewInterface*>(plugin->tqt_cast("Kate::PluginViewInterface")); } } diff --git a/kate/interfaces/pluginconfiginterface.cpp b/kate/interfaces/pluginconfiginterface.cpp index 594b73e5d..ab6c7d736 100644 --- a/kate/interfaces/pluginconfiginterface.cpp +++ b/kate/interfaces/pluginconfiginterface.cpp @@ -59,5 +59,5 @@ PluginConfigInterface *Kate::pluginConfigInterface (Plugin *plugin) if (!plugin) return 0; - return static_cast<PluginConfigInterface*>(plugin->qt_cast("Kate::PluginConfigInterface")); + return static_cast<PluginConfigInterface*>(plugin->tqt_cast("Kate::PluginConfigInterface")); } diff --git a/kate/interfaces/pluginconfiginterfaceextension.cpp b/kate/interfaces/pluginconfiginterfaceextension.cpp index 53c22122b..68b7b8ec1 100644 --- a/kate/interfaces/pluginconfiginterfaceextension.cpp +++ b/kate/interfaces/pluginconfiginterfaceextension.cpp @@ -64,5 +64,5 @@ PluginConfigInterfaceExtension *Kate::pluginConfigInterfaceExtension (Plugin *pl if (!plugin) return 0; - return static_cast<PluginConfigInterfaceExtension*>(plugin->qt_cast("Kate::PluginConfigInterfaceExtension")); + return static_cast<PluginConfigInterfaceExtension*>(plugin->tqt_cast("Kate::PluginConfigInterfaceExtension")); } diff --git a/kate/interfaces/toolviewmanager.cpp b/kate/interfaces/toolviewmanager.cpp index 848ec5fa2..1447cde84 100644 --- a/kate/interfaces/toolviewmanager.cpp +++ b/kate/interfaces/toolviewmanager.cpp @@ -60,7 +60,7 @@ TQWidget *ToolViewManager::createToolView (const TQString &identifier, ToolViewM bool ToolViewManager::moveToolView (TQWidget *widget, ToolViewManager::Position pos) { - if (!widget || !widget->qt_cast("KateMDI::ToolView")) + if (!widget || !widget->tqt_cast("KateMDI::ToolView")) return false; return d->toolViewMan->moveToolView (static_cast<KateMDI::ToolView*>(widget), (KMultiTabBar::KMultiTabBarPosition)pos); @@ -68,7 +68,7 @@ bool ToolViewManager::moveToolView (TQWidget *widget, ToolViewManager::Position bool ToolViewManager::showToolView(TQWidget *widget) { - if (!widget || !widget->qt_cast("KateMDI::ToolView")) + if (!widget || !widget->tqt_cast("KateMDI::ToolView")) return false; return d->toolViewMan->showToolView (static_cast<KateMDI::ToolView*>(widget)); @@ -76,7 +76,7 @@ bool ToolViewManager::showToolView(TQWidget *widget) bool ToolViewManager::hideToolView(TQWidget *widget) { - if (!widget || !widget->qt_cast("KateMDI::ToolView")) + if (!widget || !widget->tqt_cast("KateMDI::ToolView")) return false; return d->toolViewMan->hideToolView (static_cast<KateMDI::ToolView*>(widget)); |