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/mpc/mpc.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/tools/mpc/mpc.h') diff --git a/src/tools/mpc/mpc.h b/src/tools/mpc/mpc.h index a378307..754221a 100644 --- a/src/tools/mpc/mpc.h +++ b/src/tools/mpc/mpc.h @@ -18,26 +18,26 @@ namespace MPC class Base : public Tool::Base { public: - virtual QString baseExecutable(bool, Tool::OutputExecutableType) const { return "mpcw"; } + virtual TQString baseExecutable(bool, Tool::OutputExecutableType) const { return "mpcw"; } virtual bool checkExecutable() const { return false; } - virtual QStringList checkExecutableOptions(bool) const { return QStringList(); } - virtual bool checkExecutableResult(bool, QStringList &) const { return true; } + virtual TQStringList checkExecutableOptions(bool) const { return TQStringList(); } + virtual bool checkExecutableResult(bool, TQStringList &) const { return true; } }; //---------------------------------------------------------------------------- class Group : public Tool::Group { public: - virtual QString name() const { return "mpcw"; } - virtual QString label() const { return i18n("MPC Compiler"); } - virtual QString informationText() const; + virtual TQString name() const { return "mpcw"; } + virtual TQString label() const { return i18n("MPC Compiler"); } + virtual TQString informationText() const; virtual Tool::Category checkDevicesCategory() const { return Tool::Category::Nb_Types; } virtual Tool::ExecutableType preferedExecutableType() const { return Tool::ExecutableType::Windows; } virtual Tool::CompileType compileType() const { return Tool::SingleFile; } virtual PURL::FileType implementationType(PURL::ToolType type) const { return (type==PURL::ToolType::Compiler ? PURL::CSource : PURL::Nb_FileTypes); } private: - 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