From 0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 30 Jun 2011 00:15:53 +0000 Subject: 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 --- src/libgui/project.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/libgui/project.h') 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 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 bookmarkLines(const PURL::Url &url) const; // absolute filepath + TQValueList 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 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 &watched); - void setBookmarkLines(const PURL::Url &url, const QValueList &lines); // absolute filepath + void setWatchedRegisters(const TQValueList &watched); + void setBookmarkLines(const PURL::Url &url, const TQValueList &lines); // absolute filepath }; #endif -- cgit v1.2.1