diff options
author | Michele Calgaro <[email protected]> | 2024-01-12 10:51:50 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-16 10:04:33 +0900 |
commit | 1c65be77cd84b454f3fe69f211849a712ad99ed0 (patch) | |
tree | f9309bc873f0f7838ee21373c32d5fd388da79d9 /kcontrol/tdeio | |
parent | 55ba7bff2cd71ef2582b43c336afc55325b48a60 (diff) | |
download | tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.tar.gz tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
Diffstat (limited to 'kcontrol/tdeio')
-rw-r--r-- | kcontrol/tdeio/cache.cpp | 8 | ||||
-rw-r--r-- | kcontrol/tdeio/kcookiesmain.cpp | 4 | ||||
-rw-r--r-- | kcontrol/tdeio/kcookiesmanagement.cpp | 14 | ||||
-rw-r--r-- | kcontrol/tdeio/kcookiespolicies.cpp | 52 | ||||
-rw-r--r-- | kcontrol/tdeio/kenvvarproxydlg.cpp | 6 | ||||
-rw-r--r-- | kcontrol/tdeio/kmanualproxydlg.cpp | 20 | ||||
-rw-r--r-- | kcontrol/tdeio/kproxydlg.cpp | 38 | ||||
-rw-r--r-- | kcontrol/tdeio/main.cpp | 8 | ||||
-rw-r--r-- | kcontrol/tdeio/netpref.cpp | 20 | ||||
-rw-r--r-- | kcontrol/tdeio/policydlg.cpp | 4 | ||||
-rw-r--r-- | kcontrol/tdeio/smbrodlg.cpp | 10 | ||||
-rw-r--r-- | kcontrol/tdeio/socks.cpp | 28 | ||||
-rw-r--r-- | kcontrol/tdeio/uagentproviderdlg.cpp | 12 | ||||
-rw-r--r-- | kcontrol/tdeio/useragentdlg.cpp | 32 |
14 files changed, 128 insertions, 128 deletions
diff --git a/kcontrol/tdeio/cache.cpp b/kcontrol/tdeio/cache.cpp index 42c0fc28f..1f7a57a85 100644 --- a/kcontrol/tdeio/cache.cpp +++ b/kcontrol/tdeio/cache.cpp @@ -66,10 +66,10 @@ void KCacheConfigDialog::load() m_dlg->rbCacheIfPossible->setChecked( true ); // Config changed notifications... - connect ( m_dlg->cbUseCache, TQT_SIGNAL(toggled(bool)), TQT_SLOT(configChanged()) ); - connect ( m_dlg->bgCachePolicy, TQT_SIGNAL(clicked (int)), TQT_SLOT(configChanged()) ); - connect ( m_dlg->sbMaxCacheSize, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(configChanged()) ); - connect ( m_dlg->pbClearCache, TQT_SIGNAL(clicked()), TQT_SLOT(slotClearCache()) ); + connect ( m_dlg->cbUseCache, TQ_SIGNAL(toggled(bool)), TQ_SLOT(configChanged()) ); + connect ( m_dlg->bgCachePolicy, TQ_SIGNAL(clicked (int)), TQ_SLOT(configChanged()) ); + connect ( m_dlg->sbMaxCacheSize, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(configChanged()) ); + connect ( m_dlg->pbClearCache, TQ_SIGNAL(clicked()), TQ_SLOT(slotClearCache()) ); emit changed( false ); } diff --git a/kcontrol/tdeio/kcookiesmain.cpp b/kcontrol/tdeio/kcookiesmain.cpp index 9869c6c92..10ed75d26 100644 --- a/kcontrol/tdeio/kcookiesmain.cpp +++ b/kcontrol/tdeio/kcookiesmain.cpp @@ -46,7 +46,7 @@ KCookiesMain::KCookiesMain(TQWidget *parent) tab->addTab(policies, i18n("&Policy")); policiesTabNumber = currentTabNumber; currentTabNumber++; - connect(policies, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); + connect(policies, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); if( managerOK ) { @@ -54,7 +54,7 @@ KCookiesMain::KCookiesMain(TQWidget *parent) tab->addTab(management, i18n("&Management")); managementTabNumber = currentTabNumber; currentTabNumber++; - connect(management, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); + connect(management, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); } } diff --git a/kcontrol/tdeio/kcookiesmanagement.cpp b/kcontrol/tdeio/kcookiesmanagement.cpp index 1a9314d91..e3737ff6b 100644 --- a/kcontrol/tdeio/kcookiesmanagement.cpp +++ b/kcontrol/tdeio/kcookiesmanagement.cpp @@ -114,15 +114,15 @@ KCookiesManagement::KCookiesManagement(TQWidget *parent) mainLayout->addWidget(dlg); dlg->lvCookies->setSorting(0); - connect(dlg->lvCookies, TQT_SIGNAL(expanded(TQListViewItem*)), TQT_SLOT(getCookies(TQListViewItem*)) ); - connect(dlg->lvCookies, TQT_SIGNAL(selectionChanged(TQListViewItem*)), TQT_SLOT(showCookieDetails(TQListViewItem*)) ); + connect(dlg->lvCookies, TQ_SIGNAL(expanded(TQListViewItem*)), TQ_SLOT(getCookies(TQListViewItem*)) ); + connect(dlg->lvCookies, TQ_SIGNAL(selectionChanged(TQListViewItem*)), TQ_SLOT(showCookieDetails(TQListViewItem*)) ); - connect(dlg->pbDelete, TQT_SIGNAL(clicked()), TQT_SLOT(deleteCookie())); - connect(dlg->pbDeleteAll, TQT_SIGNAL(clicked()), TQT_SLOT(deleteAllCookies())); - connect(dlg->pbReload, TQT_SIGNAL(clicked()), TQT_SLOT(getDomains())); - connect(dlg->pbPolicy, TQT_SIGNAL(clicked()), TQT_SLOT(doPolicy())); + connect(dlg->pbDelete, TQ_SIGNAL(clicked()), TQ_SLOT(deleteCookie())); + connect(dlg->pbDeleteAll, TQ_SIGNAL(clicked()), TQ_SLOT(deleteAllCookies())); + connect(dlg->pbReload, TQ_SIGNAL(clicked()), TQ_SLOT(getDomains())); + connect(dlg->pbPolicy, TQ_SIGNAL(clicked()), TQ_SLOT(doPolicy())); - connect(dlg->lvCookies, TQT_SIGNAL(doubleClicked (TQListViewItem *)), TQT_SLOT(doPolicy())); + connect(dlg->lvCookies, TQ_SIGNAL(doubleClicked (TQListViewItem *)), TQ_SLOT(doPolicy())); deletedCookies.setAutoDelete(true); m_bDeleteAll = false; mainWidget = parent; diff --git a/kcontrol/tdeio/kcookiespolicies.cpp b/kcontrol/tdeio/kcookiespolicies.cpp index a39773cf1..6febd106e 100644 --- a/kcontrol/tdeio/kcookiespolicies.cpp +++ b/kcontrol/tdeio/kcookiespolicies.cpp @@ -323,40 +323,40 @@ void KCookiesPolicies::load() } // Connect the main swicth :) Enable/disable cookie support - connect( dlg->cbEnableCookies, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( cookiesEnabled(bool) ) ); - connect( dlg->cbEnableCookies, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( configChanged() ) ); + connect( dlg->cbEnableCookies, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( cookiesEnabled(bool) ) ); + connect( dlg->cbEnableCookies, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( configChanged() ) ); // Connect the preference check boxes... - connect ( dlg->cbRejectCrossDomainCookies, TQT_SIGNAL(clicked()), - TQT_SLOT(configChanged())); - connect ( dlg->cbAutoAcceptSessionCookies, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(configChanged())); - connect ( dlg->cbIgnoreCookieExpirationDate, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(configChanged())); - - connect ( dlg->cbAutoAcceptSessionCookies, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(autoAcceptSessionCookies(bool))); - connect ( dlg->cbIgnoreCookieExpirationDate, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(ignoreCookieExpirationDate(bool))); + connect ( dlg->cbRejectCrossDomainCookies, TQ_SIGNAL(clicked()), + TQ_SLOT(configChanged())); + connect ( dlg->cbAutoAcceptSessionCookies, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(configChanged())); + connect ( dlg->cbIgnoreCookieExpirationDate, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(configChanged())); + + connect ( dlg->cbAutoAcceptSessionCookies, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(autoAcceptSessionCookies(bool))); + connect ( dlg->cbIgnoreCookieExpirationDate, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(ignoreCookieExpirationDate(bool))); // Connect the default cookie policy radio buttons... - connect(dlg->bgDefault, TQT_SIGNAL(clicked(int)), TQT_SLOT(configChanged())); + connect(dlg->bgDefault, TQ_SIGNAL(clicked(int)), TQ_SLOT(configChanged())); // Connect signals from the domain specific policy listview. - connect( dlg->lvDomainPolicy, TQT_SIGNAL(selectionChanged()), - TQT_SLOT(selectionChanged()) ); - connect( dlg->lvDomainPolicy, TQT_SIGNAL(doubleClicked (TQListViewItem *)), - TQT_SLOT(changePressed() ) ); - connect( dlg->lvDomainPolicy, TQT_SIGNAL(returnPressed ( TQListViewItem * )), - TQT_SLOT(changePressed() ) ); + connect( dlg->lvDomainPolicy, TQ_SIGNAL(selectionChanged()), + TQ_SLOT(selectionChanged()) ); + connect( dlg->lvDomainPolicy, TQ_SIGNAL(doubleClicked (TQListViewItem *)), + TQ_SLOT(changePressed() ) ); + connect( dlg->lvDomainPolicy, TQ_SIGNAL(returnPressed ( TQListViewItem * )), + TQ_SLOT(changePressed() ) ); // Connect the buttons... - connect( dlg->pbNew, TQT_SIGNAL(clicked()), TQT_SLOT( addPressed() ) ); - connect( dlg->pbChange, TQT_SIGNAL( clicked() ), TQT_SLOT( changePressed() ) ); - connect( dlg->pbDelete, TQT_SIGNAL( clicked() ), TQT_SLOT( deletePressed() ) ); - connect( dlg->pbDeleteAll, TQT_SIGNAL( clicked() ), TQT_SLOT( deleteAllPressed() ) ); + connect( dlg->pbNew, TQ_SIGNAL(clicked()), TQ_SLOT( addPressed() ) ); + connect( dlg->pbChange, TQ_SIGNAL( clicked() ), TQ_SLOT( changePressed() ) ); + connect( dlg->pbDelete, TQ_SIGNAL( clicked() ), TQ_SLOT( deletePressed() ) ); + connect( dlg->pbDeleteAll, TQ_SIGNAL( clicked() ), TQ_SLOT( deleteAllPressed() ) ); } void KCookiesPolicies::save() diff --git a/kcontrol/tdeio/kenvvarproxydlg.cpp b/kcontrol/tdeio/kenvvarproxydlg.cpp index e8d1c0e47..2a8b348c7 100644 --- a/kcontrol/tdeio/kenvvarproxydlg.cpp +++ b/kcontrol/tdeio/kenvvarproxydlg.cpp @@ -83,9 +83,9 @@ void KEnvVarProxyDlg::init() { m_bHasValidData = false; - connect( mDlg->cbShowValue, TQT_SIGNAL( clicked() ), TQT_SLOT( showValuePressed() ) ); - connect( mDlg->pbVerify, TQT_SIGNAL( clicked() ), TQT_SLOT( verifyPressed() ) ); - connect( mDlg->pbDetect, TQT_SIGNAL( clicked() ), TQT_SLOT( autoDetectPressed() ) ); + connect( mDlg->cbShowValue, TQ_SIGNAL( clicked() ), TQ_SLOT( showValuePressed() ) ); + connect( mDlg->pbVerify, TQ_SIGNAL( clicked() ), TQ_SLOT( verifyPressed() ) ); + connect( mDlg->pbDetect, TQ_SIGNAL( clicked() ), TQ_SLOT( autoDetectPressed() ) ); } void KEnvVarProxyDlg::setProxyData( const KProxyData& data ) diff --git a/kcontrol/tdeio/kmanualproxydlg.cpp b/kcontrol/tdeio/kmanualproxydlg.cpp index 01d2b584c..0d785025d 100644 --- a/kcontrol/tdeio/kmanualproxydlg.cpp +++ b/kcontrol/tdeio/kmanualproxydlg.cpp @@ -63,19 +63,19 @@ void KManualProxyDlg::init() mDlg->sbHttps->setRange( 0, MAX_PORT_VALUE ); mDlg->sbFtp->setRange( 0, MAX_PORT_VALUE ); - connect( mDlg->pbNew, TQT_SIGNAL( clicked() ), TQT_SLOT( newPressed() ) ); - connect( mDlg->pbChange, TQT_SIGNAL( clicked() ), TQT_SLOT( changePressed() ) ); - connect( mDlg->pbDelete, TQT_SIGNAL( clicked() ), TQT_SLOT( deletePressed() ) ); - connect( mDlg->pbDeleteAll, TQT_SIGNAL( clicked() ), TQT_SLOT( deleteAllPressed() ) ); + connect( mDlg->pbNew, TQ_SIGNAL( clicked() ), TQ_SLOT( newPressed() ) ); + connect( mDlg->pbChange, TQ_SIGNAL( clicked() ), TQ_SLOT( changePressed() ) ); + connect( mDlg->pbDelete, TQ_SIGNAL( clicked() ), TQ_SLOT( deletePressed() ) ); + connect( mDlg->pbDeleteAll, TQ_SIGNAL( clicked() ), TQ_SLOT( deleteAllPressed() ) ); - connect( mDlg->lbExceptions, TQT_SIGNAL(selectionChanged()), TQT_SLOT(updateButtons()) ); - connect( mDlg->lbExceptions, TQT_SIGNAL(doubleClicked (TQListBoxItem *)), TQT_SLOT(changePressed())); + connect( mDlg->lbExceptions, TQ_SIGNAL(selectionChanged()), TQ_SLOT(updateButtons()) ); + connect( mDlg->lbExceptions, TQ_SIGNAL(doubleClicked (TQListBoxItem *)), TQ_SLOT(changePressed())); - connect( mDlg->cbSameProxy, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( sameProxy(bool) ) ); - connect( mDlg->pbCopyDown, TQT_SIGNAL( clicked() ), TQT_SLOT( copyDown() ) ); + connect( mDlg->cbSameProxy, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( sameProxy(bool) ) ); + connect( mDlg->pbCopyDown, TQ_SIGNAL( clicked() ), TQ_SLOT( copyDown() ) ); - connect( mDlg->leHttp, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(textChanged(const TQString&)) ); - connect( mDlg->sbHttp, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(valueChanged (int)) ); + connect( mDlg->leHttp, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(textChanged(const TQString&)) ); + connect( mDlg->sbHttp, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(valueChanged (int)) ); } void KManualProxyDlg::setProxyData( const KProxyData &data ) diff --git a/kcontrol/tdeio/kproxydlg.cpp b/kcontrol/tdeio/kproxydlg.cpp index 9253916d7..344392b91 100644 --- a/kcontrol/tdeio/kproxydlg.cpp +++ b/kcontrol/tdeio/kproxydlg.cpp @@ -54,9 +54,9 @@ KProxyOptions::KProxyOptions (TQWidget* parent ) mTab->addTab(mProxy, i18n("&Proxy")); mTab->addTab(mSocks, i18n("&SOCKS")); - connect(mProxy, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); - connect(mSocks, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); - connect(mTab, TQT_SIGNAL(currentChanged(TQWidget *)), TQT_SIGNAL(quickHelpChanged())); + connect(mProxy, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); + connect(mSocks, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); + connect(mTab, TQ_SIGNAL(currentChanged(TQWidget *)), TQ_SIGNAL(quickHelpChanged())); } KProxyOptions::~KProxyOptions() @@ -121,27 +121,27 @@ KProxyDialog::KProxyDialog( TQWidget* parent) mainLayout->addStretch(); // signals and slots connections - connect( mDlg->rbNoProxy, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( slotUseProxyChanged() ) ); + connect( mDlg->rbNoProxy, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( slotUseProxyChanged() ) ); - connect( mDlg->rbAutoDiscover, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( slotChanged() ) ); - connect( mDlg->rbAutoScript, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( slotChanged() ) ); + connect( mDlg->rbAutoDiscover, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( slotChanged() ) ); + connect( mDlg->rbAutoScript, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( slotChanged() ) ); - connect( mDlg->rbPrompt, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( slotChanged() ) ); - connect( mDlg->rbPresetLogin, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( slotChanged() ) ); + connect( mDlg->rbPrompt, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( slotChanged() ) ); + connect( mDlg->rbPresetLogin, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( slotChanged() ) ); - connect( mDlg->cbPersConn, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( slotChanged() ) ); + connect( mDlg->cbPersConn, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( slotChanged() ) ); - connect( mDlg->location, TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT( slotChanged() ) ); + connect( mDlg->location, TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT( slotChanged() ) ); - connect( mDlg->pbEnvSetup, TQT_SIGNAL( clicked() ), TQT_SLOT( setupEnvProxy() ) ); - connect( mDlg->pbManSetup, TQT_SIGNAL( clicked() ), TQT_SLOT( setupManProxy() ) ); + connect( mDlg->pbEnvSetup, TQ_SIGNAL( clicked() ), TQ_SLOT( setupEnvProxy() ) ); + connect( mDlg->pbManSetup, TQ_SIGNAL( clicked() ), TQ_SLOT( setupManProxy() ) ); load(); } diff --git a/kcontrol/tdeio/main.cpp b/kcontrol/tdeio/main.cpp index c0770af9e..0116764c8 100644 --- a/kcontrol/tdeio/main.cpp +++ b/kcontrol/tdeio/main.cpp @@ -110,7 +110,7 @@ LanBrowser::LanBrowser(TQWidget *parent) tabs.addTab(smbPage, i18n("&Windows Shares")); smbPageTabNumber = currentTabNumber; currentTabNumber++; - connect(smbPage,TQT_SIGNAL(changed(bool)), TQT_SLOT( changed() )); + connect(smbPage,TQ_SIGNAL(changed(bool)), TQ_SLOT( changed() )); lisaPage = TDECModuleLoader::loadModule("kcmlisa", TDECModuleLoader::None, &tabs); if (lisaPage) @@ -118,14 +118,14 @@ LanBrowser::LanBrowser(TQWidget *parent) tabs.addTab(lisaPage,i18n("&LISa Daemon")); lisaPageTabNumber = currentTabNumber; currentTabNumber++; - connect(lisaPage,TQT_SIGNAL(changed()), TQT_SLOT( changed() )); + connect(lisaPage,TQ_SIGNAL(changed()), TQ_SLOT( changed() )); } // resLisaPage = TDECModuleLoader::loadModule("kcmreslisa", &tabs); // if (resLisaPage) // { // tabs.addTab(resLisaPage,i18n("R&esLISa Daemon")); -// connect(resLisaPage,TQT_SIGNAL(changed()), TQT_SLOT( changed() )); +// connect(resLisaPage,TQ_SIGNAL(changed()), TQ_SLOT( changed() )); // } tdeioLanPage = TDECModuleLoader::loadModule("kcmtdeiolan", TDECModuleLoader::None, &tabs); @@ -134,7 +134,7 @@ LanBrowser::LanBrowser(TQWidget *parent) tabs.addTab(tdeioLanPage,i18n("lan:/ Iosla&ve")); tdeioLanPageTabNumber = currentTabNumber; currentTabNumber++; - connect(tdeioLanPage,TQT_SIGNAL(changed()), TQT_SLOT( changed() )); + connect(tdeioLanPage,TQ_SIGNAL(changed()), TQ_SLOT( changed() )); } setButtons(Apply|Help); diff --git a/kcontrol/tdeio/netpref.cpp b/kcontrol/tdeio/netpref.cpp index acde5635e..2cf465977 100644 --- a/kcontrol/tdeio/netpref.cpp +++ b/kcontrol/tdeio/netpref.cpp @@ -29,29 +29,29 @@ KIOPreferences::KIOPreferences( TQWidget* parent ) sb_socketRead = new KIntNumInput( gb_Timeout, "sb_socketRead" ); sb_socketRead->setSuffix( i18n( " sec" ) ); sb_socketRead->setLabel( i18n( "Soc&ket read:" ), AlignVCenter); - connect(sb_socketRead, TQT_SIGNAL(valueChanged ( int )), - this, TQT_SLOT(configChanged())); + connect(sb_socketRead, TQ_SIGNAL(valueChanged ( int )), + this, TQ_SLOT(configChanged())); sb_proxyConnect = new KIntNumInput( sb_socketRead, 0, gb_Timeout, 10, "sb_proxyConnect" ); sb_proxyConnect->setSuffix( i18n( " sec" ) ); sb_proxyConnect->setLabel( i18n( "Pro&xy connect:" ), AlignVCenter); - connect(sb_proxyConnect, TQT_SIGNAL(valueChanged ( int )), - this, TQT_SLOT(configChanged())); + connect(sb_proxyConnect, TQ_SIGNAL(valueChanged ( int )), + this, TQ_SLOT(configChanged())); sb_serverConnect = new KIntNumInput( sb_proxyConnect, 0, gb_Timeout, 10, "sb_serverConnect" ); sb_serverConnect->setSuffix( i18n( " sec" ) ); sb_serverConnect->setLabel( i18n("Server co&nnect:"), AlignVCenter); - connect(sb_serverConnect, TQT_SIGNAL(valueChanged ( int )), - this, TQT_SLOT(configChanged())); + connect(sb_serverConnect, TQ_SIGNAL(valueChanged ( int )), + this, TQ_SLOT(configChanged())); sb_serverResponse = new KIntNumInput( sb_serverConnect, 0, gb_Timeout, 10, "sb_serverResponse" ); sb_serverResponse->setSuffix( i18n( " sec" ) ); sb_serverResponse->setLabel( i18n("&Server response:"), AlignVCenter); - connect(sb_serverResponse, TQT_SIGNAL(valueChanged ( int )), - this, TQT_SLOT(configChanged())); + connect(sb_serverResponse, TQ_SIGNAL(valueChanged ( int )), + this, TQ_SLOT(configChanged())); gb_Ftp = new TQVGroupBox( i18n( "FTP Options" ), this, "gb_Ftp" ); cb_ftpEnablePasv = new TQCheckBox( i18n( "Enable passive &mode (PASV)" ), gb_Ftp ); @@ -64,8 +64,8 @@ KIOPreferences::KIOPreferences( TQWidget* parent ) mainLayout->addWidget( gb_Ftp ); - connect(cb_ftpEnablePasv, TQT_SIGNAL(toggled(bool)), TQT_SLOT(configChanged())); - connect(cb_ftpMarkPartial, TQT_SIGNAL(toggled(bool)), TQT_SLOT(configChanged())); + connect(cb_ftpEnablePasv, TQ_SIGNAL(toggled(bool)), TQ_SLOT(configChanged())); + connect(cb_ftpMarkPartial, TQ_SIGNAL(toggled(bool)), TQ_SLOT(configChanged())); mainLayout->addStretch(); diff --git a/kcontrol/tdeio/policydlg.cpp b/kcontrol/tdeio/policydlg.cpp index 385bc4a04..77c818cf2 100644 --- a/kcontrol/tdeio/policydlg.cpp +++ b/kcontrol/tdeio/policydlg.cpp @@ -67,8 +67,8 @@ PolicyDlg::PolicyDlg (const TQString& caption, TQWidget *parent, m_dlgUI->cbPolicy->setMinimumWidth( m_dlgUI->cbPolicy->fontMetrics().maxWidth() * 25 ); enableButtonOK( false ); - connect(m_dlgUI->leDomain, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(slotTextChanged(const TQString&))); + connect(m_dlgUI->leDomain, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(slotTextChanged(const TQString&))); setFixedSize (sizeHint()); m_dlgUI->leDomain->setFocus (); diff --git a/kcontrol/tdeio/smbrodlg.cpp b/kcontrol/tdeio/smbrodlg.cpp index ccb070e33..4df8ff396 100644 --- a/kcontrol/tdeio/smbrodlg.cpp +++ b/kcontrol/tdeio/smbrodlg.cpp @@ -73,11 +73,11 @@ SMBRoOptions::SMBRoOptions(TQWidget *parent) layout->addWidget(new TQWidget(this),4,0); -// connect(m_showHiddenShares, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(changed())); - connect(m_userLe, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(changed())); - connect(m_passwordLe, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(changed())); -// connect(m_workgroupLe, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(changed())); -// connect( m_encodingList, TQT_SIGNAL( activated( const TQString & ) ), this , TQT_SLOT( changed() ) ); +// connect(m_showHiddenShares, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(changed())); + connect(m_userLe, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(changed())); + connect(m_passwordLe, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(changed())); +// connect(m_workgroupLe, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(changed())); +// connect( m_encodingList, TQ_SIGNAL( activated( const TQString & ) ), this , TQ_SLOT( changed() ) ); layout->setRowStretch(4, 1); diff --git a/kcontrol/tdeio/socks.cpp b/kcontrol/tdeio/socks.cpp index 91d8cfd5c..8ac02dcfd 100644 --- a/kcontrol/tdeio/socks.cpp +++ b/kcontrol/tdeio/socks.cpp @@ -52,26 +52,26 @@ KSocksConfig::KSocksConfig(TQWidget *parent) base = new SocksBase(this); layout->add(base); - connect(base->_c_enableSocks, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableChanged())); - connect(base->bg, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(methodChanged(int))); + connect(base->_c_enableSocks, TQ_SIGNAL(clicked()), this, TQ_SLOT(enableChanged())); + connect(base->bg, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(methodChanged(int))); // The custom library - connect(base->_c_customPath, TQT_SIGNAL(openFileDialog(KURLRequester *)), this, TQT_SLOT(chooseCustomLib(KURLRequester *))); - connect(base->_c_customPath, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(customPathChanged(const TQString&))); + connect(base->_c_customPath, TQ_SIGNAL(openFileDialog(KURLRequester *)), this, TQ_SLOT(chooseCustomLib(KURLRequester *))); + connect(base->_c_customPath, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(customPathChanged(const TQString&))); // Additional libpaths - connect(base->_c_newPath, TQT_SIGNAL(openFileDialog(KURLRequester *)), this, TQT_SLOT(chooseCustomLib(KURLRequester *))); - connect(base->_c_newPath, TQT_SIGNAL(returnPressed(const TQString&)), - this, TQT_SLOT(addThisLibrary(const TQString&))); - connect(base->_c_newPath, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(libTextChanged(const TQString&))); - connect(base->_c_add, TQT_SIGNAL(clicked()), this, TQT_SLOT(addLibrary())); - connect(base->_c_remove, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeLibrary())); - connect(base->_c_libs, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(libSelection())); + connect(base->_c_newPath, TQ_SIGNAL(openFileDialog(KURLRequester *)), this, TQ_SLOT(chooseCustomLib(KURLRequester *))); + connect(base->_c_newPath, TQ_SIGNAL(returnPressed(const TQString&)), + this, TQ_SLOT(addThisLibrary(const TQString&))); + connect(base->_c_newPath, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(libTextChanged(const TQString&))); + connect(base->_c_add, TQ_SIGNAL(clicked()), this, TQ_SLOT(addLibrary())); + connect(base->_c_remove, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeLibrary())); + connect(base->_c_libs, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(libSelection())); // The "Test" button - connect(base->_c_test, TQT_SIGNAL(clicked()), this, TQT_SLOT(testClicked())); + connect(base->_c_test, TQ_SIGNAL(clicked()), this, TQ_SLOT(testClicked())); // The config backend load(); diff --git a/kcontrol/tdeio/uagentproviderdlg.cpp b/kcontrol/tdeio/uagentproviderdlg.cpp index 821d2e8e4..430261a45 100644 --- a/kcontrol/tdeio/uagentproviderdlg.cpp +++ b/kcontrol/tdeio/uagentproviderdlg.cpp @@ -82,14 +82,14 @@ UAProviderDlg::~UAProviderDlg() void UAProviderDlg::init() { - connect( dlg->pbOk, TQT_SIGNAL(clicked()), TQT_SLOT(accept()) ); - connect( dlg->pbCancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject()) ); + connect( dlg->pbOk, TQ_SIGNAL(clicked()), TQ_SLOT(accept()) ); + connect( dlg->pbCancel, TQ_SIGNAL(clicked()), TQ_SLOT(reject()) ); - connect( dlg->leSite, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(slotTextChanged( const TQString&)) ); + connect( dlg->leSite, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(slotTextChanged( const TQString&)) ); - connect( dlg->cbAlias, TQT_SIGNAL(activated(const TQString&)), - TQT_SLOT(slotActivated(const TQString&)) ); + connect( dlg->cbAlias, TQ_SIGNAL(activated(const TQString&)), + TQ_SLOT(slotActivated(const TQString&)) ); dlg->cbAlias->clear(); dlg->cbAlias->insertStringList( m_provider->userAgentAliasList() ); diff --git a/kcontrol/tdeio/useragentdlg.cpp b/kcontrol/tdeio/useragentdlg.cpp index 7b1f4b3d7..9ee0b58c6 100644 --- a/kcontrol/tdeio/useragentdlg.cpp +++ b/kcontrol/tdeio/useragentdlg.cpp @@ -56,22 +56,22 @@ UserAgentDlg::UserAgentDlg( TQWidget * parent ) dlg->lvDomainPolicyList->setSorting(0); - connect( dlg->cbSendUAString, TQT_SIGNAL(clicked()), TQT_SLOT(configChanged()) ); - - connect( dlg->gbDefaultId, TQT_SIGNAL(clicked(int)), - TQT_SLOT(changeDefaultUAModifiers(int))); - - connect( dlg->lvDomainPolicyList, TQT_SIGNAL(selectionChanged()), - TQT_SLOT(selectionChanged()) ); - connect( dlg->lvDomainPolicyList, TQT_SIGNAL(doubleClicked (TQListViewItem *)), - TQT_SLOT(changePressed()) ); - connect( dlg->lvDomainPolicyList, TQT_SIGNAL( returnPressed ( TQListViewItem * ) ), - TQT_SLOT( changePressed() )); - - connect( dlg->pbNew, TQT_SIGNAL(clicked()), TQT_SLOT( addPressed() ) ); - connect( dlg->pbChange, TQT_SIGNAL( clicked() ), TQT_SLOT( changePressed() ) ); - connect( dlg->pbDelete, TQT_SIGNAL( clicked() ), TQT_SLOT( deletePressed() ) ); - connect( dlg->pbDeleteAll, TQT_SIGNAL( clicked() ), TQT_SLOT( deleteAllPressed() ) ); + connect( dlg->cbSendUAString, TQ_SIGNAL(clicked()), TQ_SLOT(configChanged()) ); + + connect( dlg->gbDefaultId, TQ_SIGNAL(clicked(int)), + TQ_SLOT(changeDefaultUAModifiers(int))); + + connect( dlg->lvDomainPolicyList, TQ_SIGNAL(selectionChanged()), + TQ_SLOT(selectionChanged()) ); + connect( dlg->lvDomainPolicyList, TQ_SIGNAL(doubleClicked (TQListViewItem *)), + TQ_SLOT(changePressed()) ); + connect( dlg->lvDomainPolicyList, TQ_SIGNAL( returnPressed ( TQListViewItem * ) ), + TQ_SLOT( changePressed() )); + + connect( dlg->pbNew, TQ_SIGNAL(clicked()), TQ_SLOT( addPressed() ) ); + connect( dlg->pbChange, TQ_SIGNAL( clicked() ), TQ_SLOT( changePressed() ) ); + connect( dlg->pbDelete, TQ_SIGNAL( clicked() ), TQ_SLOT( deletePressed() ) ); + connect( dlg->pbDeleteAll, TQ_SIGNAL( clicked() ), TQ_SLOT( deleteAllPressed() ) ); load(); } |