summaryrefslogtreecommitdiffstats
path: root/src/piklab-prog/cli_interactive.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/piklab-prog/cli_interactive.h')
-rw-r--r--src/piklab-prog/cli_interactive.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/piklab-prog/cli_interactive.h b/src/piklab-prog/cli_interactive.h
index fad6e9d..8509fc0 100644
--- a/src/piklab-prog/cli_interactive.h
+++ b/src/piklab-prog/cli_interactive.h
@@ -9,7 +9,7 @@
#ifndef CLI_INTERACTIVE_H
#define CLI_INTERACTIVE_H
-#include <qfile.h>
+#include <tqfile.h>
#include "common/global/global.h"
#include "common/cli/cli_global.h"
#include "common/global/log.h"
@@ -20,30 +20,31 @@ namespace CLI
//----------------------------------------------------------------------------
enum CommandProperty { NoCommandProperty = 0, NeedProgrammer = 1, InputHex = 2,
OutputHex = 4, NeedDevice = 8 };
-Q_DECLARE_FLAGS(CommandProperties, CommandProperty)
-Q_DECLARE_OPERATORS_FOR_FLAGS(CommandProperties)
+TQ_DECLARE_FLAGS(CommandProperties, CommandProperty)
+TQ_DECLARE_OPERATORS_FOR_FLAGS(CommandProperties)
//----------------------------------------------------------------------------
-class Interactive : public QObject, public Log::Base
+class Interactive : public TQObject, public Log::Base
{
Q_OBJECT
+ TQ_OBJECT
public:
- Interactive(QObject *parent);
+ Interactive(TQObject *tqparent);
void redisplayPrompt();
private slots:
void displayPrompt();
private:
- QFile _stdin;
- QString _input;
+ TQFile _stdin;
+ TQString _input;
void lineRead();
- ExitCode processLine(const QString &s);
- ExitCode executeRegister(const QString &name, const QString &value);
+ ExitCode processLine(const TQString &s);
+ ExitCode executeRegister(const TQString &name, const TQString &value);
ExitCode registerList();
ExitCode variableList();
- ExitCode executeRawCommands(const QString &filename);
- Address findRegisterAddress(const QString &name);
+ ExitCode executeRawCommands(const TQString &filename);
+ Address findRegisterAddress(const TQString &name);
ExitCode start();
static void signalHandler(int n);
};