diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:34:53 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-18 09:59:16 +0900 |
| commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
| tree | 9330d82486c7b3125b8275914565b324f9af523e /kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp | |
| parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
| download | tdenetwork-40393e30.tar.gz tdenetwork-40393e30.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 'kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp')
| -rw-r--r-- | kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp b/kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp index 2902b350..ca4462e8 100644 --- a/kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp +++ b/kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp @@ -46,13 +46,13 @@ SMPPPDCSPrefs::SMPPPDCSPrefs(TQWidget* parent, const char* name, WFlags fl) } // signals and slots connections - connect(useNetstat, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(disableSMPPPDSettings())); - connect(useSmpppd, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(enableSMPPPDSettings())); - connect(autoCSTest, TQT_SIGNAL(clicked()), this, TQT_SLOT(determineCSType())); + connect(useNetstat, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(disableSMPPPDSettings())); + connect(useSmpppd, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(enableSMPPPDSettings())); + connect(autoCSTest, TQ_SIGNAL(clicked()), this, TQ_SLOT(determineCSType())); if(m_plugin) { - connect((TQObject *)SMPPPDLocation->server, TQT_SIGNAL(textChanged(const TQString&)), - m_plugin, TQT_SLOT(smpppdServerChanged(const TQString&))); + connect((TQObject *)SMPPPDLocation->server, TQ_SIGNAL(textChanged(const TQString&)), + m_plugin, TQ_SLOT(smpppdServerChanged(const TQString&))); } // if netstat is NOT available, disable the option and set to SMPPPD @@ -80,11 +80,11 @@ void SMPPPDCSPrefs::determineCSType() { SMPPPDSearcher searcher; m_curSearcher = &searcher; - connect(&searcher, TQT_SIGNAL(smpppdFound(const TQString&)), this, TQT_SLOT(smpppdFound(const TQString&))); - connect(&searcher, TQT_SIGNAL(smpppdNotFound()), this, TQT_SLOT(smpppdNotFound())); - connect(&searcher, TQT_SIGNAL(scanStarted(uint)), this, TQT_SLOT(scanStarted(uint))); - connect(&searcher, TQT_SIGNAL(scanProgress(uint)), this, TQT_SLOT(scanProgress(uint))); - connect(&searcher, TQT_SIGNAL(scanFinished()), this, TQT_SLOT(scanFinished())); + connect(&searcher, TQ_SIGNAL(smpppdFound(const TQString&)), this, TQ_SLOT(smpppdFound(const TQString&))); + connect(&searcher, TQ_SIGNAL(smpppdNotFound()), this, TQ_SLOT(smpppdNotFound())); + connect(&searcher, TQ_SIGNAL(scanStarted(uint)), this, TQ_SLOT(scanStarted(uint))); + connect(&searcher, TQ_SIGNAL(scanProgress(uint)), this, TQ_SLOT(scanProgress(uint))); + connect(&searcher, TQ_SIGNAL(scanFinished()), this, TQ_SLOT(scanFinished())); searcher.searchNetwork(); m_curSearcher = NULL; @@ -100,7 +100,7 @@ void SMPPPDCSPrefs::scanStarted(uint total) { m_scanProgressDlg->setAllowCancel(TRUE); m_scanProgressDlg->setMinimumDuration(2000); - connect(m_scanProgressDlg, TQT_SIGNAL(cancelClicked()), this, TQT_SLOT(cancelScanning())); + connect(m_scanProgressDlg, TQ_SIGNAL(cancelClicked()), this, TQ_SLOT(cancelScanning())); } m_scanProgressDlg->progressBar()->setTotalSteps(total); m_scanProgressDlg->progressBar()->setProgress(0); |
