/****************************************************************************
** Meta object code from reading C++ file 'window.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/window.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'window.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_Window[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      28,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: signature, parameters, type, tag, flags
       8,    7,    7,    7, 0x08,
      25,   16,    7,    7, 0x08,
      53,   48,    7,    7, 0x08,
      76,    7,    7,    7, 0x08,
      95,    7,    7,    7, 0x08,
     103,    7,    7,    7, 0x08,
     110,    7,    7,    7, 0x08,
     124,  119,    7,    7, 0x08,
     145,    7,    7,    7, 0x08,
     157,    7,    7,    7, 0x08,
     170,    7,    7,    7, 0x08,
     183,    7,    7,    7, 0x08,
     197,    7,    7,    7, 0x08,
     213,    7,    7,    7, 0x08,
     228,    7,    7,    7, 0x08,
     247,  242,    7,    7, 0x08,
     294,  282,    7,    7, 0x08,
     337,  331,    7,    7, 0x08,
     356,    7,    7,    7, 0x08,
     383,  331,    7,    7, 0x08,
     428,  411,    7,    7, 0x08,
     472,  466,    7,    7, 0x08,
     494,    7,    7,    7, 0x08,
     507,    7,    7,    7, 0x08,
     521,    7,    7,    7, 0x08,
     544,  537,    7,    7, 0x08,
     568,    7,    7,    7, 0x08,
     582,  575,    7,    7, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_Window[] = {
    "Window\0\0about()\0decimals\0"
    "setDecimalTotals(bool)\0edit\0"
    "setInlineEditing(bool)\0setLocaleClicked()\0"
    "start()\0stop()\0cancel()\0task\0"
    "taskChanged(QString)\0taskStart()\0"
    "updateTime()\0addProject()\0editProject()\0"
    "removeProject()\0createReport()\0"
    "viewReports()\0item\0"
    "projectActivated(QTreeWidgetItem*)\0"
    "item,column\0projectChanged(QTreeWidgetItem*,int)\0"
    "index\0filterChanged(int)\0"
    "modelBilledStatusChanged()\0"
    "sessionPressed(QModelIndex)\0"
    "parent,start,end\0sessionsInserted(QModelIndex,int,int)\0"
    "value\0sessionsScrolled(int)\0addSession()\0"
    "editSession()\0removeSession()\0column\0"
    "toggleColumnHidden(int)\0save()\0reason\0"
    "trayIconActivated(QSystemTrayIcon::ActivationReason)\0"
};

void Window::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Window *_t = static_cast<Window *>(_o);
        switch (_id) {
        case 0: _t->about(); break;
        case 1: _t->setDecimalTotals((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->setInlineEditing((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->setLocaleClicked(); break;
        case 4: _t->start(); break;
        case 5: _t->stop(); break;
        case 6: _t->cancel(); break;
        case 7: _t->taskChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->taskStart(); break;
        case 9: _t->updateTime(); break;
        case 10: _t->addProject(); break;
        case 11: _t->editProject(); break;
        case 12: _t->removeProject(); break;
        case 13: _t->createReport(); break;
        case 14: _t->viewReports(); break;
        case 15: _t->projectActivated((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
        case 16: _t->projectChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 17: _t->filterChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->modelBilledStatusChanged(); break;
        case 19: _t->sessionPressed((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 20: _t->sessionsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 21: _t->sessionsScrolled((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 22: _t->addSession(); break;
        case 23: _t->editSession(); break;
        case 24: _t->removeSession(); break;
        case 25: _t->toggleColumnHidden((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 26: _t->save(); break;
        case 27: _t->trayIconActivated((*reinterpret_cast< QSystemTrayIcon::ActivationReason(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData Window::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject Window::staticMetaObject = {
    { &QMainWindow::staticMetaObject, qt_meta_stringdata_Window,
      qt_meta_data_Window, &staticMetaObjectExtraData }
};

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

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

void *Window::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Window))
        return static_cast<void*>(const_cast< Window*>(this));
    return QMainWindow::qt_metacast(_clname);
}

int Window::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
