summaryrefslogtreecommitdiffstats
path: root/libkcal/exceptions.cpp
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.cpp
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.cpp')
-rw-r--r--libkcal/exceptions.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libkcal/exceptions.cpp b/libkcal/exceptions.cpp
index 677ec418a..98d7153eb 100644
--- a/libkcal/exceptions.cpp
+++ b/libkcal/exceptions.cpp
@@ -26,7 +26,7 @@
using namespace KCal;
-Exception::Exception(const QString &message)
+Exception::Exception(const TQString &message)
{
mMessage = message;
}
@@ -35,22 +35,22 @@ Exception::~Exception()
{
}
-QString Exception::message()
+TQString Exception::message()
{
if (mMessage.isEmpty()) return i18n("%1 Error").arg(CalFormat::application());
else return mMessage;
}
-ErrorFormat::ErrorFormat(ErrorCodeFormat code,const QString &message) :
+ErrorFormat::ErrorFormat(ErrorCodeFormat code,const TQString &message) :
Exception(message)
{
mCode = code;
}
-QString ErrorFormat::message()
+TQString ErrorFormat::message()
{
- QString message = "";
+ TQString message = "";
switch (mCode) {
case LoadError: