summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/smbconfconfigwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/smbconfconfigwidget.cpp')
-rw-r--r--filesharing/advanced/kcm_sambaconf/smbconfconfigwidget.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/smbconfconfigwidget.cpp b/filesharing/advanced/kcm_sambaconf/smbconfconfigwidget.cpp
index 03a1e550..00181eaa 100644
--- a/filesharing/advanced/kcm_sambaconf/smbconfconfigwidget.cpp
+++ b/filesharing/advanced/kcm_sambaconf/smbconfconfigwidget.cpp
@@ -26,10 +26,10 @@
* *
******************************************************************************/
-#include <qfileinfo.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qlabel.h>
+#include <tqfileinfo.h>
+#include <tqlayout.h>
+#include <tqpushbutton.h>
+#include <tqlabel.h>
#include <kapplication.h>
#include <kfiledialog.h>
@@ -39,19 +39,19 @@
#include "smbconfconfigwidget.h"
-SmbConfConfigWidget::SmbConfConfigWidget(QWidget* parent)
- : QWidget(parent,"configWidget")
+SmbConfConfigWidget::SmbConfConfigWidget(TQWidget* parent)
+ : TQWidget(parent,"configWidget")
{
- QVBoxLayout *layout = new QVBoxLayout(this,5);
+ TQVBoxLayout *layout = new TQVBoxLayout(this,5);
- QLabel *lbl = new QLabel(i18n("<p>The SAMBA configuration file <strong>'smb.conf'</strong>" \
+ TQLabel *lbl = new TQLabel(i18n("<p>The SAMBA configuration file <strong>'smb.conf'</strong>" \
" could not be found;</p>" \
"make sure you have SAMBA installed.\n\n"), this);
- QHBoxLayout *hbox = new QHBoxLayout(this);
- QPushButton *btn = new QPushButton(i18n("Specify Location"), this);
- connect(btn, SIGNAL(pressed()), this, SLOT( btnPressed()));
+ TQHBoxLayout *hbox = new TQHBoxLayout(this);
+ TQPushButton *btn = new TQPushButton(i18n("Specify Location"), this);
+ connect(btn, TQT_SIGNAL(pressed()), this, TQT_SLOT( btnPressed()));
btn->setDefault(false);
btn->setAutoDefault(false);
@@ -65,13 +65,13 @@ SmbConfConfigWidget::SmbConfConfigWidget(QWidget* parent)
}
void SmbConfConfigWidget::btnPressed() {
- QString smbConf = KFileDialog::getOpenFileName("/",
+ TQString smbConf = KFileDialog::getOpenFileName("/",
"smb.conf|Samba conf. File\n"
"*|All Files",0,i18n("Get smb.conf Location"));
if (smbConf.isEmpty())
return;
- if ( ! QFileInfo(smbConf).isReadable() ) {
+ if ( ! TQFileInfo(smbConf).isReadable() ) {
KMessageBox::sorry(this,i18n("<qt>The file <i>%1</i> could not be read.</qt>").arg(smbConf),i18n("Could Not Read File"));
return;
}