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/sdcc/sdcc.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/sdcc/sdcc.h')
-rw-r--r-- | src/tools/sdcc/sdcc.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tools/sdcc/sdcc.h b/src/tools/sdcc/sdcc.h index 3155273..f088bec 100644 --- a/src/tools/sdcc/sdcc.h +++ b/src/tools/sdcc/sdcc.h @@ -19,11 +19,11 @@ namespace SDCC class Base : public Tool::Base { public: - virtual QString baseExecutable(bool, Tool::OutputExecutableType) const { return "sdcc"; } + virtual TQString baseExecutable(bool, Tool::OutputExecutableType) const { return "sdcc"; } private: - virtual QStringList checkExecutableOptions(bool) const { return "-v"; } - virtual bool checkExecutableResult(bool withWine, QStringList &lines) const; + virtual TQStringList checkExecutableOptions(bool) const { return "-v"; } + virtual bool checkExecutableResult(bool withWine, TQStringList &lines) const; }; //---------------------------------------------------------------------------- @@ -31,9 +31,9 @@ class Group : public Tool::Group { public: Group(); - virtual QString name() const { return "sdcc"; } - virtual QString label() const { return i18n("Small Device C Compiler"); } - virtual QString informationText() const; + virtual TQString name() const { return "sdcc"; } + virtual TQString label() const { return i18n("Small Device C Compiler"); } + virtual TQString informationText() const; virtual const ::Tool::Base *base(Tool::Category category) const; virtual uint nbCheckDevices() const { return SDCC::Nb_Families; } virtual bool hasDirectory(Compile::DirectoryType type) const { return type==Compile::DirectoryType::Header || type==Compile::DirectoryType::LinkerScript; } @@ -43,16 +43,16 @@ public: virtual Tool::ExecutableType preferedExecutableType() const { return Tool::ExecutableType::Unix; } virtual Tool::CompileType compileType() const { return Tool::SeparateFiles; } virtual Tool::Category checkDevicesCategory() const { return Tool::Category::Compiler; } - virtual QStringList checkDevicesOptions(uint i) const; + virtual TQStringList checkDevicesOptions(uint i) const; virtual bool needs(bool withProject, Tool::Category category) const; virtual PURL::FileType implementationType(PURL::ToolType type) const; - virtual bool generateDebugInformation(const QString &device) const; + virtual bool generateDebugInformation(const TQString &device) const; private: Log::StringView _sview; PURL::TempFile _checkDevicesTmp; virtual BaseData baseFactory(Tool::Category category) const; - virtual QValueList<const Device::Data *> getSupportedDevices(const QString &s) const { return SDCC::getSupportedDevices(s); } + virtual TQValueList<const Device::Data *> getSupportedDevices(const TQString &s) const { return SDCC::getSupportedDevices(s); } virtual Compile::Process *processFactory(const Compile::Data &data) const; virtual Compile::Config *configFactory(::Project *project) const; virtual Tool::SourceGenerator *sourceGeneratorFactory() const; |