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/devices/gui/device_group_ui.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/devices/gui/device_group_ui.h')
-rw-r--r-- | src/devices/gui/device_group_ui.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/gui/device_group_ui.h b/src/devices/gui/device_group_ui.h index 3b2fa91..d123d7d 100644 --- a/src/devices/gui/device_group_ui.h +++ b/src/devices/gui/device_group_ui.h @@ -9,8 +9,8 @@ #ifndef DEVICE_GROUP_UI_H #define DEVICE_GROUP_UI_H -#include <qpixmap.h> -class QWidget; +#include <tqpixmap.h> +class TQWidget; class KPopupMenu; class KListViewItem; class KAction; @@ -31,11 +31,11 @@ class MemoryEditor; class GroupUI : public ::Group::BaseGui { public: - virtual HexView *createHexView(const HexEditor &editor, QWidget *parent) const = 0; - virtual Register::View *createRegisterView(QWidget *parent) const = 0; - virtual MemoryEditor *createConfigEditor(Device::Memory &memory, QWidget *parent) const = 0; - virtual void fillWatchListContainer(ListContainer *container, QValueVector<Register::TypeData> &ids) const = 0; - virtual Register::ListViewItem *createWatchItem(const Register::TypeData &data, KListViewItem *parent) const = 0; + virtual HexView *createHexView(const HexEditor &editor, TQWidget *tqparent) const = 0; + virtual Register::View *createRegisterView(TQWidget *tqparent) const = 0; + virtual MemoryEditor *createConfigEditor(Device::Memory &memory, TQWidget *tqparent) const = 0; + virtual void fillWatchListContainer(ListContainer *container, TQValueVector<Register::TypeData> &ids) const = 0; + virtual Register::ListViewItem *createWatchItem(const Register::TypeData &data, KListViewItem *tqparent) const = 0; }; inline const Device::GroupUI &groupui(const Device::Data &data) { return static_cast<const Device::GroupUI &>(*data.group().gui()); } |