/****************************************************************************
** Meta object code from reading C++ file 'calendarsystem.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.7)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../src/kde-runtime-17.08.3/plasma/declarativeimports/locale/calendarsystem.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'calendarsystem.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_CalendarSystem[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      38,   14, // methods
      12,  204, // properties
       7,  240, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // methods: signature, parameters, type, tag, flags
      53,   21,   16,   15, 0x02,
      90,   85,   16,   15, 0x02,
     118,   85,  105,   15, 0x02,
     137,   85,  133,   15, 0x02,
     149,   85,  133,   15, 0x02,
     162,   85,  133,   15, 0x02,
     193,  181,  173,   15, 0x02,
     221,   85,  173,   15, 0x22,
     236,  181,  173,   15, 0x02,
     264,   85,  173,   15, 0x22,
     279,   85,  133,   15, 0x02,
     314,  302,  296,   15, 0x02,
     347,  334,  296,   15, 0x02,
     379,  368,  296,   15, 0x02,
     414,  398,  105,   15, 0x02,
     442,  398,  133,   15, 0x02,
     471,  398,  133,   15, 0x02,
     501,  398,  133,   15, 0x02,
     534,  529,  133,   15, 0x02,
     574,  552,  133,   15, 0x02,
     608,  529,  133,   15, 0x02,
     635,  624,  133,   15, 0x02,
     656,   85,  133,   15, 0x02,
     674,   85,  133,   15, 0x02,
     691,   85,  133,   15, 0x02,
     730,  708,  133,   15, 0x02,
     759,  529,   16,   15, 0x02,
     775,  529,  296,   15, 0x02,
     795,  529,  296,   15, 0x02,
     814,  624,  296,   15, 0x02,
     839,  624,  296,   15, 0x02,
     881,  863,  173,   15, 0x02,
     927,  916,  173,   15, 0x22,
     961,  946,  173,   15, 0x02,
    1004,  996,  173,   15, 0x22,
    1060, 1021,  173,   15, 0x02,
    1147, 1137,  296,   15, 0x02,
    1189, 1179,  133,   15, 0x02,

 // properties: name, type, flags
    1226, 1215, 0x00095409,
    1269, 1246, 0x00095409,
    1284,  173, 0x0a095401,
    1298,  296, 0x0e095401,
    1304,  296, 0x0e095401,
    1322,  296, 0x0e095401,
    1338,  133, 0x02095401,
    1363,  133, 0x02095401,
    1376,   16, 0x01095401,
    1384,   16, 0x01095401,
    1396,   16, 0x01095401,
    1404,   16, 0x01095401,

 // enums: name, flags, count, data
    1416, 0x0,    5,  268,
    1433, 0x0,    5,  278,
    1447, 0x0,   30,  288,
    1465, 0x0,    6,  348,
    1489, 0x0,    2,  360,
    1502, 0x0,    5,  364,
    1518, 0x0,    3,  374,

 // enum data: key, value
    1536, uint(CalendarSystem::DefaultWeekNumber),
    1554, uint(CalendarSystem::IsoWeekNumber),
    1568, uint(CalendarSystem::FirstFullWeek),
    1582, uint(CalendarSystem::FirstPartialWeek),
    1599, uint(CalendarSystem::SimpleWeek),
    1610, uint(CalendarSystem::NormalFormat),
    1623, uint(CalendarSystem::shortFormat),
    1635, uint(CalendarSystem::IsoFormat),
    1645, uint(CalendarSystem::IsoWeekFormat),
    1659, uint(CalendarSystem::IsoOrdinalFormat),
    1676, uint(CalendarSystem::Year),
    1681, uint(CalendarSystem::YearName),
    1690, uint(CalendarSystem::Month),
    1696, uint(CalendarSystem::MonthName),
    1706, uint(CalendarSystem::Day),
    1710, uint(CalendarSystem::DayName),
    1718, uint(CalendarSystem::JulianDay),
    1728, uint(CalendarSystem::EraName),
    1736, uint(CalendarSystem::EraYear),
    1744, uint(CalendarSystem::YearInEra),
    1754, uint(CalendarSystem::DayOfYear),
    1764, uint(CalendarSystem::DayOfYearName),
    1778, uint(CalendarSystem::DayOfWeek),
    1788, uint(CalendarSystem::DayOfWeekName),
    1802, uint(CalendarSystem::Week),
    1807, uint(CalendarSystem::WeekYear),
    1816, uint(CalendarSystem::MonthsInYear),
    1829, uint(CalendarSystem::WeeksInYear),
    1841, uint(CalendarSystem::DaysInYear),
    1852, uint(CalendarSystem::DaysInMonth),
    1864, uint(CalendarSystem::DaysInWeek),
    1875, uint(CalendarSystem::Hour),
    1880, uint(CalendarSystem::Minute),
    1887, uint(CalendarSystem::Second),
    1894, uint(CalendarSystem::Millisecond),
    1906, uint(CalendarSystem::DayPeriod),
    1916, uint(CalendarSystem::DayPeriodHour),
    1930, uint(CalendarSystem::Timezone),
    1939, uint(CalendarSystem::TimezoneName),
    1952, uint(CalendarSystem::UnixTime),
    1961, uint(CalendarSystem::DefaultComponentFormat),
    1984, uint(CalendarSystem::ShortNumber),
    1996, uint(CalendarSystem::LongNumber),
    2007, uint(CalendarSystem::narrowName),
    2018, uint(CalendarSystem::shortName),
    2028, uint(CalendarSystem::longName),
    2037, uint(CalendarSystem::ShortFormat),
    2049, uint(CalendarSystem::LongFormat),
    2060, uint(CalendarSystem::ShortName),
    2070, uint(CalendarSystem::LongName),
    2079, uint(CalendarSystem::ShortNamePossessive),
    2099, uint(CalendarSystem::LongNamePossessive),
    2118, uint(CalendarSystem::NarrowName),
    2129, uint(CalendarSystem::ShortDayName),
    2142, uint(CalendarSystem::LongDayName),
    2154, uint(CalendarSystem::NarrowDayName),

       0        // eod
};

static const char qt_meta_stringdata_CalendarSystem[] = {
    "CalendarSystem\0\0bool\0"
    "year,isoWeekNumber,dayOfIsoWeek\0"
    "isValidIsoWeekDate(int,int,int)\0date\0"
    "isValid(QDate)\0QVariantHash\0getDate(QDate)\0"
    "int\0year(QDate)\0month(QDate)\0day(QDate)\0"
    "QString\0date,format\0eraName(QDate,StringFormat)\0"
    "eraName(QDate)\0eraYear(QDate,StringFormat)\0"
    "eraYear(QDate)\0yearInEra(QDate)\0QDate\0"
    "date,nyears\0addYears(QDate,int)\0"
    "date,nmonths\0addMonths(QDate,int)\0"
    "date,ndays\0addDays(QDate,int)\0"
    "fromDate,toDate\0dateDifference(QDate,QDate)\0"
    "yearsDifference(QDate,QDate)\0"
    "monthsDifference(QDate,QDate)\0"
    "daysDifference(QDate,QDate)\0year\0"
    "monthsInYear(int)\0year,weekNumberSystem\0"
    "weeksInYear(int,WeekNumberSystem)\0"
    "daysInYear(int)\0year,month\0"
    "daysInMonth(int,int)\0daysInWeek(QDate)\0"
    "dayOfYear(QDate)\0dayOfWeek(QDate)\0"
    "date,weekNumberSystem\0"
    "week(QDate,WeekNumberSystem)\0"
    "isLeapYear(int)\0firstDayOfYear(int)\0"
    "lastDayOfYear(int)\0firstDayOfMonth(int,int)\0"
    "lastDayOfMonth(int,int)\0month,year,format\0"
    "monthName(int,int,MonthNameFormat)\0"
    "month,year\0monthName(int,int)\0"
    "weekDay,format\0weekDayName(int,WeekDayNameFormat)\0"
    "weekDay\0weekDayName(int)\0"
    "date,component,format,weekNumberSystem\0"
    "formatDate(QDate,DateTimeComponent,DateTimeComponentFormat,WeekNumberS"
    "ystem)\0"
    "str,flags\0readDate(QString,ReadDateFlags)\0"
    "inputYear\0applyShortYearWindow(int)\0"
    "QList<int>\0calendarSystemsList\0"
    "Locale::CalendarSystem\0calendarSystem\0"
    "calendarLabel\0epoch\0earliestValidDate\0"
    "latestValidDate\0shortYearWindowStartYear\0"
    "weekStartDay\0isLunar\0isLunisolar\0"
    "isSolar\0isProleptic\0WeekNumberSystem\0"
    "ReadDateFlags\0DateTimeComponent\0"
    "DateTimeComponentFormat\0StringFormat\0"
    "MonthNameFormat\0WeekDayNameFormat\0"
    "DefaultWeekNumber\0IsoWeekNumber\0"
    "FirstFullWeek\0FirstPartialWeek\0"
    "SimpleWeek\0NormalFormat\0shortFormat\0"
    "IsoFormat\0IsoWeekFormat\0IsoOrdinalFormat\0"
    "Year\0YearName\0Month\0MonthName\0Day\0"
    "DayName\0JulianDay\0EraName\0EraYear\0"
    "YearInEra\0DayOfYear\0DayOfYearName\0"
    "DayOfWeek\0DayOfWeekName\0Week\0WeekYear\0"
    "MonthsInYear\0WeeksInYear\0DaysInYear\0"
    "DaysInMonth\0DaysInWeek\0Hour\0Minute\0"
    "Second\0Millisecond\0DayPeriod\0DayPeriodHour\0"
    "Timezone\0TimezoneName\0UnixTime\0"
    "DefaultComponentFormat\0ShortNumber\0"
    "LongNumber\0narrowName\0shortName\0"
    "longName\0ShortFormat\0LongFormat\0"
    "ShortName\0LongName\0ShortNamePossessive\0"
    "LongNamePossessive\0NarrowName\0"
    "ShortDayName\0LongDayName\0NarrowDayName\0"
};

void CalendarSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        CalendarSystem *_t = static_cast<CalendarSystem *>(_o);
        switch (_id) {
        case 0: { bool _r = _t->isValidIsoWeekDate((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 1: { bool _r = _t->isValid((*reinterpret_cast< const QDate(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 2: { QVariantHash _r = _t->getDate((*reinterpret_cast< const QDate(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariantHash*>(_a[0]) = _r; }  break;
        case 3: { int _r = _t->year((*reinterpret_cast< const QDate(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 4: { int _r = _t->month((*reinterpret_cast< const QDate(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 5: { int _r = _t->day((*reinterpret_cast< const QDate(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 6: { QString _r = _t->eraName((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< StringFormat(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 7: { QString _r = _t->eraName((*reinterpret_cast< const QDate(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 8: { QString _r = _t->eraYear((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< StringFormat(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 9: { QString _r = _t->eraYear((*reinterpret_cast< const QDate(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 10: { int _r = _t->yearInEra((*reinterpret_cast< const QDate(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 11: { QDate _r = _t->addYears((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDate*>(_a[0]) = _r; }  break;
        case 12: { QDate _r = _t->addMonths((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDate*>(_a[0]) = _r; }  break;
        case 13: { QDate _r = _t->addDays((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDate*>(_a[0]) = _r; }  break;
        case 14: { QVariantHash _r = _t->dateDifference((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< const QDate(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariantHash*>(_a[0]) = _r; }  break;
        case 15: { int _r = _t->yearsDifference((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< const QDate(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 16: { int _r = _t->monthsDifference((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< const QDate(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 17: { int _r = _t->daysDifference((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< const QDate(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 18: { int _r = _t->monthsInYear((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 19: { int _r = _t->weeksInYear((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< WeekNumberSystem(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 20: { int _r = _t->daysInYear((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 21: { int _r = _t->daysInMonth((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 22: { int _r = _t->daysInWeek((*reinterpret_cast< const QDate(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 23: { int _r = _t->dayOfYear((*reinterpret_cast< const QDate(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 24: { int _r = _t->dayOfWeek((*reinterpret_cast< const QDate(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 25: { int _r = _t->week((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< WeekNumberSystem(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 26: { bool _r = _t->isLeapYear((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 27: { QDate _r = _t->firstDayOfYear((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDate*>(_a[0]) = _r; }  break;
        case 28: { QDate _r = _t->lastDayOfYear((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDate*>(_a[0]) = _r; }  break;
        case 29: { QDate _r = _t->firstDayOfMonth((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDate*>(_a[0]) = _r; }  break;
        case 30: { QDate _r = _t->lastDayOfMonth((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDate*>(_a[0]) = _r; }  break;
        case 31: { QString _r = _t->monthName((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< MonthNameFormat(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 32: { QString _r = _t->monthName((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 33: { QString _r = _t->weekDayName((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< WeekDayNameFormat(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 34: { QString _r = _t->weekDayName((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 35: { QString _r = _t->formatDate((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< DateTimeComponent(*)>(_a[2])),(*reinterpret_cast< DateTimeComponentFormat(*)>(_a[3])),(*reinterpret_cast< WeekNumberSystem(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 36: { QDate _r = _t->readDate((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< ReadDateFlags(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDate*>(_a[0]) = _r; }  break;
        case 37: { int _r = _t->applyShortYearWindow((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

#ifdef Q_NO_DATA_RELOCATION
static const QMetaObjectAccessor qt_meta_extradata_CalendarSystem[] = {
        Locale::getStaticMetaObject,
#else
static const QMetaObject *qt_meta_extradata_CalendarSystem[] = {
        &Locale::staticMetaObject,
#endif //Q_NO_DATA_RELOCATION
    0
};

const QMetaObjectExtraData CalendarSystem::staticMetaObjectExtraData = {
    qt_meta_extradata_CalendarSystem,  qt_static_metacall 
};

const QMetaObject CalendarSystem::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_CalendarSystem,
      qt_meta_data_CalendarSystem, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &CalendarSystem::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *CalendarSystem::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *CalendarSystem::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_CalendarSystem))
        return static_cast<void*>(const_cast< CalendarSystem*>(this));
    return QObject::qt_metacast(_clname);
}

int CalendarSystem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 38)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 38;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QList<int>*>(_v) = calendarSystemsList(); break;
        case 1: *reinterpret_cast< Locale::CalendarSystem*>(_v) = calendarSystem(); break;
        case 2: *reinterpret_cast< QString*>(_v) = calendarLabel(); break;
        case 3: *reinterpret_cast< QDate*>(_v) = epoch(); break;
        case 4: *reinterpret_cast< QDate*>(_v) = earliestValidDate(); break;
        case 5: *reinterpret_cast< QDate*>(_v) = latestValidDate(); break;
        case 6: *reinterpret_cast< int*>(_v) = shortYearWindowStartYear(); break;
        case 7: *reinterpret_cast< int*>(_v) = weekStartDay(); break;
        case 8: *reinterpret_cast< bool*>(_v) = isLunar(); break;
        case 9: *reinterpret_cast< bool*>(_v) = isLunisolar(); break;
        case 10: *reinterpret_cast< bool*>(_v) = isSolar(); break;
        case 11: *reinterpret_cast< bool*>(_v) = isProleptic(); break;
        }
        _id -= 12;
    } else if (_c == QMetaObject::WriteProperty) {
        _id -= 12;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 12;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
