diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-09 19:45:27 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-09 19:45:27 +0000 |
commit | f4f8ac034fa04404e2fcd5029ba050c537c07d7a (patch) | |
tree | 0daa81b0533ce203c33d5571dcb842257dba4cd0 /src/result.h | |
parent | 4488b6112c4e22493ed88c68035b980a5b42228d (diff) | |
download | abakus-f4f8ac034fa04404e2fcd5029ba050c537c07d7a.tar.gz abakus-f4f8ac034fa04404e2fcd5029ba050c537c07d7a.zip |
TQt4 port Abakus
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/abakus@1231045 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/result.h')
-rw-r--r-- | src/result.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/result.h b/src/result.h index 7c541da..49936f5 100644 --- a/src/result.h +++ b/src/result.h @@ -19,7 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include <qstring.h> +#include <tqstring.h> #include "node.h" #include "sharedptr.h" @@ -37,7 +37,7 @@ public: /** * Default constructor, which constructs a "failed" Result. */ - Result(const QString &message = ""); + Result(const TQString &message = ""); /** * Node constructor, which constructs a "succeeded" result. @@ -54,7 +54,7 @@ public: Type type() const { return m_type; } - QString message() const { return m_message; } + TQString message() const { return m_message; } const NodePtr result() const { return m_node; } NodePtr result() { return m_node; } @@ -68,7 +68,7 @@ public: private: NodePtr m_node; Type m_type; - QString m_message; + TQString m_message; static Result *m_lastResult; }; |