summaryrefslogtreecommitdiffstats
path: root/libkcal/exceptions.cpp
diff options
context:
space:
mode:
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: