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 --- libkholidays/kholidays.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'libkholidays/kholidays.h') diff --git a/libkholidays/kholidays.h b/libkholidays/kholidays.h index 2a5b9a8cd..f612f8389 100644 --- a/libkholidays/kholidays.h +++ b/libkholidays/kholidays.h @@ -20,16 +20,16 @@ #ifndef KHOLIDAYS_HOLIDAYS_H #define KHOLIDAYS_HOLIDAYS_H -#include -#include -#include -#include +#include +#include +#include +#include #include struct KHoliday { - QString text; - QString shortText; + TQString text; + TQString shortText; int Category; }; @@ -40,40 +40,40 @@ class KDE_EXPORT KHolidays { One of these can then be passed to the constructor for a new KHolidays object. */ - static QStringList locations(); + static TQStringList locations(); /** Return the file name for the holiday file of the given location. */ - static QString fileForLocation( const QString &location ); + static TQString fileForLocation( const TQString &location ); /** Return the directory for user-specific holiday files (i.e. somewhere below $KDEDIR/share/apps/). Don't automatically create that path by default. */ - static QString userPath( bool create = false ); + static TQString userPath( bool create = false ); /** Generate the filename (without the path) for a given region. */ - static QString generateFileName( const QString &location ); + static TQString generateFileName( const TQString &location ); - KHolidays( const QString& location ); + KHolidays( const TQString& location ); ~KHolidays(); /// return the location with which this object was constructed - QString location() const; + TQString location() const; - QValueList getHolidays( const QDate& ); + TQValueList getHolidays( const TQDate& ); - KDE_DEPRECATED QString shortText( const QDate& ); - KDE_DEPRECATED QString getHoliday( const QDate& ); + KDE_DEPRECATED TQString shortText( const TQDate& ); + KDE_DEPRECATED TQString getHoliday( const TQDate& ); enum { WORKDAY, HOLIDAY }; - KDE_DEPRECATED int category( const QDate& ); + KDE_DEPRECATED int category( const TQDate& ); private: - bool parseFile( const QDate& ); + bool parseFile( const TQDate& ); - QString mLocation; // location string used to determine holidays file - QString mHolidayFile; // name of file containing holiday data + TQString mLocation; // location string used to determine holidays file + TQString mHolidayFile; // name of file containing holiday data int mYearLast; // save off the last year we have seen }; -- cgit v1.2.1