/****************************************************************************
** Meta object code from reading C++ file 'dbus.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 "dbus.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbus.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_dbus__Tool_t {
    QByteArrayData data[4];
    char stringdata0[35];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_dbus__Tool_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dbus__Tool_t qt_meta_stringdata_dbus__Tool = {
    {
QT_MOC_LITERAL(0, 0, 10), // "dbus::Tool"
QT_MOC_LITERAL(1, 11, 18), // "getFileNameFromDir"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 3) // "arg"

    },
    "dbus::Tool\0getFileNameFromDir\0\0arg"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dbus__Tool[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::QStringList, QMetaType::QString,    3,

       0        // eod
};

void dbus::Tool::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Tool *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { QStringList _r = _t->getFileNameFromDir((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject dbus::Tool::staticMetaObject = { {
    &QObject::staticMetaObject,
    qt_meta_stringdata_dbus__Tool.data,
    qt_meta_data_dbus__Tool,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int dbus::Tool::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
struct qt_meta_stringdata_dbus__Dbus_t {
    QByteArrayData data[3];
    char stringdata0[28];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_dbus__Dbus_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dbus__Dbus_t qt_meta_stringdata_dbus__Dbus = {
    {
QT_MOC_LITERAL(0, 0, 10), // "dbus::Dbus"
QT_MOC_LITERAL(1, 11, 15), // "creatDbusServer"
QT_MOC_LITERAL(2, 27, 0) // ""

    },
    "dbus::Dbus\0creatDbusServer\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dbus__Dbus[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void dbus::Dbus::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Dbus *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->creatDbusServer(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

QT_INIT_METAOBJECT const QMetaObject dbus::Dbus::staticMetaObject = { {
    &QObject::staticMetaObject,
    qt_meta_stringdata_dbus__Dbus.data,
    qt_meta_data_dbus__Dbus,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int dbus::Dbus::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
struct qt_meta_stringdata_dbus__DbusManager_t {
    QByteArrayData data[3];
    char stringdata0[35];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_dbus__DbusManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dbus__DbusManager_t qt_meta_stringdata_dbus__DbusManager = {
    {
QT_MOC_LITERAL(0, 0, 17), // "dbus::DbusManager"
QT_MOC_LITERAL(1, 18, 15), // "creatDbusServer"
QT_MOC_LITERAL(2, 34, 0) // ""

    },
    "dbus::DbusManager\0creatDbusServer\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dbus__DbusManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,

       0        // eod
};

void dbus::DbusManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DbusManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->creatDbusServer(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (DbusManager::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DbusManager::creatDbusServer)) {
                *result = 0;
                return;
            }
        }
    }
    Q_UNUSED(_a);
}

QT_INIT_METAOBJECT const QMetaObject dbus::DbusManager::staticMetaObject = { {
    &QObject::staticMetaObject,
    qt_meta_stringdata_dbus__DbusManager.data,
    qt_meta_data_dbus__DbusManager,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void dbus::DbusManager::creatDbusServer()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_dbus__DataMigration_t {
    QByteArrayData data[27];
    char stringdata0[451];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_dbus__DataMigration_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dbus__DataMigration_t qt_meta_stringdata_dbus__DataMigration = {
    {
QT_MOC_LITERAL(0, 0, 19), // "dbus::DataMigration"
QT_MOC_LITERAL(1, 20, 18), // "sigReceTestSuccess"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 18), // "sigReceProcessFail"
QT_MOC_LITERAL(4, 59, 18), // "sigMigrateDataInfo"
QT_MOC_LITERAL(5, 78, 18), // "sigMigrateDataSize"
QT_MOC_LITERAL(6, 97, 21), // "sigMigrateDataSuccess"
QT_MOC_LITERAL(7, 119, 20), // "sigConfigDataSuccess"
QT_MOC_LITERAL(8, 140, 24), // "sigMigrateAppDataSuccess"
QT_MOC_LITERAL(9, 165, 17), // "senderStartServer"
QT_MOC_LITERAL(10, 183, 4), // "name"
QT_MOC_LITERAL(11, 188, 3), // "pwd"
QT_MOC_LITERAL(12, 192, 16), // "senderStopServer"
QT_MOC_LITERAL(13, 209, 23), // "senderGetAppDesktopInfo"
QT_MOC_LITERAL(14, 233, 23), // "senderGetAppPackageInfo"
QT_MOC_LITERAL(15, 257, 4), // "list"
QT_MOC_LITERAL(16, 262, 18), // "receiverTestServer"
QT_MOC_LITERAL(17, 281, 2), // "IP"
QT_MOC_LITERAL(18, 284, 19), // "receiverGetDataInfo"
QT_MOC_LITERAL(19, 304, 4), // "type"
QT_MOC_LITERAL(20, 309, 19), // "receiverMigrateData"
QT_MOC_LITERAL(21, 329, 14), // "receiverReboot"
QT_MOC_LITERAL(22, 344, 19), // "receiverAppDataList"
QT_MOC_LITERAL(23, 364, 18), // "receiverConfigData"
QT_MOC_LITERAL(24, 383, 17), // "receiverStopRsync"
QT_MOC_LITERAL(25, 401, 26), // "receiverMigrateVersionFile"
QT_MOC_LITERAL(26, 428, 22) // "receiverMigrateAppData"

    },
    "dbus::DataMigration\0sigReceTestSuccess\0"
    "\0sigReceProcessFail\0sigMigrateDataInfo\0"
    "sigMigrateDataSize\0sigMigrateDataSuccess\0"
    "sigConfigDataSuccess\0sigMigrateAppDataSuccess\0"
    "senderStartServer\0name\0pwd\0senderStopServer\0"
    "senderGetAppDesktopInfo\0senderGetAppPackageInfo\0"
    "list\0receiverTestServer\0IP\0"
    "receiverGetDataInfo\0type\0receiverMigrateData\0"
    "receiverReboot\0receiverAppDataList\0"
    "receiverConfigData\0receiverStopRsync\0"
    "receiverMigrateVersionFile\0"
    "receiverMigrateAppData"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dbus__DataMigration[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  114,    2, 0x06 /* Public */,
       3,    1,  115,    2, 0x06 /* Public */,
       4,    1,  118,    2, 0x06 /* Public */,
       5,    1,  121,    2, 0x06 /* Public */,
       6,    0,  124,    2, 0x06 /* Public */,
       7,    0,  125,    2, 0x06 /* Public */,
       8,    0,  126,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    2,  127,    2, 0x0a /* Public */,
      12,    0,  132,    2, 0x0a /* Public */,
      13,    0,  133,    2, 0x0a /* Public */,
      14,    1,  134,    2, 0x0a /* Public */,
      16,    3,  137,    2, 0x0a /* Public */,
      18,    1,  144,    2, 0x0a /* Public */,
      20,    1,  147,    2, 0x0a /* Public */,
      21,    0,  150,    2, 0x0a /* Public */,
      22,    1,  151,    2, 0x0a /* Public */,
      23,    0,  154,    2, 0x0a /* Public */,
      24,    0,  155,    2, 0x0a /* Public */,
      25,    0,  156,    2, 0x0a /* Public */,
      26,    0,  157,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QStringList,    2,
    QMetaType::Void, QMetaType::LongLong,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   10,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QStringList,   15,
    QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString,   11,   17,   10,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QStringList,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void dbus::DataMigration::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DataMigration *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigReceTestSuccess(); break;
        case 1: _t->sigReceProcessFail((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->sigMigrateDataInfo((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
        case 3: _t->sigMigrateDataSize((*reinterpret_cast< qint64(*)>(_a[1]))); break;
        case 4: _t->sigMigrateDataSuccess(); break;
        case 5: _t->sigConfigDataSuccess(); break;
        case 6: _t->sigMigrateAppDataSuccess(); break;
        case 7: _t->senderStartServer((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 8: _t->senderStopServer(); break;
        case 9: _t->senderGetAppDesktopInfo(); break;
        case 10: _t->senderGetAppPackageInfo((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
        case 11: { QString _r = _t->receiverTestServer((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->receiverGetDataInfo((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->receiverMigrateData((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->receiverReboot(); break;
        case 15: _t->receiverAppDataList((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
        case 16: _t->receiverConfigData(); break;
        case 17: _t->receiverStopRsync(); break;
        case 18: _t->receiverMigrateVersionFile(); break;
        case 19: _t->receiverMigrateAppData(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (DataMigration::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DataMigration::sigReceTestSuccess)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (DataMigration::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DataMigration::sigReceProcessFail)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (DataMigration::*)(QStringList );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DataMigration::sigMigrateDataInfo)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (DataMigration::*)(qint64 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DataMigration::sigMigrateDataSize)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (DataMigration::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DataMigration::sigMigrateDataSuccess)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (DataMigration::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DataMigration::sigConfigDataSuccess)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (DataMigration::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DataMigration::sigMigrateAppDataSuccess)) {
                *result = 6;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject dbus::DataMigration::staticMetaObject = { {
    &QObject::staticMetaObject,
    qt_meta_stringdata_dbus__DataMigration.data,
    qt_meta_data_dbus__DataMigration,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void dbus::DataMigration::sigReceTestSuccess()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

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

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

// SIGNAL 4
void dbus::DataMigration::sigMigrateDataSuccess()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void dbus::DataMigration::sigConfigDataSuccess()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void dbus::DataMigration::sigMigrateAppDataSuccess()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
