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 --- kresources/egroupware/kcal_resourcexmlrpc.h | 70 ++++++++++++++--------------- 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'kresources/egroupware/kcal_resourcexmlrpc.h') diff --git a/kresources/egroupware/kcal_resourcexmlrpc.h b/kresources/egroupware/kcal_resourcexmlrpc.h index fd9ad682..a28202ed 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 -#include -#include +#include +#include +#include #include #include @@ -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&, const QVariant& ); - void logoutFinished( const QValueList&, const QVariant& ); + void loginFinished( const TQValueList&, const TQVariant& ); + void logoutFinished( const TQValueList&, const TQVariant& ); - void listEventsFinished( const QValueList&, const QVariant& ); - void addEventFinished( const QValueList&, const QVariant& ); - void updateEventFinished( const QValueList&, const QVariant& ); - void deleteEventFinished( const QValueList&, const QVariant& ); - void loadEventCategoriesFinished( const QValueList&, const QVariant& ); + void listEventsFinished( const TQValueList&, const TQVariant& ); + void addEventFinished( const TQValueList&, const TQVariant& ); + void updateEventFinished( const TQValueList&, const TQVariant& ); + void deleteEventFinished( const TQValueList&, const TQVariant& ); + void loadEventCategoriesFinished( const TQValueList&, const TQVariant& ); - void listTodosFinished( const QValueList&, const QVariant& ); - void addTodoFinished( const QValueList&, const QVariant& ); - void updateTodoFinished( const QValueList&, const QVariant& ); - void deleteTodoFinished( const QValueList&, const QVariant& ); - void loadTodoCategoriesFinished( const QValueList&, const QVariant& ); + void listTodosFinished( const TQValueList&, const TQVariant& ); + void addTodoFinished( const TQValueList&, const TQVariant& ); + void updateTodoFinished( const TQValueList&, const TQVariant& ); + void deleteTodoFinished( const TQValueList&, const TQVariant& ); + void loadTodoCategoriesFinished( const TQValueList&, 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& ); - void readEvent( const QMap&, Event*, QString& ); + void writeEvent( Event*, TQMap& ); + void readEvent( const TQMap&, Event*, TQString& ); - void writeTodo( Todo*, QMap& ); - void readTodo( const QMap&, Todo*, QString& ); + void writeTodo( Todo*, TQMap& ); + void readTodo( const TQMap&, 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 mEventCategoryMap; - QMap mTodoCategoryMap; + TQMap mEventCategoryMap; + TQMap mTodoCategoryMap; TodoStateMapper mTodoStateMapper; -- cgit v1.2.3