From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkcal/calformat.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'libkcal/calformat.h') diff --git a/libkcal/calformat.h b/libkcal/calformat.h index 80c36a1fa..59c585538 100644 --- a/libkcal/calformat.h +++ b/libkcal/calformat.h @@ -21,9 +21,9 @@ #ifndef KCAL_CALFORMAT_H #define KCAL_CALFORMAT_H -#include -#include -#include +#include +#include +#include #include "exceptions.h" #include "event.h" @@ -53,21 +53,21 @@ class LIBKCAL_EXPORT CalFormat Returns TRUE if successful,else returns FALSE. @param fileName the name of the calendar on disk. */ - virtual bool load(Calendar *, const QString &fileName) = 0; + virtual bool load(Calendar *, const TQString &fileName) = 0; /** writes out the calendar to disk. Returns true if * successful and false on error. * @param fileName the name of the file */ - virtual bool save(Calendar *, const QString &fileName) = 0; + virtual bool save(Calendar *, const TQString &fileName) = 0; /** Parse string and populate calendar with that information. */ - virtual bool fromString(Calendar *, const QString & ) = 0; + virtual bool fromString(Calendar *, const TQString & ) = 0; /** Return calendar information as string. */ - virtual QString toString(Calendar *) = 0; + virtual TQString toString(Calendar *) = 0; /** Clear exception status of this format object */ void clearException(); @@ -80,16 +80,16 @@ class LIBKCAL_EXPORT CalFormat /** Set the application name for use in unique IDs and error messages, * and product ID for incidence PRODID property */ - static void setApplication(const QString& app, const QString& productID); + static void setApplication(const TQString& app, const TQString& productID); /** Return the application name used in unique IDs and error messages */ - static const QString& application() { return mApplication; } + static const TQString& application() { return mApplication; } /** Return the PRODID string to write into calendar files */ - static const QString& productId() { return mProductId; } + static const TQString& productId() { return mProductId; } /** Return the PRODID string loaded from calendar file */ - const QString &loadedProductId() { return mLoadedProductId; } + const TQString &loadedProductId() { return mLoadedProductId; } /** Create a unique id string. */ - static QString createUniqueId(); + static TQString createUniqueId(); /** Set exception for this object. This is used by the functions of this @@ -98,13 +98,13 @@ class LIBKCAL_EXPORT CalFormat void setException(ErrorFormat *error); protected: - QString mLoadedProductId; // PRODID string loaded from calendar file + TQString mLoadedProductId; // PRODID string loaded from calendar file private: ErrorFormat *mException; - static QString mApplication; // name of application for unique ID strings - static QString mProductId; // PRODID string to write to calendar files + static TQString mApplication; // name of application for unique ID strings + static TQString mProductId; // PRODID string to write to calendar files class Private; Private *d; -- cgit v1.2.1