From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kate/interfaces/toolviewmanager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kate/interfaces/toolviewmanager.cpp') diff --git a/kate/interfaces/toolviewmanager.cpp b/kate/interfaces/toolviewmanager.cpp index 9f96a476d..848ec5fa2 100644 --- a/kate/interfaces/toolviewmanager.cpp +++ b/kate/interfaces/toolviewmanager.cpp @@ -42,7 +42,7 @@ class PrivateToolViewManager KateMainWindow *toolViewMan; }; -ToolViewManager::ToolViewManager (void *toolViewManager) : QObject ((KateMainWindow*) toolViewManager) +ToolViewManager::ToolViewManager (void *toolViewManager) : TQObject ((KateMainWindow*) toolViewManager) { d = new PrivateToolViewManager (); d->toolViewMan = (KateMainWindow*) toolViewManager; @@ -53,12 +53,12 @@ ToolViewManager::~ToolViewManager () delete d; } -QWidget *ToolViewManager::createToolView (const QString &identifier, ToolViewManager::Position pos, const QPixmap &icon, const QString &text) +TQWidget *ToolViewManager::createToolView (const TQString &identifier, ToolViewManager::Position pos, const TQPixmap &icon, const TQString &text) { return d->toolViewMan->createToolView (identifier, (KMultiTabBar::KMultiTabBarPosition)pos, icon, text); } -bool ToolViewManager::moveToolView (QWidget *widget, ToolViewManager::Position pos) +bool ToolViewManager::moveToolView (TQWidget *widget, ToolViewManager::Position pos) { if (!widget || !widget->qt_cast("KateMDI::ToolView")) return false; @@ -66,7 +66,7 @@ bool ToolViewManager::moveToolView (QWidget *widget, ToolViewManager::Position return d->toolViewMan->moveToolView (static_cast(widget), (KMultiTabBar::KMultiTabBarPosition)pos); } -bool ToolViewManager::showToolView(QWidget *widget) +bool ToolViewManager::showToolView(TQWidget *widget) { if (!widget || !widget->qt_cast("KateMDI::ToolView")) return false; @@ -74,7 +74,7 @@ bool ToolViewManager::showToolView(QWidget *widget) return d->toolViewMan->showToolView (static_cast(widget)); } -bool ToolViewManager::hideToolView(QWidget *widget) +bool ToolViewManager::hideToolView(TQWidget *widget) { if (!widget || !widget->qt_cast("KateMDI::ToolView")) return false; -- cgit v1.2.1