summaryrefslogtreecommitdiffstats
path: root/libkholidays/kholidays.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkholidays/kholidays.h')
-rw-r--r--libkholidays/kholidays.h38
1 files changed, 19 insertions, 19 deletions
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 <qstring.h>
-#include <qstringlist.h>
-#include <qdatetime.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqdatetime.h>
+#include <tqvaluelist.h>
#include <kdepimmacros.h>
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<KHoliday> getHolidays( const QDate& );
+ TQValueList<KHoliday> 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
};