KHolidays Library
holiday_p.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef KHOLIDAYS_HOLIDAY_P_H
00026 #define KHOLIDAYS_HOLIDAY_P_H
00027
00028 #include "holiday.h"
00029
00030 #include <QtCore/QDateTime>
00031 #include <QtCore/QFile>
00032 #include <QtCore/QSharedData>
00033
00034 namespace KHolidays {
00035
00036 class HolidayPrivate : public QSharedData
00037 {
00038 public:
00039 HolidayPrivate()
00040 {
00041 }
00042
00043 HolidayPrivate( const HolidayPrivate &other ) : QSharedData( other )
00044 {
00045 mObservedDate = other.mObservedDate;
00046 mDuration = other.mDuration;
00047 mText = other.mText;
00048 mShortText = other.mShortText;
00049 mDayType = other.mDayType;
00050 }
00051
00052 QDate mObservedDate;
00053 int mDuration;
00054 QString mText;
00055 QString mShortText;
00056 Holiday::DayType mDayType;
00057 };
00058
00059 }
00060
00061 #endif // KHOLIDAYS_HOLIDAY_P_H