diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 19:20:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 19:20:52 +0000 |
commit | e86f8310a920cbf1ecfac955fbad05916e954693 (patch) | |
tree | ddc018560d03c6aa794d9f399d006e5e3aa597f0 /src/knowitpref.h | |
parent | 1829a84466f690d4a6a10ddab91cea0f45ec9d77 (diff) | |
download | knowit-e86f8310a920cbf1ecfac955fbad05916e954693.tar.gz knowit-e86f8310a920cbf1ecfac955fbad05916e954693.zip |
TQt4 port knowit
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knowit@1238876 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/knowitpref.h')
-rw-r--r-- | src/knowitpref.h | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/src/knowitpref.h b/src/knowitpref.h index bc74398..8ec5d86 100644 --- a/src/knowitpref.h +++ b/src/knowitpref.h @@ -18,12 +18,12 @@ #ifndef KNOWITPREF_H #define KNOWITPREF_H -#include <qstring.h> +#include <tqstring.h> #include <kdialogbase.h> -class QCheckBox; -class QSpinBox; -class QToolButton; +class TQCheckBox; +class TQSpinBox; +class TQToolButton; class KLineEdit; class KColorButton; class KDualColorButton; @@ -43,9 +43,9 @@ public: /* GUI */ bool horizontalSplit; int linkFormat; - QString defaultName; + TQString defaultName; bool alternateTree; - QString alternateColor; + TQString alternateColor; bool autoCollapse; /* Links */ bool firstLink; @@ -54,13 +54,13 @@ public: bool enterBreakLine; bool tabfocus; bool customColors; - QString backEditColor; - QString foreEditColor; + TQString backEditColor; + TQString foreEditColor; bool customFont; - QString fontFamily; + TQString fontFamily; int fontSize; /* Date format */ - QString insertDateFormat, insertDateColor; + TQString insertDateFormat, insertDateColor; bool insertDateBold, insertDateItalic, insertDateUnderline; void save(KConfig* config) const; void read(KConfig* config); @@ -72,24 +72,25 @@ public: class KnowitPreferences : public KDialogBase { Q_OBJECT + TQ_OBJECT private: - QCheckBox *docked, *reopen, *horizontalSplit, *multipleInstances, *backup; - QCheckBox *unconditionalSave; - QCheckBox *wordwrap, *tabfocus, *customColors; + TQCheckBox *docked, *reopen, *horizontalSplit, *multipleInstances, *backup; + TQCheckBox *unconditionalSave; + TQCheckBox *wordwrap, *tabfocus, *customColors; KDualColorButton* editColors; - QCheckBox *enterBreakLine; + TQCheckBox *enterBreakLine; KLineEdit *defaultName; - QCheckBox *alternateTree; + TQCheckBox *alternateTree; KColorButton *alternateColor; - QCheckBox* autoCollapse; - QCheckBox* customFont; + TQCheckBox* autoCollapse; + TQCheckBox* customFont; KComboBox *fontFamily, *fontSize; KComboBox *linkFormat; KLineEdit *insertDateFormatEdit; KColorButton *insertDateColorButton; - QLabel *insertDatePreview; - QSpinBox* autosave; - QToolButton *insertDateItalicButton, *insertDateBoldButton, *insertDateUnderlineButton; + TQLabel *insertDatePreview; + TQSpinBox* autosave; + TQToolButton *insertDateItalicButton, *insertDateBoldButton, *insertDateUnderlineButton; bool firstLink; int exportFlags; public: |