diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 00:55:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 00:55:34 +0000 |
commit | c4189d200e71c7ef82e9a6e34935ad225154d658 (patch) | |
tree | f7f29a1159e0402472ff2ab22617a8113f66263c /kbarcode/previewdialog.h | |
parent | 2f888b1578e65ec1bc514996eb509fcaf34462d6 (diff) | |
download | kbarcode-c4189d200e71c7ef82e9a6e34935ad225154d658.tar.gz kbarcode-c4189d200e71c7ef82e9a6e34935ad225154d658.zip |
TQt4 port kbarcode
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbarcode@1233956 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbarcode/previewdialog.h')
-rw-r--r-- | kbarcode/previewdialog.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/kbarcode/previewdialog.h b/kbarcode/previewdialog.h index db3c056..a7e2419 100644 --- a/kbarcode/previewdialog.h +++ b/kbarcode/previewdialog.h @@ -18,7 +18,7 @@ #ifndef PREVIEWDIALOG_H #define PREVIEWDIALOG_H -#include <qdialog.h> +#include <tqdialog.h> #include <kabc/addressee.h> class Definition; @@ -26,13 +26,14 @@ class KComboBox; class KIntNumInput; class KLineEdit; class KPushButton; -class QIODevice; -class QLabel; -class QWidget; -class PreviewDialog : public QDialog { +class TQIODevice; +class TQLabel; +class TQWidget; +class PreviewDialog : public TQDialog { Q_OBJECT + TQ_OBJECT public: - PreviewDialog( QIODevice* device, Definition* d, QString filename, QWidget *parent=0, const char *name=0); + PreviewDialog( TQIODevice* device, Definition* d, TQString filename, TQWidget *tqparent=0, const char *name=0); ~PreviewDialog(); private slots: @@ -43,7 +44,7 @@ class PreviewDialog : public QDialog { void selectAddress(); private: - QLabel* preview; + TQLabel* preview; KLineEdit* articleId; KLineEdit* groupName; @@ -63,14 +64,14 @@ class PreviewDialog : public QDialog { KABC::Addressee m_address; Definition* def; - QIODevice* file; + TQIODevice* file; - QString m_filename; + TQString m_filename; static int customer_index; static int m_index; - static QString group; - static QString article; + static TQString group; + static TQString article; }; #endif |