summaryrefslogtreecommitdiffstats
path: root/src/progs/gpsim/base/gpsim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/gpsim/base/gpsim.h')
-rw-r--r--src/progs/gpsim/base/gpsim.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/progs/gpsim/base/gpsim.h b/src/progs/gpsim/base/gpsim.h
index ab004a3..fcdabab 100644
--- a/src/progs/gpsim/base/gpsim.h
+++ b/src/progs/gpsim/base/gpsim.h
@@ -20,6 +20,7 @@ namespace GPSim
class Process : public ::Process::LineOutput, public Log::Base
{
Q_OBJECT
+ TQ_OBJECT
public:
Process(Log::Base *base);
@@ -29,7 +30,7 @@ private slots:
private:
bool _ready;
- virtual void addStdoutLine(const QString &line);
+ virtual void addStdoutLine(const TQString &line);
friend class ProcessManager;
};
@@ -43,7 +44,7 @@ public:
bool isReady() const { return _process._ready; }
bool start();
bool runSynchronously();
- bool sendCommand(const QString &cmd, bool synchronous);
+ bool sendCommand(const TQString &cmd, bool synchronous);
bool sendSignal(uint n, bool synchronous);
bool getVersion(VersionData &version);
@@ -55,11 +56,11 @@ private:
class Hardware : public Programmer::Hardware
{
public:
- Hardware(::Programmer::Base &base) : Programmer::Hardware(base, 0, QString::null), _manager(0) {}
+ Hardware(::Programmer::Base &base) : Programmer::Hardware(base, 0, TQString()), _manager(0) {}
virtual ~Hardware();
bool isReady() const { return _manager->isReady(); }
- bool execute(const QString &command, bool synchronous, QStringList *output = 0);
- bool signal(uint n, bool synchronous, QStringList *output = 0);
+ bool execute(const TQString &command, bool synchronous, TQStringList *output = 0);
+ bool signal(uint n, bool synchronous, TQStringList *output = 0);
const VersionData &version() const { return _version; }
private: