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/picc/picc.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/picc/picc.h')
-rw-r--r-- | src/tools/picc/picc.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/tools/picc/picc.h b/src/tools/picc/picc.h index af44d02..ec017b9 100644 --- a/src/tools/picc/picc.h +++ b/src/tools/picc/picc.h @@ -17,26 +17,26 @@ namespace PICC class Base : public Tool::Base { private: - virtual QStringList checkExecutableOptions(bool) const { return "--ver"; } - virtual bool checkExecutableResult(bool withWine, QStringList &lines) const; + virtual TQStringList checkExecutableOptions(bool) const { return "--ver"; } + virtual bool checkExecutableResult(bool withWine, TQStringList &lines) const; }; class BaseLite : public Base { public: - virtual QString baseExecutable(bool, Tool::OutputExecutableType) const; + virtual TQString baseExecutable(bool, Tool::OutputExecutableType) const; }; class BaseNormal : public Base { public: - virtual QString baseExecutable(bool, Tool::OutputExecutableType) const; + virtual TQString baseExecutable(bool, Tool::OutputExecutableType) const; }; class Base18 : public Base { public: - virtual QString baseExecutable(bool, Tool::OutputExecutableType) const; + virtual TQString baseExecutable(bool, Tool::OutputExecutableType) const; }; //---------------------------------------------------------------------------- @@ -44,13 +44,13 @@ class Group : public Tool::Group { public: virtual Tool::Category checkDevicesCategory() const { return Tool::Category::Compiler; } - virtual QStringList checkDevicesOptions(uint) const { return "--CHIPINFO"; } + virtual TQStringList checkDevicesOptions(uint) const { return "--CHIPINFO"; } virtual Tool::ExecutableType preferedExecutableType() const { return Tool::ExecutableType::Unix; } virtual Tool::CompileType compileType() const { return Tool::SeparateFiles; } virtual PURL::FileType implementationType(PURL::ToolType type) const; private: - virtual QValueList<const Device::Data *> getSupportedDevices(const QString &s) const; + virtual TQValueList<const Device::Data *> getSupportedDevices(const TQString &s) const; virtual Compile::Process *processFactory(const Compile::Data &data) const; virtual Compile::Config *configFactory(::Project *project) const; virtual Tool::SourceGenerator *sourceGeneratorFactory() const { /*TODO*/ return 0; } @@ -60,9 +60,9 @@ private: class PICCLiteGroup : public Group { public: - virtual QString name() const { return "picclite"; } - virtual QString label() const { return i18n("PICC Lite Compiler"); } - virtual QString informationText() const; + virtual TQString name() const { return "picclite"; } + virtual TQString label() const { return i18n("PICC Lite Compiler"); } + virtual TQString informationText() const; private: virtual BaseData baseFactory(Tool::Category) const; @@ -72,9 +72,9 @@ private: class PICCGroup : public Group { public: - virtual QString name() const { return "picc"; } - virtual QString label() const { return i18n("PICC Compiler"); } - virtual QString informationText() const; + virtual TQString name() const { return "picc"; } + virtual TQString label() const { return i18n("PICC Compiler"); } + virtual TQString informationText() const; private: virtual BaseData baseFactory(Tool::Category) const; @@ -84,9 +84,9 @@ private: class PICC18Group : public Group { public: - virtual QString name() const { return "picc18"; } - virtual QString label() const { return i18n("PICC-18 Compiler"); } - virtual QString informationText() const; + virtual TQString name() const { return "picc18"; } + virtual TQString label() const { return i18n("PICC-18 Compiler"); } + virtual TQString informationText() const; private: virtual BaseData baseFactory(Tool::Category) const; |