diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-10-29 18:21:41 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-10-29 18:21:41 +0100 |
commit | 7cc4356bc2eceb5a66c2263bff44aa472d2ca290 (patch) | |
tree | 08047b60c477dc7026c7623e25770825b5ce7e5c /src/modules/term | |
parent | 3b217bbf505473102331a7e2ed274fe63a4c3457 (diff) | |
download | kvirc-7cc4356bc2eceb5a66c2263bff44aa472d2ca290.tar.gz kvirc-7cc4356bc2eceb5a66c2263bff44aa472d2ca290.zip |
Fix build with a clean TQt namespace.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/modules/term')
-rw-r--r-- | src/modules/term/libkviterm.cpp | 4 | ||||
-rw-r--r-- | src/modules/term/termwidget.cpp | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/term/libkviterm.cpp b/src/modules/term/libkviterm.cpp index a79dcc22..33bd710c 100644 --- a/src/modules/term/libkviterm.cpp +++ b/src/modules/term/libkviterm.cpp @@ -119,7 +119,7 @@ static bool term_module_init(KviModule * m) // KviStr tmp = (*it)->name(); // KviStr tmp2 = (*it)->type(); // KviStr tmp3 = (*it)->library(); -// debug("Got Service name:%s type:%s library:%s",tmp.ptr(),tmp2.ptr(),tmp3.ptr()); +// tqDebug("Got Service name:%s type:%s library:%s",tmp.ptr(),tmp2.ptr(),tmp3.ptr()); // ++it; // } // } @@ -130,7 +130,7 @@ static bool term_module_init(KviModule * m) if(pKonsoleService) { g_szKonsoleLibraryName = pKonsoleService->library(); -// debug("KONSOLE LIB %s",g_szKonsoleLibraryName.ptr()); +// tqDebug("KONSOLE LIB %s",g_szKonsoleLibraryName.ptr()); } // delete pKonsoleService; #endif 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) |