summaryrefslogtreecommitdiffstats
path: root/kate/app/kateconsole.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/app/kateconsole.cpp')
-rw-r--r--kate/app/kateconsole.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/app/kateconsole.cpp b/kate/app/kateconsole.cpp
index b599ab202..a160162db 100644
--- a/kate/app/kateconsole.cpp
+++ b/kate/app/kateconsole.cpp
@@ -57,8 +57,8 @@ void KateConsole::loadConsoleIfNeeded()
{
if (m_part) return;
- if (!tqtopLevelWidget() || !tqparentWidget()) return;
- if (!tqtopLevelWidget() || !isVisibleTo(tqtopLevelWidget())) return;
+ if (!topLevelWidget() || !parentWidget()) return;
+ if (!topLevelWidget() || !isVisibleTo(topLevelWidget())) return;
KLibFactory *factory = KLibLoader::self()->factory("libkonsolepart");
@@ -86,7 +86,7 @@ void KateConsole::slotDestroyed ()
m_part = 0;
// hide the dockwidget
- if (tqparentWidget())
+ if (parentWidget())
{
m_mw->hideToolView (m_toolView);
m_mw->centralWidget()->setFocus ();