diff options
Diffstat (limited to 'kresources/birthdays/resourcekabc.h')
-rw-r--r-- | kresources/birthdays/resourcekabc.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kresources/birthdays/resourcekabc.h b/kresources/birthdays/resourcekabc.h index 9f9a75994..eebe087e9 100644 --- a/kresources/birthdays/resourcekabc.h +++ b/kresources/birthdays/resourcekabc.h @@ -21,9 +21,9 @@ #ifndef KCAL_RESOURCEKABC_H #define KCAL_RESOURCEKABC_H -#include <qptrlist.h> -#include <qstring.h> -#include <qdatetime.h> +#include <tqptrlist.h> +#include <tqstring.h> +#include <tqdatetime.h> #include <kconfig.h> @@ -65,8 +65,8 @@ class KDE_EXPORT ResourceKABC : public ResourceCalendar void setAlarmDays( int ); int alarmDays(); - void setCategories( const QStringList &categories ); - QStringList categories() const; + void setCategories( const TQStringList &categories ); + TQStringList categories() const; void setUseCategories( bool useCategories ); bool useCategories() const; @@ -83,7 +83,7 @@ class KDE_EXPORT ResourceKABC : public ResourceCalendar /** Retrieves an event on the basis of the unique string ID. */ - Event *event(const QString &UniqueStr); + Event *event(const TQString &UniqueStr); /** Return unfiltered list of all events in calendar. */ @@ -92,16 +92,16 @@ class KDE_EXPORT ResourceKABC : public ResourceCalendar Builds and then returns a list of all events that match for the date specified. useful for dayView, etc. etc. */ - Event::List rawEventsForDate( const QDate &date, EventSortField sortField = EventSortUnsorted, SortDirection sortDirection = SortDirectionAscending ); + Event::List rawEventsForDate( 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 ); /** @@ -116,7 +116,7 @@ class KDE_EXPORT ResourceKABC : public ResourceCalendar 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. */ @@ -124,13 +124,13 @@ class KDE_EXPORT ResourceKABC : public ResourceCalendar /** 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 */ virtual bool addJournal(Journal *); /** Remove journal from the calendar. */ bool deleteJournal( Journal * ); /** Return Journal with given UID */ - virtual Journal *journal(const QString &uid); + virtual Journal *journal(const TQString &uid); /** Return list of all journals. */ @@ -138,17 +138,17 @@ class KDE_EXPORT ResourceKABC : public ResourceCalendar /** Returns list of journals for the given date. */ - Journal::List rawJournalsForDate( const QDate &date ); + Journal::List rawJournalsForDate( const TQDate &date ); /** 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 ); void dump() const; - void setTimeZoneId( const QString &timeZoneId ); + void setTimeZoneId( const TQString &timeZoneId ); protected: bool doOpen(); @@ -165,7 +165,7 @@ class KDE_EXPORT ResourceKABC : public ResourceCalendar int mAlarmDays; bool mAlarm; - QStringList mCategories; + TQStringList mCategories; bool mUseCategories; KABC::AddressBook *mAddressbook; |