summaryrefslogtreecommitdiffstats
path: root/libkcal/exceptions.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /libkcal/exceptions.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/exceptions.h')
-rw-r--r--libkcal/exceptions.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libkcal/exceptions.h b/libkcal/exceptions.h
index b86f513a6..1ae90d516 100644
--- a/libkcal/exceptions.h
+++ b/libkcal/exceptions.h
@@ -28,7 +28,7 @@
// returned by an error function, but we can build upon them, if we start
// to use C++ exceptions.
-#include <qstring.h>
+#include <tqstring.h>
namespace KCal {
@@ -42,16 +42,16 @@ class Exception
/**
Construct exception with descriptive message \a message.
*/
- Exception( const QString &message = QString::null );
+ Exception( const TQString &message = TQString::null );
virtual ~Exception();
/**
Return descriptive message of exception.
*/
- virtual QString message();
+ virtual TQString message();
protected:
- QString mMessage;
+ TQString mMessage;
private:
class Private;
@@ -74,12 +74,12 @@ class ErrorFormat : public Exception
/**
Create format error exception.
*/
- ErrorFormat( ErrorCodeFormat code, const QString &message = QString::null );
+ ErrorFormat( ErrorCodeFormat code, const TQString &message = TQString::null );
/**
Return format error message.
*/
- QString message();
+ TQString message();
/**
Return format error code.
*/