summaryrefslogtreecommitdiffstats
path: root/lanbrowsing
diff options
context:
space:
mode:
Diffstat (limited to 'lanbrowsing')
-rw-r--r--lanbrowsing/kcmlisa/kcmlisa.cpp50
-rw-r--r--lanbrowsing/kcmlisa/kcmreslisa.cpp28
-rw-r--r--lanbrowsing/kcmlisa/kcmtdeiolan.cpp14
-rw-r--r--lanbrowsing/kcmlisa/portsettingsbar.cpp2
-rw-r--r--lanbrowsing/kcmlisa/setupwizard.cpp4
5 files changed, 49 insertions, 49 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);
diff --git a/lanbrowsing/kcmlisa/kcmreslisa.cpp b/lanbrowsing/kcmlisa/kcmreslisa.cpp
index a08a1336..2a0ac748 100644
--- a/lanbrowsing/kcmlisa/kcmreslisa.cpp
+++ b/lanbrowsing/kcmlisa/kcmreslisa.cpp
@@ -85,7 +85,7 @@ ResLisaSettings::ResLisaSettings(const TQString& config, TQWidget *parent)
m_reslisaAdvancedDlg=new KDialogBase(0,0,true,i18n("Advanced Settings for ResLISa"),KDialogBase::Close, KDialogBase::Close);
- connect(m_advancedSettingsButton,TQT_SIGNAL(clicked()),m_reslisaAdvancedDlg,TQT_SLOT(show()));
+ connect(m_advancedSettingsButton,TQ_SIGNAL(clicked()),m_reslisaAdvancedDlg,TQ_SLOT(show()));
TQVBox *vbox=m_reslisaAdvancedDlg->makeVBoxMainWidget();
@@ -121,22 +121,22 @@ ResLisaSettings::ResLisaSettings(const TQString& config, TQWidget *parent)
TQWidget *dummy=new TQWidget(advGrid);
dummy->setMinimumHeight(10);
- connect(m_secondScan,TQT_SIGNAL(toggled(bool)),m_secondWait,TQT_SLOT(setEnabled(bool)));
+ connect(m_secondScan,TQ_SIGNAL(toggled(bool)),m_secondWait,TQ_SLOT(setEnabled(bool)));
- connect(m_allowedAddresses,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SIGNAL(changed()));
+ connect(m_allowedAddresses,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SIGNAL(changed()));
- connect(m_allowedAddresses,TQT_SIGNAL(returnPressed()),this,TQT_SIGNAL(changed()));
+ connect(m_allowedAddresses,TQ_SIGNAL(returnPressed()),this,TQ_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_suggestSettings,TQT_SIGNAL(clicked()),this,TQT_SLOT(suggestSettings()));
- connect(m_rlanSidebar,TQT_SIGNAL(clicked()),this,TQT_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_suggestSettings,TQ_SIGNAL(clicked()),this,TQ_SLOT(suggestSettings()));
+ connect(m_rlanSidebar,TQ_SIGNAL(clicked()),this,TQ_SIGNAL(changed()));
load();
}
diff --git a/lanbrowsing/kcmlisa/kcmtdeiolan.cpp b/lanbrowsing/kcmlisa/kcmtdeiolan.cpp
index 850e5238..37b56c51 100644
--- a/lanbrowsing/kcmlisa/kcmtdeiolan.cpp
+++ b/lanbrowsing/kcmlisa/kcmtdeiolan.cpp
@@ -61,13 +61,13 @@ IOSlaveSettings::IOSlaveSettings(const TQString& config, TQWidget *parent)
layout->setStretchFactor(hbox,0);
layout->setStretchFactor(w,1);
- connect(m_ftpSettings,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));
- connect(m_httpSettings,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));
- connect(m_nfsSettings,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));
- connect(m_smbSettings,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));
- connect(m_fishSettings,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));
- connect(m_shortHostnames,TQT_SIGNAL(clicked()),this,TQT_SIGNAL(changed()));
- connect(m_defaultLisaHostLe, TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SIGNAL(changed()));
+ connect(m_ftpSettings,TQ_SIGNAL(changed()),this,TQ_SIGNAL(changed()));
+ connect(m_httpSettings,TQ_SIGNAL(changed()),this,TQ_SIGNAL(changed()));
+ connect(m_nfsSettings,TQ_SIGNAL(changed()),this,TQ_SIGNAL(changed()));
+ connect(m_smbSettings,TQ_SIGNAL(changed()),this,TQ_SIGNAL(changed()));
+ connect(m_fishSettings,TQ_SIGNAL(changed()),this,TQ_SIGNAL(changed()));
+ connect(m_shortHostnames,TQ_SIGNAL(clicked()),this,TQ_SIGNAL(changed()));
+ connect(m_defaultLisaHostLe, TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SIGNAL(changed()));
}
void IOSlaveSettings::load()
diff --git a/lanbrowsing/kcmlisa/portsettingsbar.cpp b/lanbrowsing/kcmlisa/portsettingsbar.cpp
index 2833a443..213dcdf6 100644
--- a/lanbrowsing/kcmlisa/portsettingsbar.cpp
+++ b/lanbrowsing/kcmlisa/portsettingsbar.cpp
@@ -34,7 +34,7 @@ PortSettingsBar::PortSettingsBar(const TQString& title, TQWidget *parent)
m_box->insertItem(i18n("Always"));
m_box->insertItem(i18n("Never"));
- connect(m_box,TQT_SIGNAL(activated(int)),this,TQT_SIGNAL(changed()));
+ connect(m_box,TQ_SIGNAL(activated(int)),this,TQ_SIGNAL(changed()));
}
int PortSettingsBar::selected() const
diff --git a/lanbrowsing/kcmlisa/setupwizard.cpp b/lanbrowsing/kcmlisa/setupwizard.cpp
index 820f09da..5d8c1ec0 100644
--- a/lanbrowsing/kcmlisa/setupwizard.cpp
+++ b/lanbrowsing/kcmlisa/setupwizard.cpp
@@ -170,7 +170,7 @@ void SetupWizard::setupNoNicPage()
m_noNicPage->setMargin(KDialog::marginHint());
m_noNicPage->setSpacing(KDialog::spacingHint());
m_manualAddress=new KRestrictedLine(m_noNicPage,"0123456789./");
- connect(m_manualAddress,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(checkIPAddress(const TQString&)));
+ connect(m_manualAddress,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SLOT(checkIPAddress(const TQString&)));
TQWidget *dummy=new TQWidget(m_noNicPage);
m_noNicPage->setStretchFactor(dummy,10);
@@ -340,7 +340,7 @@ void SetupWizard::setupAdvancedSettingsPage()
info=new TQLabel(i18n("<b>If unsure, keep it as is.</b>"), m_advancedPage);
info->setAlignment(AlignRight|AlignVCenter);
- connect(m_secondScan,TQT_SIGNAL(toggled(bool)),m_secondWait,TQT_SLOT(setEnabled(bool)));
+ connect(m_secondScan,TQ_SIGNAL(toggled(bool)),m_secondWait,TQ_SLOT(setEnabled(bool)));
setHelpEnabled( m_advancedPage, false );
}