diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 00:15:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 00:15:53 +0000 |
commit | 0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch) | |
tree | b95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/libgui/project_wizard.h | |
parent | b79a2c28534cf09987eeeba3077fff9236df182a (diff) | |
download | piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.tar.gz piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.zip |
TQt4 port piklab
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1238822 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/libgui/project_wizard.h')
-rw-r--r-- | src/libgui/project_wizard.h | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/src/libgui/project_wizard.h b/src/libgui/project_wizard.h index 312ef01..4a47e3c 100644 --- a/src/libgui/project_wizard.h +++ b/src/libgui/project_wizard.h @@ -9,8 +9,8 @@ #ifndef PROJECT_WIZARD_H #define PROJECT_WIZARD_H -#include <qbuttongroup.h> -#include <qradiobutton.h> +#include <tqbuttongroup.h> +#include <tqradiobutton.h> #include <kwizard.h> #include <klineedit.h> #include <kcombobox.h> @@ -32,39 +32,41 @@ public: bool copy() const { return _copy; } void toggle(); PURL::FileGroup fileGroup() const; - virtual const QPixmap *pixmap(int column) const; + virtual const TQPixmap *pixmap(int column) const; private: const Tool::Group *_group; - QPixmap _pixmap; + TQPixmap _pixmap; bool _copy; }; class FileListBox : public EditListBox { Q_OBJECT + TQ_OBJECT public: - FileListBox(QWidget *parent); + FileListBox(TQWidget *tqparent); void setDirectory(const PURL::Directory &directory) { _directory = directory; } void setToolGroup(const Tool::Group &group); protected slots: virtual void addItem(); - virtual void clicked(QListViewItem *item, const QPoint &point, int column); + virtual void clicked(TQListViewItem *item, const TQPoint &point, int column); private: PURL::Directory _directory; virtual uint textColumn() const { return 1; } - virtual QListViewItem *createItem(); + virtual TQListViewItem *createItem(); }; //----------------------------------------------------------------------------- class ProjectWizard : public KWizard { Q_OBJECT + TQ_OBJECT public: - ProjectWizard(QWidget *parent); + ProjectWizard(TQWidget *tqparent); PURL::Url url() const; Project *project() const { return _project; } @@ -74,17 +76,17 @@ protected slots: virtual void done(int r); private: - QWidget *_first, *_second, *_third; + TQWidget *_first, *_second, *_third; KLineEdit *_name; PURL::DirectoryWidget *_directory; DeviceChooser::Button *_device; - KeyComboBox<QString> *_toolchain; - QButtonGroup *_bgroup; - QRadioButton *_templateButton, *_addButton; + KeyComboBox<TQString> *_toolchain; + TQButtonGroup *_bgroup; + TQRadioButton *_templateButton, *_addButton; FileListBox *_files; Project *_project; - QString device() const; + TQString device() const; const Tool::Group &toolchain() const; }; |