summaryrefslogtreecommitdiffstats
path: root/libtdegames/kchatbase.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 12:28:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-19 10:10:52 +0900
commit6374e2e62eef25945347ce2c9ae9f88e61765d11 (patch)
tree707d84dbca20d20dee68626dda0d35568d7dcb34 /libtdegames/kchatbase.cpp
parentc26a225408c4759743b754453b07d0dca97aa749 (diff)
downloadtdegames-6374e2e6.tar.gz
tdegames-6374e2e6.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610)
Diffstat (limited to 'libtdegames/kchatbase.cpp')
-rw-r--r--libtdegames/kchatbase.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libtdegames/kchatbase.cpp b/libtdegames/kchatbase.cpp
index 091d7cfa..4ebd425b 100644
--- a/libtdegames/kchatbase.cpp
+++ b/libtdegames/kchatbase.cpp
@@ -206,8 +206,8 @@ void KChatBase::init(bool noComboBox)
TQVBoxLayout* l = new TQVBoxLayout(this);
d->mBox = new TQListBox(this);
- connect(d->mBox, TQT_SIGNAL(rightButtonClicked(TQListBoxItem*, const TQPoint&)),
- this, TQT_SIGNAL(rightButtonClicked(TQListBoxItem*, const TQPoint&)));
+ connect(d->mBox, TQ_SIGNAL(rightButtonClicked(TQListBoxItem*, const TQPoint&)),
+ this, TQ_SIGNAL(rightButtonClicked(TQListBoxItem*, const TQPoint&)));
l->addWidget(d->mBox);
d->mBox->setVScrollBarMode(TQScrollView::AlwaysOn);
d->mBox->setHScrollBarMode(TQScrollView::AlwaysOff);
@@ -223,7 +223,7 @@ void KChatBase::init(bool noComboBox)
d->mEdit->setTrapReturnKey(true);
d->mEdit->completionObject(); // add the completion object
d->mEdit->setCompletionMode(TDEGlobalSettings::CompletionNone);
- connect(d->mEdit, TQT_SIGNAL(returnPressed(const TQString&)), this, TQT_SLOT(slotReturnPressed(const TQString&)));
+ connect(d->mEdit, TQ_SIGNAL(returnPressed(const TQString&)), this, TQ_SLOT(slotReturnPressed(const TQString&)));
h->addWidget(d->mEdit);
if (!noComboBox) {
@@ -399,7 +399,7 @@ void KChatBase::slotReturnPressed(const TQString& text)
return;
}
d->mEdit->completionObject()->addItem(text);
-// connect(d->mEdit, TQT_SIGNAL(returnPressed(const TQString&)), comp, TQT_SLOT(addItem(const TQString&)));
+// connect(d->mEdit, TQ_SIGNAL(returnPressed(const TQString&)), comp, TQ_SLOT(addItem(const TQString&)));
d->mEdit->clear();
returnPressed(text);
}