summaryrefslogtreecommitdiffstats
path: root/src/tools/gputils/gputils_compile.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
commit0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch)
treeb95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/tools/gputils/gputils_compile.h
parentb79a2c28534cf09987eeeba3077fff9236df182a (diff)
downloadpiklab-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.h30
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