diff options
Diffstat (limited to 'src/tools/base/tool_group.h')
-rw-r--r-- | src/tools/base/tool_group.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tools/base/tool_group.h b/src/tools/base/tool_group.h index c4adb84..86cfc64 100644 --- a/src/tools/base/tool_group.h +++ b/src/tools/base/tool_group.h @@ -28,10 +28,10 @@ public: static const char *CUSTOM_NAME; Group(); bool isCustom() const { return ( name()==CUSTOM_NAME ); } - virtual QString comment() const { return QString::null; } + virtual TQString comment() const { return TQString(); } virtual void init(); virtual const ::Tool::Base *base(Category category) const { return _bases[category].base; } - virtual QString informationText() const = 0; + virtual TQString informationText() const = 0; virtual ExecutableType preferedExecutableType() const = 0; virtual bool hasDirectory(Compile::DirectoryType) const { return false; } virtual PURL::FileType linkerScriptType() const { return PURL::Nb_FileTypes; } @@ -40,9 +40,9 @@ public: virtual uint nbCheckDevices() const { return 1; } bool hasCheckDevicesError() const { return _checkDevicesError; } virtual Tool::Category checkDevicesCategory() const = 0; - virtual QStringList checkDevicesOptions(uint) const { return QStringList(); } + virtual TQStringList checkDevicesOptions(uint) const { return TQStringList(); } ::Process::LineOutput *checkDevicesProcess(uint i, const PURL::Directory &execDir, bool withWine) const; - virtual QValueList<const Device::Data *> getSupportedDevices(const QString &s) const = 0; + virtual TQValueList<const Device::Data *> getSupportedDevices(const TQString &s) const = 0; virtual CompileType compileType() const = 0; virtual bool needs(bool withProject, Category category) const; Compile::Process *createCompileProcess(const Compile::Data &data, Compile::Manager *manager) const; @@ -52,9 +52,9 @@ public: virtual PURL::FileType implementationType(PURL::ToolType type) const = 0; virtual Compile::Process *processFactory(const Compile::Data &data) const = 0; const SourceGenerator *sourceGenerator() const { return _sourceGenerator; } - bool check(const QString &device, Log::Generic *log) const; + bool check(const TQString &device, Log::Generic *log) const; const VersionData &version() const { return _version; } - virtual bool generateDebugInformation(const QString &device) const { Q_UNUSED(device); return true; } + virtual bool generateDebugInformation(const TQString &device) const { Q_UNUSED(device); return true; } protected: enum NeedType { StandaloneOnly, ProjectOnly, Both }; @@ -67,15 +67,15 @@ protected: }; virtual void initSupported(); virtual BaseData baseFactory(Category category) const = 0; - virtual QString defaultLinkerScriptFilename(Compile::LinkType type, const QString &device) const; + virtual TQString defaultLinkerScriptFilename(Compile::LinkType type, const TQString &device) const; virtual Compile::Config *configFactory(::Project *project) const = 0; virtual SourceGenerator *sourceGeneratorFactory() const = 0; - bool checkExecutable(Tool::Category category, QStringList &lines); + bool checkExecutable(Tool::Category category, TQStringList &lines); virtual VersionData getToolchainVersion() { return VersionData(); } private: SourceGenerator *_sourceGenerator; - QMap<Category, BaseData> _bases; + TQMap<Category, BaseData> _bases; bool _checkDevicesError; VersionData _version; }; |