diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /lib/kross/api/exception.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kross/api/exception.h')
-rw-r--r-- | lib/kross/api/exception.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/kross/api/exception.h b/lib/kross/api/exception.h index 6ee9597b8..b0699bfb8 100644 --- a/lib/kross/api/exception.h +++ b/lib/kross/api/exception.h @@ -22,7 +22,7 @@ #include "object.h" -#include <qstring.h> +#include <tqstring.h> #include <ksharedptr.h> namespace Kross { namespace Api { @@ -51,7 +51,7 @@ namespace Kross { namespace Api { * \param lineno The liner number in the scripting * code where this exception got thrown. */ - Exception(const QString& error, long lineno = -1); + Exception(const TQString& error, long lineno = -1); /** * Destructor. @@ -59,26 +59,26 @@ namespace Kross { namespace Api { virtual ~Exception(); /// \see Kross::Api::Object::getClassName() - virtual const QString getClassName() const; + virtual const TQString getClassName() const; /// \see Kross::Api::Object::toString() - virtual const QString toString(); + virtual const TQString toString(); /** * \return the error message. */ - const QString getError() const; + const TQString getError() const; /** - * \return a more detailed tracemessage or QString::null if + * \return a more detailed tracemessage or TQString() if * there is no trace avaiable. */ - const QString getTrace() const; + const TQString getTrace() const; /** * Set a more detailed tracemessage. */ - void setTrace(const QString& tracemessage); + void setTrace(const TQString& tracemessage); /** * \return the line number in the scripting code @@ -89,9 +89,9 @@ namespace Kross { namespace Api { private: /// The error message. - QString m_error; + TQString m_error; /// The trace message. - QString m_trace; + TQString m_trace; /// The line number where the exception got thrown long m_lineno; }; |