summaryrefslogtreecommitdiffstats
path: root/src/modules/term/termwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-28 21:15:50 +0900
committerMichele Calgaro <[email protected]>2024-01-01 18:03:34 +0900
commit209ac1e561619ff446be4b3411ed74e59fff168e (patch)
tree83b384cf0c4dfb918b3a4c39b4333f33e0f2f387 /src/modules/term/termwidget.cpp
parent44846083311d49d75e8376326d29f7f34e1dae52 (diff)
downloadkvirc-209ac1e561619ff446be4b3411ed74e59fff168e.tar.gz
kvirc-209ac1e561619ff446be4b3411ed74e59fff168e.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/modules/term/termwidget.cpp')
-rw-r--r--src/modules/term/termwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/term/termwidget.cpp b/src/modules/term/termwidget.cpp
index 67879833..e2eb8865 100644
--- a/src/modules/term/termwidget.cpp
+++ b/src/modules/term/termwidget.cpp
@@ -62,7 +62,7 @@ KviTermWidget::KviTermWidget(TQWidget * par,KviFrame * lpFrm,bool bIsStandalone)
m_pCloseButton->setPixmap(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CLOSE)));
TQToolTip::add(m_pCloseButton,__tr2qs("Close this window"));
m_pHBox->setStretchFactor(m_pTitleLabel,2);
- connect(m_pCloseButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(closeClicked()));
+ connect(m_pCloseButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(closeClicked()));
} else {
m_pHBox = 0;
m_pTitleLabel = 0;
@@ -84,7 +84,7 @@ KviTermWidget::KviTermWidget(TQWidget * par,KviFrame * lpFrm,bool bIsStandalone)
{
// tqDebug("PART %d",m_pKonsolePart);
m_pKonsoleWidget = m_pKonsolePart->widget();
- connect(m_pKonsoleWidget,TQT_SIGNAL(destroyed()),this,TQT_SLOT(konsoleDestroyed()));
+ connect(m_pKonsoleWidget,TQ_SIGNAL(destroyed()),this,TQ_SLOT(konsoleDestroyed()));
// tqDebug("Widget %d",m_pKonsoleWidget);
} else {
m_pKonsoleWidget = new TQLabel(this,
@@ -100,7 +100,7 @@ KviTermWidget::KviTermWidget(TQWidget * par,KviFrame * lpFrm,bool bIsStandalone)
KviTermWidget::~KviTermWidget()
{
if(m_pKonsoleWidget)
- disconnect(m_pKonsoleWidget,TQT_SIGNAL(destroyed()),this,TQT_SLOT(konsoleDestroyed()));
+ disconnect(m_pKonsoleWidget,TQ_SIGNAL(destroyed()),this,TQ_SLOT(konsoleDestroyed()));
if(m_bIsStandalone)g_pTermWidgetList->removeRef(this);
if(g_pTermWindowList->isEmpty() && g_pTermWidgetList->isEmpty())g_pTermModule->unlock();
@@ -135,7 +135,7 @@ void KviTermWidget::konsoleDestroyed()
m_pKonsoleWidget = 0;
m_pKonsolePart = 0;
hide();
- TQTimer::singleShot(0,this,TQT_SLOT(autoClose()));
+ TQTimer::singleShot(0,this,TQ_SLOT(autoClose()));
}
void KviTermWidget::autoClose()