summaryrefslogtreecommitdiffstats
path: root/kate/interfaces
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:15:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:15:16 +0000
commitcc0ad49c75d6cf6b4e63eb8c6012afe55c1589f9 (patch)
tree2a29ccab4d3cea34b87bfcbc38e64a8e25d25bb0 /kate/interfaces
parent107dd1f98367d07df7cbe2042786511e44706d3a (diff)
downloadtdebase-cc0ad49c75d6cf6b4e63eb8c6012afe55c1589f9.tar.gz
tdebase-cc0ad49c75d6cf6b4e63eb8c6012afe55c1589f9.zip
Allow kdebase to (mostly) function correctly with TQt for Qt4
Fix kicker tackbar handling under Classic mode (thanks to Ilya Chernykh for the patch) Fix a newly invalidated section of code under GCC 4.5.2 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47723#c6) git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1220927 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/interfaces')
-rw-r--r--kate/interfaces/plugin.cpp2
-rw-r--r--kate/interfaces/pluginconfiginterface.cpp2
-rw-r--r--kate/interfaces/pluginconfiginterfaceextension.cpp2
-rw-r--r--kate/interfaces/toolviewmanager.cpp6
4 files changed, 6 insertions, 6 deletions
diff --git a/kate/interfaces/plugin.cpp b/kate/interfaces/plugin.cpp
index 45c0b8f35..849b12a1e 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->tqqt_cast("Kate::PluginViewInterface"));
+ return static_cast<PluginViewInterface*>(plugin->qt_cast("Kate::PluginViewInterface"));
}
}
diff --git a/kate/interfaces/pluginconfiginterface.cpp b/kate/interfaces/pluginconfiginterface.cpp
index 66afe4d7c..594b73e5d 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->tqqt_cast("Kate::PluginConfigInterface"));
+ return static_cast<PluginConfigInterface*>(plugin->qt_cast("Kate::PluginConfigInterface"));
}
diff --git a/kate/interfaces/pluginconfiginterfaceextension.cpp b/kate/interfaces/pluginconfiginterfaceextension.cpp
index d09996b8e..53c22122b 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->tqqt_cast("Kate::PluginConfigInterfaceExtension"));
+ return static_cast<PluginConfigInterfaceExtension*>(plugin->qt_cast("Kate::PluginConfigInterfaceExtension"));
}
diff --git a/kate/interfaces/toolviewmanager.cpp b/kate/interfaces/toolviewmanager.cpp
index 3d8b0a9db..848ec5fa2 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->tqqt_cast("KateMDI::ToolView"))
+ if (!widget || !widget->qt_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->tqqt_cast("KateMDI::ToolView"))
+ if (!widget || !widget->qt_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->tqqt_cast("KateMDI::ToolView"))
+ if (!widget || !widget->qt_cast("KateMDI::ToolView"))
return false;
return d->toolViewMan->hideToolView (static_cast<KateMDI::ToolView*>(widget));