summaryrefslogtreecommitdiffstats
path: root/ktalkd
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 17:34:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-18 09:59:16 +0900
commit40393e30bb743346b6b40bf130da35419c12ebdc (patch)
tree9330d82486c7b3125b8275914565b324f9af523e /ktalkd
parent05594058244ba6a1866d5758ae412fb5afd6d727 (diff)
downloadtdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz
tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'ktalkd')
-rw-r--r--ktalkd/kcmktalkd/answmachpage.cpp20
-rw-r--r--ktalkd/kcmktalkd/forwmachpage.cpp8
-rw-r--r--ktalkd/kcmktalkd/main.cpp6
-rw-r--r--ktalkd/kcmktalkd/soundpage.cpp8
-rw-r--r--ktalkd/ktalkd/machines/forwmach.cpp2
5 files changed, 22 insertions, 22 deletions
diff --git a/ktalkd/kcmktalkd/answmachpage.cpp b/ktalkd/kcmktalkd/answmachpage.cpp
index 103c152c..5f7372db 100644
--- a/ktalkd/kcmktalkd/answmachpage.cpp
+++ b/ktalkd/kcmktalkd/answmachpage.cpp
@@ -92,18 +92,18 @@ KAnswmachPageConfig::KAnswmachPageConfig( TQWidget *parent, const char* name,
load();
- connect(answmach_cb, TQT_SIGNAL(clicked()), this, TQT_SLOT(answmachOnOff()));
+ connect(answmach_cb, TQ_SIGNAL(clicked()), this, TQ_SLOT(answmachOnOff()));
// Emit changed(true) when anything changes
- connect(answmach_cb, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotChanged()));
- connect(mail_edit, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(slotChanged()));
- connect(subj_edit, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(slotChanged()));
- connect(head_edit, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(slotChanged()));
- connect(emptymail_cb, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotChanged()));
- connect(msg_ml, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotChanged()));
+ connect(answmach_cb, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotChanged()));
+ connect(mail_edit, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(slotChanged()));
+ connect(subj_edit, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(slotChanged()));
+ connect(head_edit, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(slotChanged()));
+ connect(emptymail_cb, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotChanged()));
+ connect(msg_ml, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotChanged()));
}
diff --git a/ktalkd/kcmktalkd/forwmachpage.cpp b/ktalkd/kcmktalkd/forwmachpage.cpp
index ea323ad6..20f09d4f 100644
--- a/ktalkd/kcmktalkd/forwmachpage.cpp
+++ b/ktalkd/kcmktalkd/forwmachpage.cpp
@@ -75,12 +75,12 @@ See Help for further explanation.\n\
load();
- connect(forwmach_cb, TQT_SIGNAL(clicked()), this, TQT_SLOT(forwmachOnOff()));
+ connect(forwmach_cb, TQ_SIGNAL(clicked()), this, TQ_SLOT(forwmachOnOff()));
// emit changed(true) on changes
- connect(forwmach_cb, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotChanged()));
- connect(address_edit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotChanged()));
- connect(method_combo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotChanged()));
+ connect(forwmach_cb, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotChanged()));
+ connect(address_edit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotChanged()));
+ connect(method_combo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotChanged()));
}
KForwmachPageConfig::~KForwmachPageConfig( ) {
diff --git a/ktalkd/kcmktalkd/main.cpp b/ktalkd/kcmktalkd/main.cpp
index 29c4cbf2..6ebe0aac 100644
--- a/ktalkd/kcmktalkd/main.cpp
+++ b/ktalkd/kcmktalkd/main.cpp
@@ -50,9 +50,9 @@ KTalkdConfigModule::KTalkdConfigModule(TQWidget *parent, const char *name)
tab->addTab(answmachpage, i18n("Ans&wering Machine"));
tab->addTab(forwmachpage, i18n("forward call", "&Forward"));
- connect(soundpage, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool)));
- connect(answmachpage, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool)));
- connect(forwmachpage, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool)));
+ connect(soundpage, TQ_SIGNAL(changed(bool)), this, TQ_SIGNAL(changed(bool)));
+ connect(answmachpage, TQ_SIGNAL(changed(bool)), this, TQ_SIGNAL(changed(bool)));
+ connect(forwmachpage, TQ_SIGNAL(changed(bool)), this, TQ_SIGNAL(changed(bool)));
}
KTalkdConfigModule::~KTalkdConfigModule() {
diff --git a/ktalkd/kcmktalkd/soundpage.cpp b/ktalkd/kcmktalkd/soundpage.cpp
index e3cac09b..1c2e7a08 100644
--- a/ktalkd/kcmktalkd/soundpage.cpp
+++ b/ktalkd/kcmktalkd/soundpage.cpp
@@ -117,12 +117,12 @@ KSoundPageConfig::KSoundPageConfig( TQWidget *parent, const char* name,
load();
- connect(sound_cb, TQT_SIGNAL(clicked()), this, TQT_SLOT(soundOnOff()));
- connect(btn_test, TQT_SIGNAL(clicked()), this, TQT_SLOT(playCurrentSound()));
+ connect(sound_cb, TQ_SIGNAL(clicked()), this, TQ_SLOT(soundOnOff()));
+ connect(btn_test, TQ_SIGNAL(clicked()), this, TQ_SLOT(playCurrentSound()));
// emit changed(true) on changes
- connect(extprg_edit->lineEdit(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotChanged()));
- connect(client_edit->lineEdit(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotChanged()));
+ connect(extprg_edit->lineEdit(), TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotChanged()));
+ connect(client_edit->lineEdit(), TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotChanged()));
}
KSoundPageConfig::~KSoundPageConfig( ) {
diff --git a/ktalkd/ktalkd/machines/forwmach.cpp b/ktalkd/ktalkd/machines/forwmach.cpp
index 5bb5cd0d..8f838440 100644
--- a/ktalkd/ktalkd/machines/forwmach.cpp
+++ b/ktalkd/ktalkd/machines/forwmach.cpp
@@ -428,7 +428,7 @@ char * ForwMachine::forwMachFindMatch(TABLE_ENTRY * table, NEW_CTL_MSG * mp)
void sig_handler(int signum)
{
- ktalk_debug("TQT_SIGNAL received : %d",signum);
+ ktalk_debug("TQ_SIGNAL received : %d",signum);
ForwMachine * fwm = ForwMachine::getForwMachine();
fwm->processDelete();
}