summaryrefslogtreecommitdiffstats
path: root/src/piklab-coff/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/piklab-coff/main.h')
-rw-r--r--src/piklab-coff/main.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/piklab-coff/main.h b/src/piklab-coff/main.h
index 21ac319..343bd9b 100644
--- a/src/piklab-coff/main.h
+++ b/src/piklab-coff/main.h
@@ -19,13 +19,14 @@ namespace CLI
{
//----------------------------------------------------------------------------
enum CommandProperty { NoCommandProperty = 0, NeedSource = 1, NeedDestination = 2, NeedDevice = 4 };
-Q_DECLARE_FLAGS(CommandProperties, CommandProperty)
-Q_DECLARE_OPERATORS_FOR_FLAGS(CommandProperties)
+TQ_DECLARE_FLAGS(CommandProperties, CommandProperty)
+TQ_DECLARE_OPERATORS_FOR_FLAGS(CommandProperties)
//----------------------------------------------------------------------------
class Main : public MainBase
{
Q_OBJECT
+ TQ_OBJECT
public:
Main();
virtual ~Main();
@@ -34,17 +35,17 @@ private:
const Device::Data *_device;
PURL::Url _source, _dest;
- 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);
- ExitCode executeCommandArchive(const QString &command, Log::KeyList &keys);
- ExitCode executeCommandObject(const QString &command, Log::KeyList &keys);
- virtual QString executeGetCommand(const QString &property);
- virtual ExitCode list(const QString &listName);
+ virtual ExitCode executeSetCommand(const TQString &property, const TQString &value);
+ ExitCode executeCommandArchive(const TQString &command, Log::KeyList &keys);
+ ExitCode executeCommandObject(const TQString &command, Log::KeyList &keys);
+ virtual TQString executeGetCommand(const TQString &property);
+ virtual ExitCode list(const TQString &listName);
ExitCode deviceList();
- static QString prettyAuxSymbol(const Coff::AuxSymbol &aux);
- static QString prettySymbol(const Coff::Symbol &sym);
+ static TQString prettyAuxSymbol(const Coff::AuxSymbol &aux);
+ static TQString prettySymbol(const Coff::Symbol &sym);
};
} // namespace