diff options
Diffstat (limited to 'src/piklab-hex/main.h')
-rw-r--r-- | src/piklab-hex/main.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/piklab-hex/main.h b/src/piklab-hex/main.h index 4689bff..212e175 100644 --- a/src/piklab-hex/main.h +++ b/src/piklab-hex/main.h @@ -24,8 +24,8 @@ namespace CLI //---------------------------------------------------------------------------- enum CommandProperty { NoCommandProperty = 0, NeedSource1 = 1, NeedDestination = 2, NeedSource2 = 4, NeedCorrectInput = 8, NeedDevice = 16 }; -Q_DECLARE_FLAGS(CommandProperties, CommandProperty) -Q_DECLARE_OPERATORS_FOR_FLAGS(CommandProperties) +TQ_DECLARE_FLAGS(CommandProperties, CommandProperty) +TQ_DECLARE_OPERATORS_FOR_FLAGS(CommandProperties) //---------------------------------------------------------------------------- struct FillOptions { @@ -37,6 +37,7 @@ extern const FillOptions FILL_OPTIONS[]; class Main : public MainBase { Q_OBJECT + TQ_OBJECT public: Main(); virtual ~Main(); @@ -45,17 +46,17 @@ private: PURL::Url _dest; HexBuffer _source1, _source2; HexBuffer::Format _format; - QValueList<HexBuffer::ErrorData> _errors; + TQValueList<HexBuffer::ErrorData> _errors; const Device::Data *_device; Device::Memory *_memory; - QString _fill; + TQString _fill; - virtual ExitCode prepareCommand(const QString &command); - virtual ExitCode executeCommand(const QString &command); + virtual ExitCode prepareCommand(const TQString &command); + virtual ExitCode executeCommand(const TQString &command); virtual ExitCode prepareRun(bool &interactive); - virtual ExitCode executeSetCommand(const QString &property, const QString &value); - virtual QString executeGetCommand(const QString &property); - virtual ExitCode list(const QString &listName); + virtual ExitCode executeSetCommand(const TQString &property, const TQString &value); + virtual TQString executeGetCommand(const TQString &property); + virtual ExitCode list(const TQString &listName); ExitCode deviceList(); ExitCode fillOptionList(); }; |