diff options
Diffstat (limited to 'src/libgui/device_editor.h')
-rw-r--r-- | src/libgui/device_editor.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/libgui/device_editor.h b/src/libgui/device_editor.h index 8b7cab7..adbd2d0 100644 --- a/src/libgui/device_editor.h +++ b/src/libgui/device_editor.h @@ -15,29 +15,30 @@ namespace Device { class Data; } class DeviceEditor : public Editor { Q_OBJECT + TQ_OBJECT public: - DeviceEditor(const QString &title, const QString &tag, QWidget *parent, const char *name); - DeviceEditor(QWidget *parent, const char *name); + DeviceEditor(const TQString &title, const TQString &tag, TQWidget *tqparent, const char *name); + DeviceEditor(TQWidget *tqparent, const char *name); virtual PURL::FileType fileType() const { return PURL::Nb_FileTypes; } virtual PURL::Url url() const { return PURL::Url(); } virtual void setDevice(bool force = false); - static QString guessDeviceFromFile(const PURL::Url &url); + static TQString guessDeviceFromFile(const PURL::Url &url); virtual bool save(const PURL::Url &) { return false; } virtual bool open(const PURL::Url &) { return true; } - 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() { emit statusTextChanged(" "); } protected: - QString _device; - QWidget *_widget, *_view; - QVBoxLayout *_top, *_vbox; - QLabel *_labelDevice, *_labelWarning; + TQString _device; + TQWidget *_widget, *_view; + TQVBoxLayout *_top, *_vbox; + TQLabel *_labelDevice, *_labelWarning; void init(); - virtual QWidget *createView(const Device::Data *data, QWidget *parent) = 0; + virtual TQWidget *createView(const Device::Data *data, TQWidget *tqparent) = 0; static PURL::Url findAsmFile(const PURL::Url &url); private slots: |