summaryrefslogtreecommitdiffstats
path: root/ksystemlog/src/generalOptions.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 08:42:58 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 08:42:58 +0000
commit9902f14bc9162d7b286b3f99b27989237db9f264 (patch)
treeb95be3be1992566418b2c2e2ed16bdb29453a8d4 /ksystemlog/src/generalOptions.h
parent437249c71459e9ea15be70788687cb8695e249c2 (diff)
downloadksystemlog-9902f14bc9162d7b286b3f99b27989237db9f264.tar.gz
ksystemlog-9902f14bc9162d7b286b3f99b27989237db9f264.zip
TQt4 port ksystemlog
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ksystemlog@1239000 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksystemlog/src/generalOptions.h')
-rw-r--r--ksystemlog/src/generalOptions.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/ksystemlog/src/generalOptions.h b/ksystemlog/src/generalOptions.h
index 3b6a86f..51f650d 100644
--- a/ksystemlog/src/generalOptions.h
+++ b/ksystemlog/src/generalOptions.h
@@ -21,10 +21,10 @@
#ifndef _GENERAL_OPTIONS_H_
#define _GENERAL_OPTIONS_H_
-#include <qframe.h>
-#include <qspinbox.h>
-#include <qbuttongroup.h>
-#include <qcheckbox.h>
+#include <tqframe.h>
+#include <tqspinbox.h>
+#include <tqbuttongroup.h>
+#include <tqcheckbox.h>
#include <kconfig.h>
#include <kdialogbase.h>
@@ -32,10 +32,11 @@
#include "globals.h"
-class GeneralOptions : public QWidget {
+class GeneralOptions : public TQWidget {
Q_OBJECT
+ TQ_OBJECT
public:
- GeneralOptions(QWidget *parent = 0);
+ GeneralOptions(TQWidget *tqparent = 0);
bool isValid();
@@ -50,12 +51,12 @@ class GeneralOptions : public QWidget {
void onOptionsChanged();
private:
- QSpinBox* maxLines;
- QSpinBox* maxCharacters;
- QCheckBox* deleteDuplicatedLines;
+ TQSpinBox* maxLines;
+ TQSpinBox* maxCharacters;
+ TQCheckBox* deleteDuplicatedLines;
- QCheckBox* deleteProcessId;
- QCheckBox* colorizeLogLines;
+ TQCheckBox* deleteProcessId;
+ TQCheckBox* colorizeLogLines;
};
#endif // _GENERAL_PREFERENCES_H_