diff options
author | Slávek Banko <[email protected]> | 2018-10-29 18:21:41 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-10-29 18:21:41 +0100 |
commit | 7cc4356bc2eceb5a66c2263bff44aa472d2ca290 (patch) | |
tree | 08047b60c477dc7026c7623e25770825b5ce7e5c /src/modules/term/termwidget.cpp | |
parent | 3b217bbf505473102331a7e2ed274fe63a4c3457 (diff) | |
download | kvirc-7cc4356bc2eceb5a66c2263bff44aa472d2ca290.tar.gz kvirc-7cc4356bc2eceb5a66c2263bff44aa472d2ca290.zip |
Fix build with a clean TQt namespace.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/modules/term/termwidget.cpp')
-rw-r--r-- | src/modules/term/termwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/term/termwidget.cpp b/src/modules/term/termwidget.cpp index b5e0eb14..67879833 100644 --- a/src/modules/term/termwidget.cpp +++ b/src/modules/term/termwidget.cpp @@ -76,16 +76,16 @@ KviTermWidget::KviTermWidget(TQWidget * par,KviFrame * lpFrm,bool bIsStandalone) if(pKonsoleFactory) { -// debug("FACTORY %d",pKonsoleFactory); +// tqDebug("FACTORY %d",pKonsoleFactory); m_pKonsolePart = static_cast<KParts::Part *>(pKonsoleFactory->createPart( this,"terminal emulator",this,"the konsole part")); if(m_pKonsolePart) { -// debug("PART %d",m_pKonsolePart); +// tqDebug("PART %d",m_pKonsolePart); m_pKonsoleWidget = m_pKonsolePart->widget(); connect(m_pKonsoleWidget,TQT_SIGNAL(destroyed()),this,TQT_SLOT(konsoleDestroyed())); -// debug("Widget %d",m_pKonsoleWidget); +// tqDebug("Widget %d",m_pKonsoleWidget); } else { m_pKonsoleWidget = new TQLabel(this, __tr2qs("Can't create the terminal emulation part")); @@ -105,11 +105,11 @@ KviTermWidget::~KviTermWidget() if(m_bIsStandalone)g_pTermWidgetList->removeRef(this); if(g_pTermWindowList->isEmpty() && g_pTermWidgetList->isEmpty())g_pTermModule->unlock(); -// debug("DELETING KONSOLE WIDGET"); +// tqDebug("DELETING KONSOLE WIDGET"); // if(m_pKonsoleWidget)delete m_pKonsoleWidget; <--// TQt will delete it -// debug("DELETING KONSOLE PART"); +// tqDebug("DELETING KONSOLE PART"); // if(m_pKonsolePart)delete m_pKonsolePart; <--// the part will delete self when the widget will die -// debug("KONSOLE PART DELETED"); +// tqDebug("KONSOLE PART DELETED"); } void KviTermWidget::resizeEvent(TQResizeEvent *e) |