diff options
Diffstat (limited to 'src/libgui/hex_editor.h')
-rw-r--r-- | src/libgui/hex_editor.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/libgui/hex_editor.h b/src/libgui/hex_editor.h index 86b7f2c..9418a59 100644 --- a/src/libgui/hex_editor.h +++ b/src/libgui/hex_editor.h @@ -22,6 +22,7 @@ class HexEditor; class HexEditorPart : public KParts::ReadWritePart { Q_OBJECT + TQ_OBJECT public: HexEditorPart(HexEditor *editor); virtual void setReadWrite(bool readWrite); @@ -35,9 +36,10 @@ private: class HexEditor : public DeviceEditor { Q_OBJECT + TQ_OBJECT public: - HexEditor(const QString &name, QWidget *parent); - HexEditor(QWidget *parent); + HexEditor(const TQString &name, TQWidget *tqparent); + HexEditor(TQWidget *tqparent); virtual bool isModified() const { return _modified; } virtual bool isReadOnly() const { return !_part->isReadWrite(); } virtual ~HexEditor() { clear(); } @@ -52,8 +54,8 @@ public: virtual void addGui(); virtual void removeGui(); virtual void setFocus() {} - virtual QValueList<uint> bookmarkLines() const { return QValueList<uint>(); } - virtual void setBookmarkLines(const QValueList<uint> &) {} + virtual TQValueList<uint> bookmarkLines() const { return TQValueList<uint>(); } + virtual void setBookmarkLines(const TQValueList<uint> &) {} public slots: virtual void statusChanged(); @@ -69,10 +71,10 @@ private: HexEditorPart *_part; PURL::Url _url; - virtual void dropEvent(QDropEvent *e) { emit dropEventPass(e); } - bool save(const PURL::Url &url, const QString &fileErrorString); + virtual void dropEvent(TQDropEvent *e) { emit dropEventPass(e); } + bool save(const PURL::Url &url, const TQString &fileErrorString); bool verifyDeviceType(); - virtual QWidget *createView(const Device::Data *data, QWidget *parent); + virtual TQWidget *createView(const Device::Data *data, TQWidget *tqparent); virtual void setModifiedInternal(bool modified) { _modified = modified; } virtual void setReadOnlyInternal(bool readOnly); void display(); |