summaryrefslogtreecommitdiffstats
path: root/libkholidays/kholidays.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 /libkholidays/kholidays.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 '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
};