diff options
Diffstat (limited to 'kresources/egroupware/kcal_resourcexmlrpc.h')
-rw-r--r-- | kresources/egroupware/kcal_resourcexmlrpc.h | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/kresources/egroupware/kcal_resourcexmlrpc.h b/kresources/egroupware/kcal_resourcexmlrpc.h index fd9ad6826..a28202ed5 100644 --- a/kresources/egroupware/kcal_resourcexmlrpc.h +++ b/kresources/egroupware/kcal_resourcexmlrpc.h @@ -22,9 +22,9 @@ #ifndef KCAL_RESOURCEXMLRPC_H #define KCAL_RESOURCEXMLRPC_H -#include <qdatetime.h> -#include <qptrlist.h> -#include <qstring.h> +#include <tqdatetime.h> +#include <tqptrlist.h> +#include <tqstring.h> #include <kconfig.h> #include <kurl.h> @@ -81,7 +81,7 @@ class KDE_EXPORT ResourceXMLRPC : public ResourceCached /** Retrieves an event on the basis of the unique string ID. */ - Event *event( const QString& uid ); + Event *event( const TQString& uid ); /** Return unfiltered list of all events in calendar. @@ -93,20 +93,20 @@ class KDE_EXPORT ResourceXMLRPC : public ResourceCached date specified. useful for dayView, etc. etc. */ Event::List rawEventsForDate( - const QDate& date, + const TQDate& date, EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending ); /** Get unfiltered events for date \a qdt. */ - Event::List rawEventsForDate( const QDateTime& qdt ); + Event::List rawEventsForDate( const TQDateTime& qdt ); /** Get unfiltered events in a range of dates. If inclusive is set to true, only events are returned, which are completely included in the range. */ - Event::List rawEvents( const QDate& start, const QDate& end, + Event::List rawEvents( const TQDate& start, const TQDate& end, bool inclusive = false ); @@ -124,7 +124,7 @@ class KDE_EXPORT ResourceXMLRPC : public ResourceCached Searches todolist for an event with this unique string identifier, returns a pointer or null. */ - Todo *todo( const QString& uid ); + Todo *todo( const TQString& uid ); /** Return list of all todos. @@ -134,7 +134,7 @@ class KDE_EXPORT ResourceXMLRPC : public ResourceCached /** Returns list of todos due on the specified date. */ - Todo::List rawTodosForDate( const QDate& date ); + Todo::List rawTodosForDate( const TQDate& date ); /** Add a Journal entry to calendar @@ -149,22 +149,22 @@ class KDE_EXPORT ResourceXMLRPC : public ResourceCached /** Return Journals for given date */ - virtual Journal::List journals( const QDate& ); + virtual Journal::List journals( const TQDate& ); /** Return Journal with given UID */ - virtual Journal *journal( const QString& uid ); + virtual Journal *journal( const TQString& uid ); /** Return all alarms, which ocur in the given time interval. */ - Alarm::List alarms( const QDateTime& from, const QDateTime& to ); + Alarm::List alarms( const TQDateTime& from, const TQDateTime& to ); /** Return all alarms, which ocur before given date. */ - Alarm::List alarmsTo( const QDateTime& to ); + Alarm::List alarmsTo( const TQDateTime& to ); /** Public because needed in MultiCalendar::load() @@ -174,25 +174,25 @@ class KDE_EXPORT ResourceXMLRPC : public ResourceCached void dump() const; - void setTimeZoneId( const QString& ) {} + void setTimeZoneId( const TQString& ) {} protected slots: - void loginFinished( const QValueList<QVariant>&, const QVariant& ); - void logoutFinished( const QValueList<QVariant>&, const QVariant& ); + void loginFinished( const TQValueList<TQVariant>&, const TQVariant& ); + void logoutFinished( const TQValueList<TQVariant>&, const TQVariant& ); - void listEventsFinished( const QValueList<QVariant>&, const QVariant& ); - void addEventFinished( const QValueList<QVariant>&, const QVariant& ); - void updateEventFinished( const QValueList<QVariant>&, const QVariant& ); - void deleteEventFinished( const QValueList<QVariant>&, const QVariant& ); - void loadEventCategoriesFinished( const QValueList<QVariant>&, const QVariant& ); + void listEventsFinished( const TQValueList<TQVariant>&, const TQVariant& ); + void addEventFinished( const TQValueList<TQVariant>&, const TQVariant& ); + void updateEventFinished( const TQValueList<TQVariant>&, const TQVariant& ); + void deleteEventFinished( const TQValueList<TQVariant>&, const TQVariant& ); + void loadEventCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& ); - void listTodosFinished( const QValueList<QVariant>&, const QVariant& ); - void addTodoFinished( const QValueList<QVariant>&, const QVariant& ); - void updateTodoFinished( const QValueList<QVariant>&, const QVariant& ); - void deleteTodoFinished( const QValueList<QVariant>&, const QVariant& ); - void loadTodoCategoriesFinished( const QValueList<QVariant>&, const QVariant& ); + void listTodosFinished( const TQValueList<TQVariant>&, const TQVariant& ); + void addTodoFinished( const TQValueList<TQVariant>&, const TQVariant& ); + void updateTodoFinished( const TQValueList<TQVariant>&, const TQVariant& ); + void deleteTodoFinished( const TQValueList<TQVariant>&, const TQVariant& ); + void loadTodoCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& ); - void fault( int, const QString&, const QVariant& ); + void fault( int, const TQString&, const TQVariant& ); protected: bool doLoad(); @@ -205,11 +205,11 @@ class KDE_EXPORT ResourceXMLRPC : public ResourceCached void init(); void initEGroupware(); - void writeEvent( Event*, QMap<QString, QVariant>& ); - void readEvent( const QMap<QString, QVariant>&, Event*, QString& ); + void writeEvent( Event*, TQMap<TQString, TQVariant>& ); + void readEvent( const TQMap<TQString, TQVariant>&, Event*, TQString& ); - void writeTodo( Todo*, QMap<QString, QVariant>& ); - void readTodo( const QMap<QString, QVariant>&, Todo*, QString& ); + void writeTodo( Todo*, TQMap<TQString, TQVariant>& ); + void readTodo( const TQMap<TQString, TQVariant>&, Todo*, TQString& ); void checkLoadingFinished(); @@ -217,11 +217,11 @@ class KDE_EXPORT ResourceXMLRPC : public ResourceCached EGroupwarePrefs *mPrefs; - QString mSessionID; - QString mKp3; + TQString mSessionID; + TQString mKp3; - QMap<QString, int> mEventCategoryMap; - QMap<QString, int> mTodoCategoryMap; + TQMap<TQString, int> mEventCategoryMap; + TQMap<TQString, int> mTodoCategoryMap; TodoStateMapper mTodoStateMapper; |