summaryrefslogtreecommitdiffstats
path: root/src/tools/base/generic_tool.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
commit0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch)
treeb95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/tools/base/generic_tool.h
parentb79a2c28534cf09987eeeba3077fff9236df182a (diff)
downloadpiklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.tar.gz
piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.zip
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
Diffstat (limited to 'src/tools/base/generic_tool.h')
-rw-r--r--src/tools/base/generic_tool.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/base/generic_tool.h b/src/tools/base/generic_tool.h
index 3b3299d..86cd3f2 100644
--- a/src/tools/base/generic_tool.h
+++ b/src/tools/base/generic_tool.h
@@ -47,11 +47,11 @@ namespace Compile
class Data {
public:
Data() {}
- Data(Tool::Category c, const QValueList<TodoItem> &i, const QString &d, const Project *p, LinkType lt)
+ Data(Tool::Category c, const TQValueList<TodoItem> &i, const TQString &d, const Project *p, LinkType lt)
: category(c), items(i), device(d), project(p), linkType(lt) {}
Tool::Category category;
- QValueList<TodoItem> items;
- QString device;
+ TQValueList<TodoItem> items;
+ TQString device;
const Project *project;
LinkType linkType;
};
@@ -84,13 +84,13 @@ class Base
public:
virtual ~Base() {}
const Group &group() const { return *_group; }
- virtual QString baseExecutable(bool withWine, OutputExecutableType type) const = 0;
+ virtual TQString baseExecutable(bool withWine, OutputExecutableType type) const = 0;
PURL::Directory executableDirectory() const;
virtual bool checkExecutable() const { return true; }
- virtual QStringList checkExecutableOptions(bool withWine) const = 0;
+ virtual TQStringList checkExecutableOptions(bool withWine) const = 0;
virtual PURL::Directory checkExecutableWorkingDirectory() const { return PURL::Directory(); }
virtual ::Process::LineOutput *checkExecutableProcess(const PURL::Directory &dir, bool withWine, OutputExecutableType type) const;
- virtual bool checkExecutableResult(bool withWine, QStringList &lines) const = 0;
+ virtual bool checkExecutableResult(bool withWine, TQStringList &lines) const = 0;
protected:
Category _category;