summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/kcmlisa/kcmlisa.cpp
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 /lanbrowsing/kcmlisa/kcmlisa.cpp
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 'lanbrowsing/kcmlisa/kcmlisa.cpp')
-rw-r--r--lanbrowsing/kcmlisa/kcmlisa.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/lanbrowsing/kcmlisa/kcmlisa.cpp b/lanbrowsing/kcmlisa/kcmlisa.cpp
index ee1bf4c7..f449bf48 100644
--- a/lanbrowsing/kcmlisa/kcmlisa.cpp
+++ b/lanbrowsing/kcmlisa/kcmlisa.cpp
@@ -117,7 +117,7 @@ LisaSettings::LisaSettings(const TQString& config, TQWidget *parent)
m_advancedSettingsButton=new TQPushButton(i18n("Ad&vanced Settings..."),hbox);
m_lisaAdvancedDlg=new KDialogBase(0,0,true,i18n("Advanced Settings for LISa"),KDialogBase::Close, KDialogBase::Close);
- connect(m_advancedSettingsButton,TQT_SIGNAL(clicked()),m_lisaAdvancedDlg,TQT_SLOT(show()));
+ connect(m_advancedSettingsButton,TQ_SIGNAL(clicked()),m_lisaAdvancedDlg,TQ_SLOT(show()));
TQVBox *vbox=m_lisaAdvancedDlg->makeVBoxMainWidget();
@@ -159,29 +159,29 @@ LisaSettings::LisaSettings(const TQString& config, TQWidget *parent)
dummy=new TQWidget(advGrid);
dummy->setMinimumHeight(10);
- connect(m_secondScan,TQT_SIGNAL(toggled(bool)),m_secondWait,TQT_SLOT(setEnabled(bool)));
- connect(m_sendPings,TQT_SIGNAL(toggled(bool)),m_pingAddresses,TQT_SLOT(setEnabled(bool)));
-
- connect(m_pingAddresses,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SIGNAL(changed()));
- connect(m_allowedAddresses,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SIGNAL(changed()));
- connect(m_broadcastNetwork,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SIGNAL(changed()));
-
- connect(m_pingAddresses,TQT_SIGNAL(returnPressed()),this,TQT_SIGNAL(changed()));
- connect(m_allowedAddresses,TQT_SIGNAL(returnPressed()),this,TQT_SIGNAL(changed()));
- connect(m_broadcastNetwork,TQT_SIGNAL(returnPressed()),this,TQT_SIGNAL(changed()));
-
- connect(m_sendPings,TQT_SIGNAL(toggled(bool)),this,TQT_SIGNAL(changed()));
- connect(m_firstWait,TQT_SIGNAL(valueChanged(int)),this,TQT_SIGNAL(changed()));
- connect(m_secondWait,TQT_SIGNAL(valueChanged(int)),this,TQT_SIGNAL(changed()));
- connect(m_maxPingsAtOnce,TQT_SIGNAL(valueChanged(int)),this,TQT_SIGNAL(changed()));
- connect(m_secondScan,TQT_SIGNAL(toggled(bool)),this,TQT_SIGNAL(changed()));
- connect(m_deliverUnnamedHosts,TQT_SIGNAL(toggled(bool)),this,TQT_SIGNAL(changed()));
- connect(m_updatePeriod,TQT_SIGNAL(valueChanged(int)),this,TQT_SIGNAL(changed()));
- connect(m_pingNames,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));
- connect(m_useNmblookup,TQT_SIGNAL(toggled(bool)),this,TQT_SIGNAL(changed()));
- connect(m_autoSetup,TQT_SIGNAL(clicked()),this,TQT_SLOT(autoSetup()));
- connect(m_suggestSettings,TQT_SIGNAL(clicked()),this,TQT_SLOT(suggestSettings()));
- connect(this, TQT_SIGNAL(changed()), TQT_SLOT(slotChanged()));
+ connect(m_secondScan,TQ_SIGNAL(toggled(bool)),m_secondWait,TQ_SLOT(setEnabled(bool)));
+ connect(m_sendPings,TQ_SIGNAL(toggled(bool)),m_pingAddresses,TQ_SLOT(setEnabled(bool)));
+
+ connect(m_pingAddresses,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SIGNAL(changed()));
+ connect(m_allowedAddresses,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SIGNAL(changed()));
+ connect(m_broadcastNetwork,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SIGNAL(changed()));
+
+ connect(m_pingAddresses,TQ_SIGNAL(returnPressed()),this,TQ_SIGNAL(changed()));
+ connect(m_allowedAddresses,TQ_SIGNAL(returnPressed()),this,TQ_SIGNAL(changed()));
+ connect(m_broadcastNetwork,TQ_SIGNAL(returnPressed()),this,TQ_SIGNAL(changed()));
+
+ connect(m_sendPings,TQ_SIGNAL(toggled(bool)),this,TQ_SIGNAL(changed()));
+ connect(m_firstWait,TQ_SIGNAL(valueChanged(int)),this,TQ_SIGNAL(changed()));
+ connect(m_secondWait,TQ_SIGNAL(valueChanged(int)),this,TQ_SIGNAL(changed()));
+ connect(m_maxPingsAtOnce,TQ_SIGNAL(valueChanged(int)),this,TQ_SIGNAL(changed()));
+ connect(m_secondScan,TQ_SIGNAL(toggled(bool)),this,TQ_SIGNAL(changed()));
+ connect(m_deliverUnnamedHosts,TQ_SIGNAL(toggled(bool)),this,TQ_SIGNAL(changed()));
+ connect(m_updatePeriod,TQ_SIGNAL(valueChanged(int)),this,TQ_SIGNAL(changed()));
+ connect(m_pingNames,TQ_SIGNAL(changed()),this,TQ_SIGNAL(changed()));
+ connect(m_useNmblookup,TQ_SIGNAL(toggled(bool)),this,TQ_SIGNAL(changed()));
+ connect(m_autoSetup,TQ_SIGNAL(clicked()),this,TQ_SLOT(autoSetup()));
+ connect(m_suggestSettings,TQ_SIGNAL(clicked()),this,TQ_SLOT(suggestSettings()));
+ connect(this, TQ_SIGNAL(changed()), TQ_SLOT(slotChanged()));
}
void LisaSettings::load()
@@ -290,7 +290,7 @@ void LisaSettings::save()
tmp.close();
TQString suCommand=TQString("cp '%1' '%2'; chmod 644 '%3'; rm -f '%4'").arg(m_tmpFilename).arg(m_configFilename).arg(m_configFilename).arg(m_tmpFilename);
TDEProcess *proc = new TDEProcess();
- connect(proc, TQT_SIGNAL(processExited(TDEProcess *)), this, TQT_SLOT(saveDone(TDEProcess *)));
+ connect(proc, TQ_SIGNAL(processExited(TDEProcess *)), this, TQ_SLOT(saveDone(TDEProcess *)));
*proc<<"tdesu"<<"-c"<<suCommand;
TDEApplication::setOverrideCursor(TQt::waitCursor);
setEnabled(false);