diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /libkcal/calformat.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/calformat.h')
-rw-r--r-- | libkcal/calformat.h | 30 |
1 files changed, 15 insertions, 15 deletions
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 <qstring.h> -#include <qdatetime.h> -#include <qevent.h> +#include <tqstring.h> +#include <tqdatetime.h> +#include <tqevent.h> #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; |