summaryrefslogtreecommitdiffstats
path: root/libkcal/htmlexport.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/htmlexport.h')
-rw-r--r--libkcal/htmlexport.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/libkcal/htmlexport.h b/libkcal/htmlexport.h
index c1642590d..b411778df 100644
--- a/libkcal/htmlexport.h
+++ b/libkcal/htmlexport.h
@@ -22,9 +22,9 @@
#ifndef KCAL_HTMLEXPORT_H
#define KCAL_HTMLEXPORT_H
-#include <qstring.h>
-#include <qdatetime.h>
-#include <qmap.h>
+#include <tqstring.h>
+#include <tqdatetime.h>
+#include <tqmap.h>
#include <libkcal/calendar.h>
#include <libkcal/htmlexportsettings.h>
@@ -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<QDate,QString> mHolidayMap;
+ TQMap<TQDate,TQString> mHolidayMap;
class Private;
Private *d;