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/htmlexport.h | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'libkcal/htmlexport.h') diff --git a/libkcal/htmlexport.h b/libkcal/htmlexport.h index c1642590..b411778d 100644 --- a/libkcal/htmlexport.h +++ b/libkcal/htmlexport.h @@ -22,9 +22,9 @@ #ifndef KCAL_HTMLEXPORT_H #define KCAL_HTMLEXPORT_H -#include -#include -#include +#include +#include +#include #include #include @@ -51,46 +51,46 @@ class KDE_EXPORT HtmlExport /** Writes out the calendar in HTML format. */ - bool save( const QString &fileName = QString::null ); + bool save( const TQString &fileName = TQString::null ); /** Writes out calendar to text stream. */ - bool save( QTextStream * ); + bool save( TQTextStream * ); - void addHoliday( const QDate &date, const QString &name ); + void addHoliday( const TQDate &date, const TQString &name ); protected: - void createWeekView( QTextStream *ts ); - void createMonthView( QTextStream *ts ); - void createEventList( QTextStream *ts ); - void createTodoList( QTextStream *ts ); - void createJournalView( QTextStream *ts ); - void createFreeBusyView( QTextStream *ts ); - - void createTodo( QTextStream *ts, Todo *todo); - void createEvent( QTextStream *ts, Event *event, QDate date, + void createWeekView( TQTextStream *ts ); + void createMonthView( TQTextStream *ts ); + void createEventList( TQTextStream *ts ); + void createTodoList( TQTextStream *ts ); + void createJournalView( TQTextStream *ts ); + void createFreeBusyView( TQTextStream *ts ); + + void createTodo( TQTextStream *ts, Todo *todo); + void createEvent( TQTextStream *ts, Event *event, TQDate date, bool withDescription = true); - void createFooter( QTextStream *ts ); + void createFooter( TQTextStream *ts ); bool checkSecrecy( Incidence * ); - void formatLocation( QTextStream *ts, Incidence *event ); - void formatCategories( QTextStream *ts, Incidence *event ); - void formatAttendees( QTextStream *ts, Incidence *event ); + void formatLocation( TQTextStream *ts, Incidence *event ); + void formatCategories( TQTextStream *ts, Incidence *event ); + void formatAttendees( TQTextStream *ts, Incidence *event ); - QString breakString( const QString &text ); + TQString breakString( const TQString &text ); - QDate fromDate() const; - QDate toDate() const; - QString styleSheet() const; + TQDate fromDate() const; + TQDate toDate() const; + TQString styleSheet() const; private: - QString cleanChars( const QString &txt ); + TQString cleanChars( const TQString &txt ); Calendar *mCalendar; HTMLExportSettings *mSettings; - QMap mHolidayMap; + TQMap mHolidayMap; class Private; Private *d; -- cgit v1.2.3