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/tools/gputils/gputils_compile.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/tools/gputils/gputils_compile.h')
-rw-r--r-- | src/tools/gputils/gputils_compile.h | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/src/tools/gputils/gputils_compile.h b/src/tools/gputils/gputils_compile.h index a6a09c9..97706b1 100644 --- a/src/tools/gputils/gputils_compile.h +++ b/src/tools/gputils/gputils_compile.h @@ -17,8 +17,9 @@ namespace GPUtils class Process : public Compile::Process { Q_OBJECT + TQ_OBJECT private: - virtual QString deviceName() const; + virtual TQString deviceName() const; virtual bool hasLinkerScript() const { return ( _data.linkType==Compile::Icd2Linking || Compile::Process::hasLinkerScript() ); } }; @@ -26,46 +27,51 @@ private: class AssembleFile : public Process { Q_OBJECT + TQ_OBJECT private: - virtual void logStderrLine(const QString &line); + virtual void logStderrLine(const TQString &line); }; //----------------------------------------------------------------------------- class AssembleStandaloneFile : public AssembleFile { Q_OBJECT + TQ_OBJECT private: - virtual QString outputFiles() const; - virtual QStringList genericArguments(const Compile::Config &config) const; + virtual TQString outputFiles() const; + virtual TQStringList genericArguments(const Compile::Config &config) const; }; //----------------------------------------------------------------------------- class AssembleProjectFile : public AssembleFile { Q_OBJECT + TQ_OBJECT private: - virtual QString outputFiles() const; - virtual QStringList genericArguments(const Compile::Config &config) const; + virtual TQString outputFiles() const; + virtual TQStringList genericArguments(const Compile::Config &config) const; }; //----------------------------------------------------------------------------- class LinkProject : public Process { Q_OBJECT + TQ_OBJECT private: - virtual QString outputFiles() const; - virtual QStringList genericArguments(const Compile::Config &config) const; - virtual void logStderrLine(const QString &line) { doLog(filterType(line), line, QString::null, 0); } + virtual TQString outputFiles() const; + virtual TQStringList genericArguments(const Compile::Config &config) const; + virtual void logStderrLine(const TQString &line) { doLog(filterType(line), line, TQString(), 0); } }; //----------------------------------------------------------------------------- class LibraryProject : public Process { Q_OBJECT + TQ_OBJECT private: - virtual QString outputFiles() const; - virtual QStringList genericArguments(const Compile::Config &config) const; - virtual void logStderrLine(const QString &line) { doLog(filterType(line), line, QString::null, 0); } + virtual TQString outputFiles() const; + virtual TQStringList genericArguments(const Compile::Config &config) const; + virtual void logStderrLine(const TQString &line) { doLog(filterType(line), line, TQString(), 0); } }; } // namespace |