diff options
Diffstat (limited to 'kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp')
-rw-r--r-- | kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp b/kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp index ca4462e8..68a4ac16 100644 --- a/kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp +++ b/kopete/plugins/smpppdcs/smpppdcsprefsimpl.cpp @@ -57,10 +57,10 @@ SMPPPDCSPrefs::SMPPPDCSPrefs(TQWidget* parent, const char* name, WFlags fl) // if netstat is NOT available, disable the option and set to SMPPPD if(TDEStandardDirs::findExe("netstat") == TQString()) { - autoCSTest->setEnabled(FALSE); - useNetstat->setEnabled(FALSE); - useNetstat->setChecked(FALSE); - useSmpppd->setChecked(TRUE); + autoCSTest->setEnabled(false); + useNetstat->setEnabled(false); + useNetstat->setChecked(false); + useSmpppd->setChecked(true); } } @@ -95,9 +95,9 @@ void SMPPPDCSPrefs::scanStarted(uint total) { // setup the scanProgress Dialog if(!m_scanProgressDlg) { - m_scanProgressDlg = new KProgressDialog(this, 0, i18n("Searching"), i18n("Searching for a SMPPPD on the local network..."), TRUE); - m_scanProgressDlg->setAutoClose(TRUE); - m_scanProgressDlg->setAllowCancel(TRUE); + m_scanProgressDlg = new KProgressDialog(this, 0, i18n("Searching"), i18n("Searching for a SMPPPD on the local network..."), true); + m_scanProgressDlg->setAutoClose(true); + m_scanProgressDlg->setAllowCancel(true); m_scanProgressDlg->setMinimumDuration(2000); connect(m_scanProgressDlg, TQ_SIGNAL(cancelClicked()), this, TQ_SLOT(cancelScanning())); |