From 0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 30 Jun 2011 00:15:53 +0000 Subject: 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 --- src/libgui/object_view.h | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'src/libgui/object_view.h') 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; } -- cgit v1.2.1