diff options
Diffstat (limited to 'src/tools/list/compile_manager.h')
-rw-r--r-- | src/tools/list/compile_manager.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/tools/list/compile_manager.h b/src/tools/list/compile_manager.h index 6f617b4..0d144e6 100644 --- a/src/tools/list/compile_manager.h +++ b/src/tools/list/compile_manager.h @@ -14,16 +14,17 @@ namespace Compile { -class Manager : public QObject, public Log::Base +class Manager : public TQObject, public Log::Base { Q_OBJECT + TQ_OBJECT public: enum Operation { NoOperation = 0, Clean = 1, CompileOnly = 2, Build = 4 }; - Q_DECLARE_FLAGS(Operations, Operation) + TQ_DECLARE_FLAGS(Operations, Operation) public: - Manager(QObject *parent); - QString label() const { return _label; } + Manager(TQObject *tqparent); + TQString label() const { return _label; } bool compileFile(const TodoItem &item); void cleanFile(const PURL::Url &url); bool buildProject(LinkType type); @@ -32,8 +33,8 @@ public: bool compileOnly() const { return (_operations & CompileOnly); } void processDone(); void processFailed(); - void log(Log::LineType type, const QString &message, const QString &filepath = QString::null, uint line = 0); - void log(Log::DebugLevel debug, const QString &message, const QString &filepath = QString::null, uint line = 0); + void log(Log::LineType type, const TQString &message, const TQString &filepath = TQString(), uint line = 0); + void log(Log::DebugLevel debug, const TQString &message, const TQString &filepath = TQString(), uint line = 0); signals: void success(); @@ -47,9 +48,9 @@ private: Operations _operations; enum Action { Compiling, Linking, BinToHex }; Action _action; - QValueList<TodoItem> _todo, _items; + TQValueList<TodoItem> _todo, _items; BaseProcess *_base; - QString _label; + TQString _label; LinkType _type; bool _wholeProject; uint _customCommandIndex; @@ -67,7 +68,7 @@ private: void startCustomCommand(); void executeCustomCommands(); }; -Q_DECLARE_OPERATORS_FOR_FLAGS(Manager::Operations) +TQ_DECLARE_OPERATORS_FOR_FLAGS(Manager::Operations) } // namespace |