diff options
Diffstat (limited to 'src/tools')
28 files changed, 61 insertions, 61 deletions
diff --git a/src/tools/boost/boostc_compile.h b/src/tools/boost/boostc_compile.h index a6a95d1..75d1497 100644 --- a/src/tools/boost/boostc_compile.h +++ b/src/tools/boost/boostc_compile.h @@ -17,7 +17,7 @@ namespace Boost class Process : public Compile::Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString deviceName() const { return "PIC" + _data.device; } virtual void logStderrLine(const TQString &line); @@ -27,7 +27,7 @@ protected: class CompileFile : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQStringList genericArguments(const Compile::Config &config) const; virtual TQString outputFiles() const; @@ -37,7 +37,7 @@ protected: class Link : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString objectExtension() const { return "obj"; } virtual TQStringList genericArguments(const Compile::Config &config) const; diff --git a/src/tools/boost/gui/boost_ui.h b/src/tools/boost/gui/boost_ui.h index daa5047..0b42482 100644 --- a/src/tools/boost/gui/boost_ui.h +++ b/src/tools/boost/gui/boost_ui.h @@ -18,7 +18,7 @@ namespace Boost class ConfigWidget : public ToolConfigWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(Project *project); virtual void initEntries(); diff --git a/src/tools/c18/c18_compile.h b/src/tools/c18/c18_compile.h index 1d690df..7c303e2 100644 --- a/src/tools/c18/c18_compile.h +++ b/src/tools/c18/c18_compile.h @@ -17,7 +17,7 @@ namespace C18 class Process : public Compile::Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString deviceName() const { return _data.device.lower(); } }; @@ -26,7 +26,7 @@ protected: class CompileFile : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQStringList genericArguments(const Compile::Config &config) const; virtual TQString outputFiles() const; @@ -37,7 +37,7 @@ protected: class Link : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQStringList genericArguments(const Compile::Config &config) const; virtual TQString outputFiles() const; diff --git a/src/tools/c18/gui/c18_ui.h b/src/tools/c18/gui/c18_ui.h index 8ccb638..d384956 100644 --- a/src/tools/c18/gui/c18_ui.h +++ b/src/tools/c18/gui/c18_ui.h @@ -18,7 +18,7 @@ namespace C18 class ConfigWidget : public ToolConfigWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(Project *project); diff --git a/src/tools/cc5x/cc5x_compile.h b/src/tools/cc5x/cc5x_compile.h index e17bb6f..ea6cbb3 100644 --- a/src/tools/cc5x/cc5x_compile.h +++ b/src/tools/cc5x/cc5x_compile.h @@ -17,7 +17,7 @@ namespace CC5X class CompileFile : public Compile::Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString deviceName() const { return TQString(); } virtual TQStringList genericArguments(const Compile::Config &config) const; diff --git a/src/tools/cc5x/gui/cc5x_ui.h b/src/tools/cc5x/gui/cc5x_ui.h index f234643..e179170 100644 --- a/src/tools/cc5x/gui/cc5x_ui.h +++ b/src/tools/cc5x/gui/cc5x_ui.h @@ -18,7 +18,7 @@ namespace CC5X class ConfigWidget : public ToolConfigWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(Project *project); virtual void initEntries(); diff --git a/src/tools/ccsc/ccsc_compile.h b/src/tools/ccsc/ccsc_compile.h index 949714b..c108678 100644 --- a/src/tools/ccsc/ccsc_compile.h +++ b/src/tools/ccsc/ccsc_compile.h @@ -17,7 +17,7 @@ namespace CCSC class CompileFile : public Compile::Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString deviceName() const { return TQString(); } virtual TQString familyName() const; diff --git a/src/tools/ccsc/gui/ccsc_ui.h b/src/tools/ccsc/gui/ccsc_ui.h index 298dcf6..02233bb 100644 --- a/src/tools/ccsc/gui/ccsc_ui.h +++ b/src/tools/ccsc/gui/ccsc_ui.h @@ -18,7 +18,7 @@ namespace CCSC class ConfigWidget : public ToolConfigWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(Project *project); virtual void initEntries(); diff --git a/src/tools/gputils/gputils_compile.h b/src/tools/gputils/gputils_compile.h index 97706b1..5207389 100644 --- a/src/tools/gputils/gputils_compile.h +++ b/src/tools/gputils/gputils_compile.h @@ -17,7 +17,7 @@ namespace GPUtils class Process : public Compile::Process { Q_OBJECT - TQ_OBJECT + private: virtual TQString deviceName() const; virtual bool hasLinkerScript() const { return ( _data.linkType==Compile::Icd2Linking || Compile::Process::hasLinkerScript() ); } @@ -27,7 +27,7 @@ private: class AssembleFile : public Process { Q_OBJECT - TQ_OBJECT + private: virtual void logStderrLine(const TQString &line); }; @@ -36,7 +36,7 @@ private: class AssembleStandaloneFile : public AssembleFile { Q_OBJECT - TQ_OBJECT + private: virtual TQString outputFiles() const; virtual TQStringList genericArguments(const Compile::Config &config) const; @@ -46,7 +46,7 @@ private: class AssembleProjectFile : public AssembleFile { Q_OBJECT - TQ_OBJECT + private: virtual TQString outputFiles() const; virtual TQStringList genericArguments(const Compile::Config &config) const; @@ -56,7 +56,7 @@ private: class LinkProject : public Process { Q_OBJECT - TQ_OBJECT + private: virtual TQString outputFiles() const; virtual TQStringList genericArguments(const Compile::Config &config) const; @@ -67,7 +67,7 @@ private: class LibraryProject : public Process { Q_OBJECT - TQ_OBJECT + private: virtual TQString outputFiles() const; virtual TQStringList genericArguments(const Compile::Config &config) const; diff --git a/src/tools/gputils/gui/gputils_ui.h b/src/tools/gputils/gui/gputils_ui.h index 70b88ff..e770f8e 100644 --- a/src/tools/gputils/gui/gputils_ui.h +++ b/src/tools/gputils/gui/gputils_ui.h @@ -19,7 +19,7 @@ namespace GPUtils class ConfigWidget : public ToolConfigWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(Project *project); virtual void initEntries(); diff --git a/src/tools/gui/tool_config_widget.h b/src/tools/gui/tool_config_widget.h index f9239b3..a0408e2 100644 --- a/src/tools/gui/tool_config_widget.h +++ b/src/tools/gui/tool_config_widget.h @@ -27,7 +27,7 @@ namespace PURL { class DirectoriesWidget; } class ToolConfigWidget : public ::ConfigWidget { Q_OBJECT - TQ_OBJECT + public: ToolConfigWidget(Project *project); void init(Tool::Category category, const Tool::Group &group); diff --git a/src/tools/gui/toolchain_config_center.h b/src/tools/gui/toolchain_config_center.h index ee5db0a..0c2067d 100644 --- a/src/tools/gui/toolchain_config_center.h +++ b/src/tools/gui/toolchain_config_center.h @@ -22,7 +22,7 @@ class ToolchainConfigWidget; class ToolchainsConfigCenter : public TreeListDialog { Q_OBJECT - TQ_OBJECT + public: ToolchainsConfigCenter(const Tool::Group &group, TQWidget *parent); diff --git a/src/tools/gui/toolchain_config_widget.h b/src/tools/gui/toolchain_config_widget.h index 681fd98..b7b9010 100644 --- a/src/tools/gui/toolchain_config_widget.h +++ b/src/tools/gui/toolchain_config_widget.h @@ -26,7 +26,7 @@ namespace Tool { class Group; } class ToolchainConfigWidget : public ::ConfigWidget { Q_OBJECT - TQ_OBJECT + public: ToolchainConfigWidget(const Tool::Group &group, TQWidget *parent); virtual ~ToolchainConfigWidget(); diff --git a/src/tools/jal/gui/jal_ui.h b/src/tools/jal/gui/jal_ui.h index d87d3e2..3788c87 100644 --- a/src/tools/jal/gui/jal_ui.h +++ b/src/tools/jal/gui/jal_ui.h @@ -18,7 +18,7 @@ namespace JAL class ConfigWidget : public ToolConfigWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(Project *project); virtual void initEntries() {} diff --git a/src/tools/jal/jal_compile.h b/src/tools/jal/jal_compile.h index c3fae70..ca32add 100644 --- a/src/tools/jal/jal_compile.h +++ b/src/tools/jal/jal_compile.h @@ -17,7 +17,7 @@ namespace JAL class CompileFile : public Compile::Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString deviceName() const { return _data.device; } virtual void logStderrLine(const TQString &line); diff --git a/src/tools/jalv2/gui/jalv2_ui.h b/src/tools/jalv2/gui/jalv2_ui.h index 4944860..548203e 100644 --- a/src/tools/jalv2/gui/jalv2_ui.h +++ b/src/tools/jalv2/gui/jalv2_ui.h @@ -18,7 +18,7 @@ namespace JALV2 class ConfigWidget : public ToolConfigWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(Project *project); virtual void initEntries(); diff --git a/src/tools/jalv2/jalv2_compile.h b/src/tools/jalv2/jalv2_compile.h index d145c4b..a997709 100644 --- a/src/tools/jalv2/jalv2_compile.h +++ b/src/tools/jalv2/jalv2_compile.h @@ -16,7 +16,7 @@ namespace JALV2 class CompileFile : public Compile::Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString deviceName() const { return _data.device; } virtual void logStderrLine(const TQString &line); diff --git a/src/tools/list/compile_manager.h b/src/tools/list/compile_manager.h index e7b4383..fd50b3f 100644 --- a/src/tools/list/compile_manager.h +++ b/src/tools/list/compile_manager.h @@ -17,7 +17,7 @@ namespace Compile class Manager : public TQObject, public Log::Base { Q_OBJECT - TQ_OBJECT + public: enum Operation { NoOperation = 0, Clean = 1, CompileOnly = 2, Build = 4 }; TQ_DECLARE_FLAGS(Operations, Operation) diff --git a/src/tools/list/compile_process.h b/src/tools/list/compile_process.h index 2c71af0..7777ac8 100644 --- a/src/tools/list/compile_process.h +++ b/src/tools/list/compile_process.h @@ -63,7 +63,7 @@ namespace Compile class LogWidget : public Log::Widget { Q_OBJECT - TQ_OBJECT + public: LogWidget(TQWidget *parent); void appendLine(Log::LineType type, const TQString &message, const TQString &filepath, uint line); @@ -88,7 +88,7 @@ private: class BaseProcess : public TQObject { Q_OBJECT - TQ_OBJECT + public: BaseProcess(); virtual void init(const Data &data, Manager *manager); @@ -121,7 +121,7 @@ protected slots: class Process : public BaseProcess { Q_OBJECT - TQ_OBJECT + public: virtual ~Process(); virtual void init(const Data &data, Manager *manager); @@ -162,7 +162,7 @@ private: class CustomProcess : public BaseProcess { Q_OBJECT - TQ_OBJECT + public: CustomProcess(const TQString &command) : _command(command) {} virtual bool check() const { return true; } diff --git a/src/tools/list/tools_config_widget.h b/src/tools/list/tools_config_widget.h index 525aff0..6ed4fa5 100644 --- a/src/tools/list/tools_config_widget.h +++ b/src/tools/list/tools_config_widget.h @@ -26,7 +26,7 @@ class ToolConfigWidget; class HelpDialog : public Dialog { Q_OBJECT - TQ_OBJECT + public: HelpDialog(TQWidget *parent); }; @@ -35,7 +35,7 @@ public: class ToolsConfigWidget : public ConfigWidget { Q_OBJECT - TQ_OBJECT + public: ToolsConfigWidget(Project *project, TQWidget *parent); virtual void loadConfig(); diff --git a/src/tools/mpc/gui/mpc_ui.h b/src/tools/mpc/gui/mpc_ui.h index 38c0e7b..be476cc 100644 --- a/src/tools/mpc/gui/mpc_ui.h +++ b/src/tools/mpc/gui/mpc_ui.h @@ -18,7 +18,7 @@ namespace MPC class ConfigWidget : public ToolConfigWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(Project *project); virtual void initEntries() {} diff --git a/src/tools/mpc/mpc_compile.h b/src/tools/mpc/mpc_compile.h index 5744f1b..4a85be4 100644 --- a/src/tools/mpc/mpc_compile.h +++ b/src/tools/mpc/mpc_compile.h @@ -17,7 +17,7 @@ namespace MPC class CompileFile : public Compile::Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString deviceName() const { return TQString(); } virtual TQStringList genericArguments(const Compile::Config &config) const; diff --git a/src/tools/pic30/gui/pic30_ui.h b/src/tools/pic30/gui/pic30_ui.h index 85f798c..7bb1c0d 100644 --- a/src/tools/pic30/gui/pic30_ui.h +++ b/src/tools/pic30/gui/pic30_ui.h @@ -19,7 +19,7 @@ namespace PIC30 class ConfigWidget : public ToolConfigWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(Project *project); virtual void initEntries(); diff --git a/src/tools/pic30/pic30_compile.h b/src/tools/pic30/pic30_compile.h index 39bc243..f65316c 100644 --- a/src/tools/pic30/pic30_compile.h +++ b/src/tools/pic30/pic30_compile.h @@ -17,7 +17,7 @@ namespace PIC30 class Process : public Compile::Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString deviceName() const { return _data.device; } }; @@ -26,7 +26,7 @@ protected: class CompileFile : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQStringList genericArguments(const Compile::Config &config) const; virtual TQString outputFiles() const; @@ -37,7 +37,7 @@ protected: class CompileStandaloneFile : public CompileFile { Q_OBJECT - TQ_OBJECT + protected: virtual TQStringList genericArguments(const Compile::Config &config) const; virtual TQString outputFiles() const; @@ -47,7 +47,7 @@ protected: class CompileProjectFile : public CompileFile { Q_OBJECT - TQ_OBJECT + protected: virtual TQStringList genericArguments(const Compile::Config &config) const; }; @@ -56,7 +56,7 @@ protected: class AssembleFile : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString outputFilepath() const { return filepath(PURL::Object); } virtual TQStringList genericArguments(const Compile::Config &config) const; @@ -68,7 +68,7 @@ protected: class AssembleStandaloneFile : public AssembleFile { Q_OBJECT - TQ_OBJECT + protected: virtual TQStringList genericArguments(const Compile::Config &config) const; }; @@ -77,7 +77,7 @@ protected: class AssembleProjectFile : public AssembleFile { Q_OBJECT - TQ_OBJECT + protected: virtual TQStringList genericArguments(const Compile::Config &config) const; }; @@ -86,7 +86,7 @@ protected: class Link : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString outputFilepath() const; virtual TQStringList genericArguments(const Compile::Config &config) const; @@ -98,7 +98,7 @@ protected: class LinkStandalone : public Link { Q_OBJECT - TQ_OBJECT + protected: virtual TQStringList genericArguments(const Compile::Config &config) const; }; @@ -107,7 +107,7 @@ protected: class LinkProject : public Link { Q_OBJECT - TQ_OBJECT + protected: virtual TQStringList genericArguments(const Compile::Config &config) const; }; @@ -116,7 +116,7 @@ protected: class LibraryProject : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQStringList genericArguments(const Compile::Config &config) const; virtual TQString outputFiles() const; @@ -127,7 +127,7 @@ protected: class BinToHex : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString inputFilepath(uint i) const; virtual TQStringList genericArguments(const Compile::Config &config) const; diff --git a/src/tools/picc/gui/picc_ui.h b/src/tools/picc/gui/picc_ui.h index 261e4dc..f3f6b96 100644 --- a/src/tools/picc/gui/picc_ui.h +++ b/src/tools/picc/gui/picc_ui.h @@ -18,7 +18,7 @@ namespace PICC class ConfigWidget : public ToolConfigWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(Project *project); virtual void initEntries(); diff --git a/src/tools/picc/picc_compile.h b/src/tools/picc/picc_compile.h index 972a6d0..7613a21 100644 --- a/src/tools/picc/picc_compile.h +++ b/src/tools/picc/picc_compile.h @@ -17,7 +17,7 @@ namespace PICC class Process : public Compile::Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString deviceName() const { return _data.device; } virtual TQStringList genericArguments(const Compile::Config &config) const; @@ -29,7 +29,7 @@ protected: class CompileStandaloneFile : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString outputFiles() const; virtual TQStringList genericArguments(const Compile::Config &config) const; @@ -39,7 +39,7 @@ protected: class CompileProjectFile : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString outputFiles() const; virtual TQStringList genericArguments(const Compile::Config &config) const; @@ -49,7 +49,7 @@ protected: class AssembleStandaloneFile : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString outputFiles() const; virtual TQStringList genericArguments(const Compile::Config &config) const; @@ -59,7 +59,7 @@ protected: class AssembleProjectFile : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString outputFiles() const; virtual TQStringList genericArguments(const Compile::Config &config) const; @@ -69,7 +69,7 @@ protected: class LinkProject : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString outputFiles() const; virtual TQStringList genericArguments(const Compile::Config &config) const; @@ -79,7 +79,7 @@ protected: class LibraryProject : public Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString outputFiles() const; virtual TQStringList genericArguments(const Compile::Config &config) const; diff --git a/src/tools/sdcc/gui/sdcc_ui.h b/src/tools/sdcc/gui/sdcc_ui.h index 1b39fce..7c765c6 100644 --- a/src/tools/sdcc/gui/sdcc_ui.h +++ b/src/tools/sdcc/gui/sdcc_ui.h @@ -18,7 +18,7 @@ namespace SDCC class ConfigWidget : public ToolConfigWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(Project *project); virtual void initEntries(); diff --git a/src/tools/sdcc/sdcc_compile.h b/src/tools/sdcc/sdcc_compile.h index c5067e6..693af3c 100644 --- a/src/tools/sdcc/sdcc_compile.h +++ b/src/tools/sdcc/sdcc_compile.h @@ -17,7 +17,7 @@ namespace SDCC class Process : public Compile::Process { Q_OBJECT - TQ_OBJECT + protected: virtual TQString deviceName() const; virtual TQString familyName() const; @@ -31,7 +31,7 @@ protected: class CompileStandaloneFile : public Process { Q_OBJECT - TQ_OBJECT + private: virtual TQStringList genericArguments(const Compile::Config &config) const; virtual TQString outputFiles() const; @@ -41,7 +41,7 @@ private: class CompileProjectFile : public Process { Q_OBJECT - TQ_OBJECT + private: virtual TQStringList genericArguments(const Compile::Config &config) const; }; @@ -50,7 +50,7 @@ private: class LinkProjectFile : public Process { Q_OBJECT - TQ_OBJECT + private: virtual TQStringList genericArguments(const Compile::Config &config) const; virtual TQString outputFiles() const; |