diff options
Diffstat (limited to 'src/devices/pic/gui/pic_config_word_editor.h')
-rw-r--r-- | src/devices/pic/gui/pic_config_word_editor.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/devices/pic/gui/pic_config_word_editor.h b/src/devices/pic/gui/pic_config_word_editor.h index 8f483c7..1b4077b 100644 --- a/src/devices/pic/gui/pic_config_word_editor.h +++ b/src/devices/pic/gui/pic_config_word_editor.h @@ -10,7 +10,7 @@ #ifndef PIC_CONFIG_WORD_EDITOR_H #define PIC_CONFIG_WORD_EDITOR_H -#include <qcombobox.h> +#include <tqcombobox.h> #include "common/gui/dialog.h" #include "common/gui/misc_gui.h" @@ -22,23 +22,25 @@ namespace Pic class ConfigWordDialog : public Dialog { Q_OBJECT + TQ_OBJECT public: - ConfigWordDialog(const Memory &memory, uint index, QWidget *parent); + ConfigWordDialog(const Memory &memory, uint index, TQWidget *tqparent); }; //---------------------------------------------------------------------------- class ConfigWordComboBox : public ComboBox { Q_OBJECT + TQ_OBJECT public: - ConfigWordComboBox(QWidget *parent); - void appendItem(const QString &text, uint index) { insertItem(text); _map.append(index); } + ConfigWordComboBox(TQWidget *tqparent); + void appendItem(const TQString &text, uint index) { insertItem(text); _map.append(index); } uint index() const; void setItem(uint index); - void setInvalidItem(uint index, const QString &label); + void setInvalidItem(uint index, const TQString &label); private: - QValueVector<uint> _map; // item index -> value index + TQValueVector<uint> _map; // item index -> value index uint _invalidIndex; // if invalid -> value index bool isValid() const { return uint(count())==_map.count(); } @@ -48,8 +50,9 @@ private: class ConfigWordEditor : public MemoryEditor { Q_OBJECT + TQ_OBJECT public: - ConfigWordEditor(Memory &memory, uint index, bool withWordEditor, QWidget *parent); + ConfigWordEditor(Memory &memory, uint index, bool withWordEditor, TQWidget *tqparent); virtual void setReadOnly(bool readOnly); public slots: @@ -62,7 +65,7 @@ private slots: private: uint _configIndex; MemoryRangeEditor *_mdb; - QValueVector<ConfigWordComboBox *> _combos; + TQValueVector<ConfigWordComboBox *> _combos; }; } // namespace |