diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 00:15:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 00:15:53 +0000 |
commit | 0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch) | |
tree | b95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/progs/gpsim/base/gpsim.h | |
parent | b79a2c28534cf09987eeeba3077fff9236df182a (diff) | |
download | piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.tar.gz piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.zip |
TQt4 port piklab
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1238822 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/progs/gpsim/base/gpsim.h')
-rw-r--r-- | src/progs/gpsim/base/gpsim.h | 11 |
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: |