From 0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 30 Jun 2011 00:15:53 +0000 Subject: 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 --- src/tools/ccsc/ccsc.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/tools/ccsc/ccsc.h') diff --git a/src/tools/ccsc/ccsc.h b/src/tools/ccsc/ccsc.h index aef2005..dd8d286 100644 --- a/src/tools/ccsc/ccsc.h +++ b/src/tools/ccsc/ccsc.h @@ -18,11 +18,11 @@ namespace CCSC class Base : public Tool::Base { public: - virtual QString baseExecutable(bool, Tool::OutputExecutableType) const { return "ccsc"; } + virtual TQString baseExecutable(bool, Tool::OutputExecutableType) const { return "ccsc"; } private: - virtual QStringList checkExecutableOptions(bool withWine) const; - virtual bool checkExecutableResult(bool withWine, QStringList &lines) const; + virtual TQStringList checkExecutableOptions(bool withWine) const; + virtual bool checkExecutableResult(bool withWine, TQStringList &lines) const; virtual PURL::Directory checkExecutableWorkingDirectory() const; }; @@ -32,9 +32,9 @@ class Group : public Tool::Group public: Group(); PURL::Url checkExecutableUrl() const { return _checkExecTmp.url(); } - virtual QString name() const { return "ccsc"; } - virtual QString label() const { return i18n("CCS Compiler"); } - virtual QString informationText() const; + virtual TQString name() const { return "ccsc"; } + virtual TQString label() const { return i18n("CCS Compiler"); } + virtual TQString informationText() const; virtual Tool::Category checkDevicesCategory() const { return Tool::Category::Nb_Types; } virtual Tool::ExecutableType preferedExecutableType() const { return Tool::ExecutableType::Unix; } virtual Tool::CompileType compileType() const { return Tool::SingleFile; } @@ -44,7 +44,7 @@ private: Log::StringView _sview; PURL::TempFile _checkExecTmp; - virtual QValueList getSupportedDevices(const QString &s) const; + virtual TQValueList getSupportedDevices(const TQString &s) const; virtual Compile::Process *processFactory(const Compile::Data &data) const; virtual Compile::Config *configFactory(::Project *project) const; virtual BaseData baseFactory(Tool::Category) const; -- cgit v1.2.1