summaryrefslogtreecommitdiffstats
path: root/libkcal/htmlexport.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /libkcal/htmlexport.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;