summaryrefslogtreecommitdiffstats
path: root/src/libgui/object_view.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
commit0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch)
treeb95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/libgui/object_view.h
parentb79a2c28534cf09987eeeba3077fff9236df182a (diff)
downloadpiklab-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/object_view.h')
-rw-r--r--src/libgui/object_view.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/libgui/object_view.h b/src/libgui/object_view.h
index 358101b..9b7ea65 100644
--- a/src/libgui/object_view.h
+++ b/src/libgui/object_view.h
@@ -24,8 +24,9 @@ class TextObject;
class BaseEditor : public SimpleTextEditor, public Log::Base
{
Q_OBJECT
+ TQ_OBJECT
public:
- BaseEditor(const PURL::Url &source, const Device::Data *data, QWidget *parent);
+ BaseEditor(const PURL::Url &source, const Device::Data *data, TQWidget *tqparent);
virtual ~BaseEditor();
virtual PURL::Url url() const { return _url; }
@@ -40,9 +41,10 @@ protected:
class CoffEditor : public BaseEditor
{
Q_OBJECT
+ TQ_OBJECT
public:
- CoffEditor(const PURL::Url &source, const Device::Data &data, QWidget *parent);
- CoffEditor(const TextObject &object, QWidget *parent);
+ CoffEditor(const PURL::Url &source, const Device::Data &data, TQWidget *tqparent);
+ CoffEditor(const TextObject &object, TQWidget *tqparent);
virtual PURL::FileType fileType() const { return PURL::Coff; }
virtual bool open(const PURL::Url &url);
@@ -54,8 +56,9 @@ private:
class ObjectEditor : public BaseEditor
{
Q_OBJECT
+ TQ_OBJECT
public:
- ObjectEditor(const PURL::Url &source, QWidget *parent);
+ ObjectEditor(const PURL::Url &source, TQWidget *tqparent);
virtual PURL::FileType fileType() const { return PURL::Unknown; }
virtual bool open(const PURL::Url &url);
@@ -67,8 +70,9 @@ private:
class LibraryEditor : public BaseEditor
{
Q_OBJECT
+ TQ_OBJECT
public:
- LibraryEditor(const PURL::Url &source, QWidget *parent);
+ LibraryEditor(const PURL::Url &source, TQWidget *tqparent);
virtual PURL::FileType fileType() const { return PURL::Unknown; }
virtual bool open(const PURL::Url &url);
@@ -82,9 +86,10 @@ private:
class DisassemblyEditor : public SimpleTextEditor, public Log::Base
{
Q_OBJECT
+ TQ_OBJECT
public:
- DisassemblyEditor(const PURL::Url &hexUrl, const Device::Data &data, QWidget *parent);
- DisassemblyEditor(const HexEditor &e, const Device::Data &data, QWidget *parent);
+ DisassemblyEditor(const PURL::Url &hexUrl, const Device::Data &data, TQWidget *tqparent);
+ DisassemblyEditor(const HexEditor &e, const Device::Data &data, TQWidget *tqparent);
virtual PURL::FileType fileType() const { return PURL::AsmGPAsm; }
virtual bool open(const PURL::Url &url);
virtual PURL::Url url() const { return _url; }