diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 00:15:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 00:15:53 +0000 |
commit | 0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch) | |
tree | b95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/libgui/project.h | |
parent | b79a2c28534cf09987eeeba3077fff9236df182a (diff) | |
download | piklab-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/libgui/project.h')
-rw-r--r-- | src/libgui/project.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/libgui/project.h b/src/libgui/project.h index 0dfdeab..b8bf491 100644 --- a/src/libgui/project.h +++ b/src/libgui/project.h @@ -18,32 +18,32 @@ class Project : public XmlDataFile { public: Project(const PURL::Url &url) : XmlDataFile(url, "piklab") {} - virtual bool load(QString &error); + virtual bool load(TQString &error); PURL::Directory directory() const { return url().directory(); } - QString name() const { return url().basename(); } + TQString name() const { return url().basename(); } PURL::UrlList absoluteFiles() const; - QString version() const; - QString description() const; + TQString version() const; + TQString description() const; Tool::OutputType outputType() const; PURL::UrlList openedFiles() const; PURL::Url customLinkerScript() const; - QValueList<Register::TypeData> watchedRegisters() const; - QString toSourceObject(const PURL::Url &url, const QString &extension, bool forWindows) const; - QStringList objectsForLinker(const QString &extension, bool forWindows) const; - QStringList librariesForLinker(const QString &prefix, bool forWindows) const; - QValueList<uint> bookmarkLines(const PURL::Url &url) const; // absolute filepath + TQValueList<Register::TypeData> watchedRegisters() const; + TQString toSourceObject(const PURL::Url &url, const TQString &extension, bool forWindows) const; + TQStringList objectsForLinker(const TQString &extension, bool forWindows) const; + TQStringList librariesForLinker(const TQString &prefix, bool forWindows) const; + TQValueList<uint> bookmarkLines(const PURL::Url &url) const; // absolute filepath void removeFile(const PURL::Url &url); // take absolute filepath (but inside project dir) void addFile(const PURL::Url &url); // take absolute filePath (but inside project dir) void clearFiles(); - void setVersion(const QString &version); - void setDescription(const QString &description); + void setVersion(const TQString &version); + void setDescription(const TQString &description); void setOutputType(Tool::OutputType type); void setOpenedFiles(const PURL::UrlList &list); void setCustomLinkerScript(const PURL::Url &url); - void setWatchedRegisters(const QValueList<Register::TypeData> &watched); - void setBookmarkLines(const PURL::Url &url, const QValueList<uint> &lines); // absolute filepath + void setWatchedRegisters(const TQValueList<Register::TypeData> &watched); + void setBookmarkLines(const PURL::Url &url, const TQValueList<uint> &lines); // absolute filepath }; #endif |