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

#include "../../src/focuswriter-1.6.7/src/window.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'window.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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
struct qt_meta_stringdata_Window_t {
    QByteArrayData data[37];
    char stringdata0[466];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Window_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Window_t qt_meta_stringdata_Window = {
    {
QT_MOC_LITERAL(0, 0, 6), // "Window"
QT_MOC_LITERAL(1, 7, 12), // "addDocuments"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 9), // "documents"
QT_MOC_LITERAL(4, 31, 11), // "newDocument"
QT_MOC_LITERAL(5, 43, 12), // "openDocument"
QT_MOC_LITERAL(6, 56, 14), // "renameDocument"
QT_MOC_LITERAL(7, 71, 16), // "saveAllDocuments"
QT_MOC_LITERAL(8, 88, 13), // "closeDocument"
QT_MOC_LITERAL(9, 102, 9), // "Document*"
QT_MOC_LITERAL(10, 112, 8), // "document"
QT_MOC_LITERAL(11, 121, 12), // "showDocument"
QT_MOC_LITERAL(12, 134, 12), // "nextDocument"
QT_MOC_LITERAL(13, 147, 16), // "previousDocument"
QT_MOC_LITERAL(14, 164, 13), // "firstDocument"
QT_MOC_LITERAL(15, 178, 12), // "lastDocument"
QT_MOC_LITERAL(16, 191, 18), // "setLanguageClicked"
QT_MOC_LITERAL(17, 210, 8), // "minimize"
QT_MOC_LITERAL(18, 219, 16), // "toggleFullscreen"
QT_MOC_LITERAL(19, 236, 13), // "toggleToolbar"
QT_MOC_LITERAL(20, 250, 7), // "visible"
QT_MOC_LITERAL(21, 258, 15), // "toggleMenuIcons"
QT_MOC_LITERAL(22, 274, 12), // "themeClicked"
QT_MOC_LITERAL(23, 287, 18), // "preferencesClicked"
QT_MOC_LITERAL(24, 306, 12), // "aboutClicked"
QT_MOC_LITERAL(25, 319, 16), // "setLocaleClicked"
QT_MOC_LITERAL(26, 336, 10), // "tabClicked"
QT_MOC_LITERAL(27, 347, 5), // "index"
QT_MOC_LITERAL(28, 353, 8), // "tabMoved"
QT_MOC_LITERAL(29, 362, 4), // "from"
QT_MOC_LITERAL(30, 367, 2), // "to"
QT_MOC_LITERAL(31, 370, 9), // "tabClosed"
QT_MOC_LITERAL(32, 380, 11), // "updateClock"
QT_MOC_LITERAL(33, 392, 13), // "updateDetails"
QT_MOC_LITERAL(34, 406, 19), // "updateFormatActions"
QT_MOC_LITERAL(35, 426, 28), // "updateFormatAlignmentActions"
QT_MOC_LITERAL(36, 455, 10) // "updateSave"

    },
    "Window\0addDocuments\0\0documents\0"
    "newDocument\0openDocument\0renameDocument\0"
    "saveAllDocuments\0closeDocument\0Document*\0"
    "document\0showDocument\0nextDocument\0"
    "previousDocument\0firstDocument\0"
    "lastDocument\0setLanguageClicked\0"
    "minimize\0toggleFullscreen\0toggleToolbar\0"
    "visible\0toggleMenuIcons\0themeClicked\0"
    "preferencesClicked\0aboutClicked\0"
    "setLocaleClicked\0tabClicked\0index\0"
    "tabMoved\0from\0to\0tabClosed\0updateClock\0"
    "updateDetails\0updateFormatActions\0"
    "updateFormatAlignmentActions\0updateSave"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Window[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,  159,    2, 0x0a /* Public */,
       4,    0,  162,    2, 0x08 /* Private */,
       5,    0,  163,    2, 0x08 /* Private */,
       6,    0,  164,    2, 0x08 /* Private */,
       7,    0,  165,    2, 0x08 /* Private */,
       8,    0,  166,    2, 0x08 /* Private */,
       8,    1,  167,    2, 0x08 /* Private */,
      11,    1,  170,    2, 0x08 /* Private */,
      12,    0,  173,    2, 0x08 /* Private */,
      13,    0,  174,    2, 0x08 /* Private */,
      14,    0,  175,    2, 0x08 /* Private */,
      15,    0,  176,    2, 0x08 /* Private */,
      16,    0,  177,    2, 0x08 /* Private */,
      17,    0,  178,    2, 0x08 /* Private */,
      18,    0,  179,    2, 0x08 /* Private */,
      19,    1,  180,    2, 0x08 /* Private */,
      21,    1,  183,    2, 0x08 /* Private */,
      22,    0,  186,    2, 0x08 /* Private */,
      23,    0,  187,    2, 0x08 /* Private */,
      24,    0,  188,    2, 0x08 /* Private */,
      25,    0,  189,    2, 0x08 /* Private */,
      26,    1,  190,    2, 0x08 /* Private */,
      28,    2,  193,    2, 0x08 /* Private */,
      31,    1,  198,    2, 0x08 /* Private */,
      32,    0,  201,    2, 0x08 /* Private */,
      33,    0,  202,    2, 0x08 /* Private */,
      34,    0,  203,    2, 0x08 /* Private */,
      35,    0,  204,    2, 0x08 /* Private */,
      36,    0,  205,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   20,
    QMetaType::Void, QMetaType::Bool,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   27,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   29,   30,
    QMetaType::Void, QMetaType::Int,   27,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Window::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Window *_t = static_cast<Window *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->addDocuments((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->newDocument(); break;
        case 2: _t->openDocument(); break;
        case 3: _t->renameDocument(); break;
        case 4: _t->saveAllDocuments(); break;
        case 5: _t->closeDocument(); break;
        case 6: _t->closeDocument((*reinterpret_cast< Document*(*)>(_a[1]))); break;
        case 7: _t->showDocument((*reinterpret_cast< Document*(*)>(_a[1]))); break;
        case 8: _t->nextDocument(); break;
        case 9: _t->previousDocument(); break;
        case 10: _t->firstDocument(); break;
        case 11: _t->lastDocument(); break;
        case 12: _t->setLanguageClicked(); break;
        case 13: _t->minimize(); break;
        case 14: _t->toggleFullscreen(); break;
        case 15: _t->toggleToolbar((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->toggleMenuIcons((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: _t->themeClicked(); break;
        case 18: _t->preferencesClicked(); break;
        case 19: _t->aboutClicked(); break;
        case 20: _t->setLocaleClicked(); break;
        case 21: _t->tabClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 22: _t->tabMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 23: _t->tabClosed((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 24: _t->updateClock(); break;
        case 25: _t->updateDetails(); break;
        case 26: _t->updateFormatActions(); break;
        case 27: _t->updateFormatAlignmentActions(); break;
        case 28: _t->updateSave(); break;
        default: ;
        }
    }
}

const QMetaObject Window::staticMetaObject = {
    { &QMainWindow::staticMetaObject, qt_meta_stringdata_Window.data,
      qt_meta_data_Window,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Window::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Window.stringdata0))
        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 < 29)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 29;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 29)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 29;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
