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

#include "applogic.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'applogic.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.12.12. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_AppLogic_t {
    QByteArrayData data[53];
    char stringdata0[546];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AppLogic_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AppLogic_t qt_meta_stringdata_AppLogic = {
    {
QT_MOC_LITERAL(0, 0, 8), // "AppLogic"
QT_MOC_LITERAL(1, 9, 13), // "connetcResult"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 17), // "saveProgressValue"
QT_MOC_LITERAL(4, 42, 15), // "saveProgressMax"
QT_MOC_LITERAL(5, 58, 15), // "downloadingFile"
QT_MOC_LITERAL(6, 74, 3), // "str"
QT_MOC_LITERAL(7, 78, 17), // "cancelFileMigrate"
QT_MOC_LITERAL(8, 96, 20), // "getStandardItemModel"
QT_MOC_LITERAL(9, 117, 19), // "QStandardItemModel*"
QT_MOC_LITERAL(10, 137, 15), // "getCancelHandle"
QT_MOC_LITERAL(11, 153, 5), // "bool*"
QT_MOC_LITERAL(12, 159, 16), // "connectSmbServer"
QT_MOC_LITERAL(13, 176, 7), // "SmbConf"
QT_MOC_LITERAL(14, 184, 2), // "sc"
QT_MOC_LITERAL(15, 187, 16), // "treeViewExpanded"
QT_MOC_LITERAL(16, 204, 11), // "QModelIndex"
QT_MOC_LITERAL(17, 216, 5), // "index"
QT_MOC_LITERAL(18, 222, 14), // "startMigration"
QT_MOC_LITERAL(19, 237, 4), // "path"
QT_MOC_LITERAL(20, 242, 11), // "itemChanged"
QT_MOC_LITERAL(21, 254, 14), // "QStandardItem*"
QT_MOC_LITERAL(22, 269, 4), // "item"
QT_MOC_LITERAL(23, 274, 6), // "resave"
QT_MOC_LITERAL(24, 281, 8), // "creatLog"
QT_MOC_LITERAL(25, 290, 9), // "startLoad"
QT_MOC_LITERAL(26, 300, 7), // "auth_fn"
QT_MOC_LITERAL(27, 308, 11), // "const char*"
QT_MOC_LITERAL(28, 320, 6), // "server"
QT_MOC_LITERAL(29, 327, 5), // "share"
QT_MOC_LITERAL(30, 333, 5), // "char*"
QT_MOC_LITERAL(31, 339, 9), // "workgroup"
QT_MOC_LITERAL(32, 349, 8), // "wgmaxlen"
QT_MOC_LITERAL(33, 358, 8), // "username"
QT_MOC_LITERAL(34, 367, 8), // "unmaxlen"
QT_MOC_LITERAL(35, 376, 8), // "password"
QT_MOC_LITERAL(36, 385, 8), // "pwmaxlen"
QT_MOC_LITERAL(37, 394, 15), // "getDirsAndFiles"
QT_MOC_LITERAL(38, 410, 3), // "url"
QT_MOC_LITERAL(39, 414, 10), // "parentItem"
QT_MOC_LITERAL(40, 425, 4), // "deep"
QT_MOC_LITERAL(41, 430, 2), // "dh"
QT_MOC_LITERAL(42, 433, 20), // "getDirsAndFilesChild"
QT_MOC_LITERAL(43, 454, 12), // "getSavePoint"
QT_MOC_LITERAL(44, 467, 10), // "getFileUrl"
QT_MOC_LITERAL(45, 478, 10), // "SmbUrlInfo"
QT_MOC_LITERAL(46, 489, 8), // "saveFile"
QT_MOC_LITERAL(47, 498, 10), // "connectSmb"
QT_MOC_LITERAL(48, 509, 12), // "reconnectSmb"
QT_MOC_LITERAL(49, 522, 4), // "int&"
QT_MOC_LITERAL(50, 527, 8), // "errorNum"
QT_MOC_LITERAL(51, 536, 3), // "byt"
QT_MOC_LITERAL(52, 540, 5) // "isDir"

    },
    "AppLogic\0connetcResult\0\0saveProgressValue\0"
    "saveProgressMax\0downloadingFile\0str\0"
    "cancelFileMigrate\0getStandardItemModel\0"
    "QStandardItemModel*\0getCancelHandle\0"
    "bool*\0connectSmbServer\0SmbConf\0sc\0"
    "treeViewExpanded\0QModelIndex\0index\0"
    "startMigration\0path\0itemChanged\0"
    "QStandardItem*\0item\0resave\0creatLog\0"
    "startLoad\0auth_fn\0const char*\0server\0"
    "share\0char*\0workgroup\0wgmaxlen\0username\0"
    "unmaxlen\0password\0pwmaxlen\0getDirsAndFiles\0"
    "url\0parentItem\0deep\0dh\0getDirsAndFilesChild\0"
    "getSavePoint\0getFileUrl\0SmbUrlInfo\0"
    "saveFile\0connectSmb\0reconnectSmb\0int&\0"
    "errorNum\0byt\0isDir"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AppLogic[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  139,    2, 0x06 /* Public */,
       1,    1,  144,    2, 0x26 /* Public | MethodCloned */,
       3,    1,  147,    2, 0x06 /* Public */,
       4,    1,  150,    2, 0x06 /* Public */,
       5,    1,  153,    2, 0x06 /* Public */,
       7,    0,  156,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,  157,    2, 0x0a /* Public */,
      10,    0,  158,    2, 0x0a /* Public */,
      12,    1,  159,    2, 0x0a /* Public */,
      15,    1,  162,    2, 0x0a /* Public */,
      18,    1,  165,    2, 0x0a /* Public */,
      20,    1,  168,    2, 0x0a /* Public */,
      23,    0,  171,    2, 0x0a /* Public */,
      24,    0,  172,    2, 0x0a /* Public */,
      25,    0,  173,    2, 0x0a /* Public */,
      26,    8,  174,    2, 0x08 /* Private */,
      37,    4,  191,    2, 0x08 /* Private */,
      37,    3,  200,    2, 0x28 /* Private | MethodCloned */,
      42,    3,  207,    2, 0x08 /* Private */,
      43,    2,  214,    2, 0x08 /* Private */,
      44,    1,  219,    2, 0x08 /* Private */,
      46,    1,  222,    2, 0x08 /* Private */,
      47,    0,  225,    2, 0x08 /* Private */,
      48,    4,  226,    2, 0x08 /* Private */,
      48,    3,  235,    2, 0x28 /* Private | MethodCloned */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::QVariant,    2,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void,

 // slots: parameters
    0x80000000 | 9,
    0x80000000 | 11,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, QMetaType::QString,   19,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 27, 0x80000000 | 27, 0x80000000 | 30, QMetaType::Int, 0x80000000 | 30, QMetaType::Int, 0x80000000 | 30, QMetaType::Int,   28,   29,   31,   32,   33,   34,   35,   36,
    QMetaType::Void, QMetaType::QByteArray, 0x80000000 | 21, QMetaType::Int, QMetaType::Int,   38,   39,   40,   41,
    QMetaType::Void, QMetaType::QByteArray, 0x80000000 | 21, QMetaType::Int,   38,   39,   40,
    QMetaType::Void, QMetaType::QByteArray, 0x80000000 | 21, QMetaType::Int,   38,   39,   40,
    QMetaType::Void, QMetaType::QByteArray, 0x80000000 | 21,   38,   39,
    QMetaType::Void, 0x80000000 | 45,   38,
    QMetaType::Void, 0x80000000 | 45,   38,
    QMetaType::Bool,
    QMetaType::Void, 0x80000000 | 49, 0x80000000 | 49, QMetaType::QByteArray, QMetaType::Bool,   41,   50,   51,   52,
    QMetaType::Void, 0x80000000 | 49, 0x80000000 | 49, QMetaType::QByteArray,   41,   50,   51,

       0        // eod
};

void AppLogic::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AppLogic *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->connetcResult((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2]))); break;
        case 1: _t->connetcResult((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->saveProgressValue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->saveProgressMax((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->downloadingFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->cancelFileMigrate(); break;
        case 6: { QStandardItemModel* _r = _t->getStandardItemModel();
            if (_a[0]) *reinterpret_cast< QStandardItemModel**>(_a[0]) = std::move(_r); }  break;
        case 7: { bool* _r = _t->getCancelHandle();
            if (_a[0]) *reinterpret_cast< bool**>(_a[0]) = std::move(_r); }  break;
        case 8: _t->connectSmbServer((*reinterpret_cast< const SmbConf(*)>(_a[1]))); break;
        case 9: _t->treeViewExpanded((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 10: _t->startMigration((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->itemChanged((*reinterpret_cast< QStandardItem*(*)>(_a[1]))); break;
        case 12: _t->resave(); break;
        case 13: _t->creatLog(); break;
        case 14: _t->startLoad(); break;
        case 15: _t->auth_fn((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< const char*(*)>(_a[2])),(*reinterpret_cast< char*(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< char*(*)>(_a[5])),(*reinterpret_cast< int(*)>(_a[6])),(*reinterpret_cast< char*(*)>(_a[7])),(*reinterpret_cast< int(*)>(_a[8]))); break;
        case 16: _t->getDirsAndFiles((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< QStandardItem*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 17: _t->getDirsAndFiles((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< QStandardItem*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 18: _t->getDirsAndFilesChild((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< QStandardItem*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 19: _t->getSavePoint((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< QStandardItem*(*)>(_a[2]))); break;
        case 20: _t->getFileUrl((*reinterpret_cast< const SmbUrlInfo(*)>(_a[1]))); break;
        case 21: _t->saveFile((*reinterpret_cast< const SmbUrlInfo(*)>(_a[1]))); break;
        case 22: { bool _r = _t->connectSmb();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 23: _t->reconnectSmb((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QByteArray(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
        case 24: _t->reconnectSmb((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QByteArray(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (AppLogic::*)(int , QVariant );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AppLogic::connetcResult)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (AppLogic::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AppLogic::saveProgressValue)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (AppLogic::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AppLogic::saveProgressMax)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (AppLogic::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AppLogic::downloadingFile)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (AppLogic::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AppLogic::cancelFileMigrate)) {
                *result = 5;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject AppLogic::staticMetaObject = { {
    &QObject::staticMetaObject,
    qt_meta_stringdata_AppLogic.data,
    qt_meta_data_AppLogic,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *AppLogic::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_AppLogic.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int AppLogic::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 < 25)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 25;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 25)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 25;
    }
    return _id;
}

// SIGNAL 0
void AppLogic::connetcResult(int _t1, QVariant _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 2
void AppLogic::saveProgressValue(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void AppLogic::saveProgressMax(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void AppLogic::downloadingFile(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void AppLogic::cancelFileMigrate()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
