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/calendarnull.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'libkcal/calendarnull.h') diff --git a/libkcal/calendarnull.h b/libkcal/calendarnull.h index 6f27ed52..d6c75844 100644 --- a/libkcal/calendarnull.h +++ b/libkcal/calendarnull.h @@ -53,7 +53,7 @@ class LIBKCAL_EXPORT CalendarNull : public Calendar /** Constructor. */ - CalendarNull( const QString &timeZoneId ); + CalendarNull( const TQString &timeZoneId ); /** Destructor. @@ -76,7 +76,7 @@ class LIBKCAL_EXPORT CalendarNull : public Calendar */ void save() {} - bool reload( const QString & ) { return true;} + bool reload( const TQString & ) { return true;} // Event Specific Methods // @@ -122,7 +122,7 @@ class LIBKCAL_EXPORT CalendarNull : public Calendar Returns an empty Event List. */ - Event::List rawEvents( const QDate & /*start*/, const QDate & /*end*/, + Event::List rawEvents( const TQDate & /*start*/, const TQDate & /*end*/, bool /*inclusive*/ ) { return Event::List(); } @@ -130,11 +130,11 @@ class LIBKCAL_EXPORT CalendarNull : public Calendar Return an unfiltered list of all Events which occur on the given timestamp. - First parameter is a QDateTime to return unfiltered events for. + First parameter is a TQDateTime to return unfiltered events for. Returns an empty Event List. */ - Event::List rawEventsForDate( const QDateTime & /*qdt*/ ) + Event::List rawEventsForDate( const TQDateTime & /*qdt*/ ) { return Event::List(); } /** @@ -142,14 +142,14 @@ class LIBKCAL_EXPORT CalendarNull : public Calendar date. The Events are sorted according to @a sortField and @a sortDirection. - First parameter is a QDate to return unfiltered Events for.\n + First parameter is a TQDate to return unfiltered Events for.\n Second parameter specifies the EventSortField.\n Third parameter specifies the SortDirection. Returns an empty Event List. */ Event::List rawEventsForDate( - const QDate & /*date*/, + const TQDate & /*date*/, EventSortField /*sortField=EventSortUnsorted*/, SortDirection /*sortDirection=SortDirectionAscending*/ ) { return Event::List(); } @@ -161,7 +161,7 @@ class LIBKCAL_EXPORT CalendarNull : public Calendar Return a null Event pointer. */ - Event *event( const QString & /*uid*/ ) + Event *event( const TQString & /*uid*/ ) { return 0; } // Todo Specific Methods // @@ -206,7 +206,7 @@ class LIBKCAL_EXPORT CalendarNull : public Calendar Returns an empty Todo List. */ - Todo::List rawTodosForDate( const QDate & /*date*/ ) + Todo::List rawTodosForDate( const TQDate & /*date*/ ) { return Todo::List(); } /** @@ -216,7 +216,7 @@ class LIBKCAL_EXPORT CalendarNull : public Calendar Returns a null Todo pointer. */ - Todo *todo( const QString & /*uid*/ ) + Todo *todo( const TQString & /*uid*/ ) { return 0; } // Journal Specific Methods // @@ -260,7 +260,7 @@ class LIBKCAL_EXPORT CalendarNull : public Calendar Returns an empty Journal List. */ - Journal::List rawJournalsForDate( const QDate & /*date*/ ) + Journal::List rawJournalsForDate( const TQDate & /*date*/ ) { return Journal::List(); } /** @@ -270,7 +270,7 @@ class LIBKCAL_EXPORT CalendarNull : public Calendar Returns an null Journal pointer. */ - Journal *journal( const QString & /*uid*/ ) + Journal *journal( const TQString & /*uid*/ ) { return 0; } // Alarm Specific Methods // @@ -284,7 +284,7 @@ class LIBKCAL_EXPORT CalendarNull : public Calendar Returns an empty Alarm List. */ - Alarm::List alarms( const QDateTime & /*from*/, const QDateTime & /*to*/ ) + Alarm::List alarms( const TQDateTime & /*from*/, const TQDateTime & /*to*/ ) { return Alarm::List(); } // Observer Specific Methods // @@ -295,7 +295,7 @@ class LIBKCAL_EXPORT CalendarNull : public Calendar */ void incidenceUpdated( IncidenceBase * /*incidenceBase*/ ) {} - void setTimeZoneIdViewOnly( const QString& ) {}; + void setTimeZoneIdViewOnly( const TQString& ) {}; private: static CalendarNull *mSelf; -- cgit v1.2.3