summaryrefslogtreecommitdiffstats
path: root/src/tools/sdcc/sdcc_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/sdcc/sdcc_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/sdcc/sdcc_compile.h')
-rw-r--r--src/tools/sdcc/sdcc_compile.h26
1 files changed, 15 insertions, 11 deletions
diff --git a/src/tools/sdcc/sdcc_compile.h b/src/tools/sdcc/sdcc_compile.h
index 8ba4c30..c5067e6 100644
--- a/src/tools/sdcc/sdcc_compile.h
+++ b/src/tools/sdcc/sdcc_compile.h
@@ -17,12 +17,13 @@ namespace SDCC
class Process : public Compile::Process
{
Q_OBJECT
+ TQ_OBJECT
protected:
- virtual QString deviceName() const;
- virtual QString familyName() const;
- virtual QStringList genericArguments(const Compile::Config &config) const;
- virtual QString outputFiles() const;
- virtual void logStderrLine(const QString &line);
+ virtual TQString deviceName() const;
+ virtual TQString familyName() const;
+ virtual TQStringList genericArguments(const Compile::Config &config) const;
+ virtual TQString outputFiles() const;
+ virtual void logStderrLine(const TQString &line);
virtual bool hasLinkerScript() const { return ( _data.linkType==Compile::Icd2Linking || Main::toolGroup().hasCustomLinkerScript(_data.project) ); }
};
@@ -30,27 +31,30 @@ protected:
class CompileStandaloneFile : public Process
{
Q_OBJECT
+ TQ_OBJECT
private:
- virtual QStringList genericArguments(const Compile::Config &config) const;
- virtual QString outputFiles() const;
+ virtual TQStringList genericArguments(const Compile::Config &config) const;
+ virtual TQString outputFiles() const;
};
//-----------------------------------------------------------------------------
class CompileProjectFile : public Process
{
Q_OBJECT
+ TQ_OBJECT
private:
- virtual QStringList genericArguments(const Compile::Config &config) const;
+ virtual TQStringList genericArguments(const Compile::Config &config) const;
};
//-----------------------------------------------------------------------------
class LinkProjectFile : public Process
{
Q_OBJECT
+ TQ_OBJECT
private:
- virtual QStringList genericArguments(const Compile::Config &config) const;
- virtual QString outputFiles() const;
- virtual QString objectExtension() const { return "o"; }
+ virtual TQStringList genericArguments(const Compile::Config &config) const;
+ virtual TQString outputFiles() const;
+ virtual TQString objectExtension() const { return "o"; }
};
} // namespace