summaryrefslogtreecommitdiffstats
path: root/ksystemlog/src/samba/sambaOptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksystemlog/src/samba/sambaOptions.cpp')
-rw-r--r--ksystemlog/src/samba/sambaOptions.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/ksystemlog/src/samba/sambaOptions.cpp b/ksystemlog/src/samba/sambaOptions.cpp
index 5e56fda..b86cc3d 100644
--- a/ksystemlog/src/samba/sambaOptions.cpp
+++ b/ksystemlog/src/samba/sambaOptions.cpp
@@ -18,14 +18,14 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-//Qt includes
-#include <qlayout.h>
-#include <qvgroupbox.h>
-#include <qbuttongroup.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qvbox.h>
-#include <qhbox.h>
+//TQt includes
+#include <tqlayout.h>
+#include <tqvgroupbox.h>
+#include <tqbuttongroup.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
+#include <tqvbox.h>
+#include <tqhbox.h>
//KDE includes
#include <klocale.h>
@@ -42,17 +42,17 @@
#include "sambaOptions.h"
#include "ksystemlogConfig.h"
-SambaOptions::SambaOptions(QWidget *parent) :
- QWidget(parent)
+SambaOptions::SambaOptions(TQWidget *tqparent) :
+ TQWidget(tqparent)
{
- QHBoxLayout *layout = new QHBoxLayout(this);
- layout->setAutoAdd(true);
+ TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
+ tqlayout->setAutoAdd(true);
- QString description= i18n("<qt><p>These files will be analyzed to display <b>Samba log</b>. This list also determines the order in which the files are read.</p></qt>");
+ TQString description= i18n("<qt><p>These files will be analyzed to display <b>Samba log</b>. This list also determines the order in which the files are read.</p></qt>");
fileList=new FileList(this, description);
- connect(fileList, SIGNAL(fileListChanged(int)), this, SLOT(slotFileListChanged(int)));
+ connect(fileList, TQT_SIGNAL(fileListChanged(int)), this, TQT_SLOT(slotFileListChanged(int)));
readConfig();
@@ -80,7 +80,7 @@ void SambaOptions::slotFileListChanged(int itemLeft) {
void SambaOptions::saveConfig() {
kdDebug() << "Save config from SambaOptions" << endl;
- QStringList list;
+ TQStringList list;
int count=fileList->count();
@@ -92,9 +92,9 @@ void SambaOptions::saveConfig() {
}
void SambaOptions::readConfig() {
- QStringList files(KSystemLogConfig::sambaPaths());
+ TQStringList files(KSystemLogConfig::sambaPaths());
- QStringList::iterator it;
+ TQStringList::iterator it;
for(it=files.begin(); it!=files.end(); ++it) {
fileList->insertItem(*it);
}