//
// Statemachine code from reading SCXML file 'simpleftp.scxml'
// Created by: The Qt SCXML Compiler version 1 (Qt 5.9.3)
// WARNING! All changes made in this file will be lost!
//

#include "simpleftp.h"

#include <qscxmlinvokableservice.h>
#include <qscxmltabledata.h>
#include <QScxmlEcmaScriptDataModel>

#if !defined(Q_QSCXMLC_OUTPUT_REVISION)
#error "The header file 'simpleftp.scxml' doesn't include <qscxmltabledata.h>."
#elif Q_QSCXMLC_OUTPUT_REVISION != 1
#error "This file was generated using the qscxmlc from 5.9.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The qscxmlc has changed too much.)"
#endif

struct FtpClient::Data: private QScxmlTableData {
    Data(FtpClient &stateMachine)
        : stateMachine(stateMachine)
    {}

    void init() {
        stateMachine.setTableData(this);
        stateMachine.setDataModel(&dataModel);
    }

    QString name() const Q_DECL_OVERRIDE Q_DECL_FINAL
    { return string(0); }

    QScxmlExecutableContent::ContainerId initialSetup() const Q_DECL_OVERRIDE Q_DECL_FINAL
    { return -1; }

    QScxmlExecutableContent::InstructionId *instructions() const Q_DECL_OVERRIDE Q_DECL_FINAL
    { return theInstructions; }

    QScxmlExecutableContent::StringId *dataNames(int *count) const Q_DECL_OVERRIDE Q_DECL_FINAL
    { *count = 0; return dataIds; }

    QScxmlExecutableContent::EvaluatorInfo evaluatorInfo(QScxmlExecutableContent::EvaluatorId evaluatorId) const Q_DECL_OVERRIDE Q_DECL_FINAL
    { Q_ASSERT(evaluatorId >= 0); Q_ASSERT(evaluatorId < 2); return evaluators[evaluatorId]; }

    QScxmlExecutableContent::AssignmentInfo assignmentInfo(QScxmlExecutableContent::EvaluatorId assignmentId) const Q_DECL_OVERRIDE Q_DECL_FINAL
    { Q_ASSERT(assignmentId >= 0); Q_ASSERT(assignmentId < 0); return assignments[assignmentId]; }

    QScxmlExecutableContent::ForeachInfo foreachInfo(QScxmlExecutableContent::EvaluatorId foreachId) const Q_DECL_OVERRIDE Q_DECL_FINAL
    { Q_ASSERT(foreachId >= 0); Q_ASSERT(foreachId < 0); return foreaches[foreachId]; }

    QString string(QScxmlExecutableContent::StringId id) const Q_DECL_OVERRIDE Q_DECL_FINAL
    {
        Q_ASSERT(id >= QScxmlExecutableContent::NoString); Q_ASSERT(id < 49);
        if (id == QScxmlExecutableContent::NoString) return QString();
        return QString({static_cast<QStringData*>(strings.data + id)});
    }

    const qint32 *stateMachineTable() const Q_DECL_OVERRIDE Q_DECL_FINAL
    { return theStateMachineTable; }

    QScxmlInvokableServiceFactory *serviceFactory(int id) const Q_DECL_OVERRIDE Q_DECL_FINAL;

    FtpClient &stateMachine;
    QScxmlEcmaScriptDataModel dataModel;

    static QScxmlExecutableContent::ParameterInfo param(QScxmlExecutableContent::StringId name,
                                                        QScxmlExecutableContent::EvaluatorId expr,
                                                        QScxmlExecutableContent::StringId location)
    {
        QScxmlExecutableContent::ParameterInfo p;
        p.name = name;
        p.expr = expr;
        p.location = location;
        return p;
    }

    static QScxmlExecutableContent::InvokeInfo invoke(
            QScxmlExecutableContent::StringId id,
            QScxmlExecutableContent::StringId prefix,
            QScxmlExecutableContent::EvaluatorId expr,
            QScxmlExecutableContent::StringId location,
            QScxmlExecutableContent::StringId context,
            QScxmlExecutableContent::ContainerId finalize,
            bool autoforward)
    {
        QScxmlExecutableContent::InvokeInfo i;
        i.id = id;
        i.prefix = prefix;
        i.expr = expr;
        i.location = location;
        i.context = context;
        i.finalize = finalize;
        i.autoforward = autoforward;
        return i;
    }

    static qint32 theInstructions[];
    static QScxmlExecutableContent::StringId dataIds[];
    static QScxmlExecutableContent::EvaluatorInfo evaluators[];
    static QScxmlExecutableContent::AssignmentInfo assignments[];
    static QScxmlExecutableContent::ForeachInfo foreaches[];
    static const qint32 theStateMachineTable[];
    static struct Strings {
        QArrayData data[49];
        qunicodechar stringdata[541];
    } strings;
};

FtpClient::FtpClient(QObject *parent)
    : QScxmlStateMachine(&staticMetaObject, parent)
    , data(new Data(*this))
{ qRegisterMetaType<FtpClient *>(); data->init(); }

FtpClient::~FtpClient()
{ delete data; }

QScxmlInvokableServiceFactory *FtpClient::Data::serviceFactory(int id) const
{
    Q_UNUSED(id);
    Q_UNREACHABLE();
}

qint32 FtpClient::Data::theInstructions[] = {
2, 1, 21, 1, 19, 3, 30, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 33,
1, -1, 12, 48, -1, -1, 0
};

QScxmlExecutableContent::StringId FtpClient::Data::dataIds[] = {
-1
};

QScxmlExecutableContent::EvaluatorInfo FtpClient::Data::evaluators[] = {
{ 31, 32 }, { 34, 35 }
};

QScxmlExecutableContent::AssignmentInfo FtpClient::Data::assignments[] = {
{ -1, -1, -1 }
};

QScxmlExecutableContent::ForeachInfo FtpClient::Data::foreaches[] = {
{ -1, -1, -1, -1 }
};

#define STR_LIT(idx, ofs, len) \
    Q_STATIC_STRING_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(Strings, stringdata) + ofs * sizeof(qunicodechar) - idx * sizeof(QArrayData)) \
    )
FtpClient::Data::Strings FtpClient::Data::strings = {{
STR_LIT(0, 0, 9), STR_LIT(1, 10, 1), STR_LIT(2, 12, 5), STR_LIT(3, 18, 3),
STR_LIT(4, 22, 1), STR_LIT(5, 24, 9), STR_LIT(6, 34, 1), STR_LIT(7, 36, 8),
STR_LIT(8, 45, 7), STR_LIT(9, 53, 8), STR_LIT(10, 62, 8), STR_LIT(11, 71, 8),
STR_LIT(12, 80, 8), STR_LIT(13, 89, 8), STR_LIT(14, 98, 8), STR_LIT(15, 107, 7),
STR_LIT(16, 115, 7), STR_LIT(17, 123, 7), STR_LIT(18, 131, 8),
STR_LIT(19, 140, 8), STR_LIT(20, 149, 8), STR_LIT(21, 158, 8),
STR_LIT(22, 167, 8), STR_LIT(23, 176, 8), STR_LIT(24, 185, 8),
STR_LIT(25, 194, 8), STR_LIT(26, 203, 8), STR_LIT(27, 212, 1),
STR_LIT(28, 214, 1), STR_LIT(29, 216, 1), STR_LIT(30, 218, 27),
STR_LIT(31, 246, 23), STR_LIT(32, 270, 68), STR_LIT(33, 339, 6),
STR_LIT(34, 346, 11), STR_LIT(35, 358, 52), STR_LIT(36, 411, 9),
STR_LIT(37, 421, 9), STR_LIT(38, 431, 5), STR_LIT(39, 437, 9),
STR_LIT(40, 447, 10), STR_LIT(41, 458, 9), STR_LIT(42, 468, 6),
STR_LIT(43, 475, 9), STR_LIT(44, 485, 7), STR_LIT(45, 493, 1),
STR_LIT(46, 495, 8), STR_LIT(47, 504, 1), STR_LIT(48, 506, 33)
},{
0x46,0x74,0x70,0x43,0x6c,0x69,0x65,0x6e,0x74,0, // 0: FtpClient
0x47,0, // 1: G
0x72,0x65,0x70,0x6c,0x79,0, // 2: reply
0x63,0x6d,0x64,0, // 3: cmd
0x49,0, // 4: I
0x72,0x65,0x70,0x6c,0x79,0x2e,0x32,0x78,0x78,0, // 5: reply.2xx
0x42,0, // 6: B
0x63,0x6d,0x64,0x2e,0x44,0x45,0x4c,0x45,0, // 7: cmd.DELE
0x63,0x6d,0x64,0x2e,0x43,0x57,0x44,0, // 8: cmd.CWD
0x63,0x6d,0x64,0x2e,0x43,0x44,0x55,0x50,0, // 9: cmd.CDUP
0x63,0x6d,0x64,0x2e,0x48,0x45,0x4c,0x50,0, // 10: cmd.HELP
0x63,0x6d,0x64,0x2e,0x4e,0x4f,0x4f,0x50,0, // 11: cmd.NOOP
0x63,0x6d,0x64,0x2e,0x51,0x55,0x49,0x54,0, // 12: cmd.QUIT
0x63,0x6d,0x64,0x2e,0x53,0x59,0x53,0x54,0, // 13: cmd.SYST
0x63,0x6d,0x64,0x2e,0x53,0x54,0x41,0x54,0, // 14: cmd.STAT
0x63,0x6d,0x64,0x2e,0x52,0x4d,0x44,0, // 15: cmd.RMD
0x63,0x6d,0x64,0x2e,0x4d,0x4b,0x44,0, // 16: cmd.MKD
0x63,0x6d,0x64,0x2e,0x50,0x57,0x44,0, // 17: cmd.PWD
0x63,0x6d,0x64,0x2e,0x50,0x4f,0x52,0x54,0, // 18: cmd.PORT
0x63,0x6d,0x64,0x2e,0x41,0x50,0x50,0x45,0, // 19: cmd.APPE
0x63,0x6d,0x64,0x2e,0x4c,0x49,0x53,0x54,0, // 20: cmd.LIST
0x63,0x6d,0x64,0x2e,0x4e,0x4c,0x53,0x54,0, // 21: cmd.NLST
0x63,0x6d,0x64,0x2e,0x52,0x45,0x49,0x4e,0, // 22: cmd.REIN
0x63,0x6d,0x64,0x2e,0x52,0x45,0x54,0x52,0, // 23: cmd.RETR
0x63,0x6d,0x64,0x2e,0x53,0x54,0x4f,0x52,0, // 24: cmd.STOR
0x63,0x6d,0x64,0x2e,0x53,0x54,0x4f,0x55,0, // 25: cmd.STOU
0x63,0x6d,0x64,0x2e,0x55,0x53,0x45,0x52,0, // 26: cmd.USER
0x53,0, // 27: S
0x46,0, // 28: F
0x57,0, // 29: W
0x73,0x65,0x6e,0x64,0x20,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x20,0x69,0x6e,0x20,0x73,0x74,0x61,0x74,0x65,0x20,0x57,0, // 30: send instruction in state W
0x22,0x73,0x75,0x62,0x6d,0x69,0x74,0x2e,0x22,0x20,0x2b,0x20,0x5f,0x65,0x76,0x65,0x6e,0x74,0x2e,0x6e,0x61,0x6d,0x65,0, // 31: \"submit.\" + _event.name
0x73,0x65,0x6e,0x64,0x20,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x20,0x69,0x6e,0x20,0x73,0x74,0x61,0x74,0x65,0x20,0x57,0x20,0x77,0x69,0x74,0x68,0x20,0x65,0x76,0x65,0x6e,0x74,0x65,0x78,0x70,0x72,0x3d,0x22,0x22,0x73,0x75,0x62,0x6d,0x69,0x74,0x2e,0x22,0x20,0x2b,0x20,0x5f,0x65,0x76,0x65,0x6e,0x74,0x2e,0x6e,0x61,0x6d,0x65,0x22,0, // 32: send instruction in state W with eventexpr=\"\"submit.\" + _event.name\"
0x70,0x61,0x72,0x61,0x6d,0x73,0, // 33: params
0x5f,0x65,0x76,0x65,0x6e,0x74,0x2e,0x64,0x61,0x74,0x61,0, // 34: _event.data
0x70,0x61,0x72,0x61,0x6d,0x20,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x20,0x69,0x6e,0x20,0x73,0x74,0x61,0x74,0x65,0x20,0x57,0x20,0x77,0x69,0x74,0x68,0x20,0x65,0x78,0x70,0x72,0x3d,0x22,0x5f,0x65,0x76,0x65,0x6e,0x74,0x2e,0x64,0x61,0x74,0x61,0x22,0, // 35: param instruction in state W with expr=\"_event.data\"
0x72,0x65,0x70,0x6c,0x79,0x2e,0x34,0x78,0x78,0, // 36: reply.4xx
0x72,0x65,0x70,0x6c,0x79,0x2e,0x35,0x78,0x78,0, // 37: reply.5xx
0x57,0x2e,0x31,0x78,0x78,0, // 38: W.1xx
0x72,0x65,0x70,0x6c,0x79,0x2e,0x31,0x78,0x78,0, // 39: reply.1xx
0x57,0x2e,0x74,0x72,0x61,0x6e,0x73,0x66,0x65,0x72,0, // 40: W.transfer
0x57,0x2e,0x67,0x65,0x6e,0x65,0x72,0x61,0x6c,0, // 41: W.general
0x57,0x2e,0x75,0x73,0x65,0x72,0, // 42: W.user
0x72,0x65,0x70,0x6c,0x79,0x2e,0x33,0x78,0x78,0, // 43: reply.3xx
0x57,0x2e,0x6c,0x6f,0x67,0x69,0x6e,0, // 44: W.login
0x50,0, // 45: P
0x63,0x6d,0x64,0x2e,0x50,0x41,0x53,0x53,0, // 46: cmd.PASS
0x45,0, // 47: E
0x66,0x69,0x6e,0x61,0x6c,0x20,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x20,0x69,0x6e,0x20,0x73,0x74,0x61,0x74,0x65,0x20,0x28,0x6e,0x6f,0x6e,0x65,0x29,0 // 48: final instruction in state (none)
}};

const qint32 FtpClient::Data::theStateMachineTable[] = {
	0x1, // version
	0, // name
	1, // data-model
	100, // child states array offset
	11, // transition to initial states
	-1, // initial setup
	0, // binding
	-1, // maxServiceId
	14, 13, // state offset and count
	157, 15, // transition offset and count
	247, 105, // array offset and size

	// States:
	1, -1, 0, 12, -1, -1, -1, -1, 90, 95, -1,
	4, 0, 0, -1, -1, -1, -1, -1, -1, 12, -1,
	6, 0, 0, 13, -1, -1, -1, -1, 43, 46, -1,
	27, 2, 0, -1, -1, -1, -1, -1, -1, -1, -1,
	28, 2, 0, -1, -1, -1, -1, -1, -1, -1, -1,
	29, 0, 0, 14, -1, 0, -1, -1, 73, 79, -1,
	38, 5, 0, -1, -1, -1, -1, -1, -1, 65, -1,
	40, 5, 0, -1, -1, -1, -1, -1, -1, -1, -1,
	41, 5, 0, -1, -1, -1, -1, -1, -1, -1, -1,
	42, 5, 0, -1, -1, -1, -1, -1, -1, 71, -1,
	44, 5, 0, -1, -1, -1, -1, -1, -1, -1, -1,
	45, 0, 0, -1, -1, -1, -1, -1, -1, 88, -1,
	47, -1, 2, -1, -1, -1, -1, 24, -1, -1, -1,

	// Transitions:
	2, -1, 1, 0, 0, -1, 
	6, -1, 1, 0, 4, -1, 
	10, -1, 1, 1, 8, -1, 
	16, -1, 1, 2, 14, -1, 
	31, -1, 1, 2, 29, -1, 
	41, -1, 1, 2, 39, -1, 
	54, -1, 1, 5, 52, -1, 
	58, -1, 1, 5, 56, -1, 
	63, -1, 1, 6, 61, -1, 
	69, -1, 1, 9, 67, -1, 
	86, -1, 1, 11, 84, -1, 
	-1, -1, 2, -1, 103, -1, 
	-1, -1, 2, 0, 98, -1, 
	-1, -1, 2, 2, 50, -1, 
	-1, -1, 2, 5, 82, -1, 

	// Arrays:
	1, 12, 
	1, 2, 
	1, 4, 
	1, 3, 
	1, 3, 
	1, 5, 
	1, 2, 
	1, 8, 
	12, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 
	1, 6, 
	7, 19, 20, 21, 22, 23, 24, 25, 
	1, 9, 
	1, 26, 
	2, 3, 4, 
	3, 3, 4, 5, 
	1, 3, 
	1, 3, 
	1, 5, 
	1, 4, 
	2, 36, 37, 
	1, 7, 
	1, 39, 
	1, 8, 
	1, 11, 
	1, 43, 
	1, 9, 
	5, 6, 7, 8, 9, 10, 
	2, 6, 7, 
	1, 6, 
	1, 10, 
	1, 46, 
	1, 10, 
	4, 1, 2, 5, 11, 
	2, 0, 1, 
	1, 1, 
	2, 0, 12, 
	1, 0, 

	0xc0ff33 // terminator
};

struct qt_meta_stringdata_FtpClient_t {
    QByteArrayData data[30];
    unsigned char stringdata0[232];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FtpClient_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FtpClient_t qt_meta_stringdata_FtpClient = {
    {
QT_MOC_LITERAL(0, 0, 9), // "FtpClient"
QT_MOC_LITERAL(1, 10, 8), // "GChanged"
QT_MOC_LITERAL(2, 19, 0), // ""
QT_MOC_LITERAL(3, 20, 6), // "active"
QT_MOC_LITERAL(4, 27, 8), // "IChanged"
QT_MOC_LITERAL(5, 36, 8), // "BChanged"
QT_MOC_LITERAL(6, 45, 8), // "SChanged"
QT_MOC_LITERAL(7, 54, 8), // "FChanged"
QT_MOC_LITERAL(8, 63, 8), // "WChanged"
QT_MOC_LITERAL(9, 72, 12), // "W.1xxChanged"
QT_MOC_LITERAL(10, 85, 17), // "W.transferChanged"
QT_MOC_LITERAL(11, 103, 16), // "W.generalChanged"
QT_MOC_LITERAL(12, 120, 13), // "W.userChanged"
QT_MOC_LITERAL(13, 134, 14), // "W.loginChanged"
QT_MOC_LITERAL(14, 149, 8), // "PChanged"
QT_MOC_LITERAL(15, 158, 8), // "EChanged"
QT_MOC_LITERAL(16, 167, 6), // "parent"
QT_MOC_LITERAL(17, 174, 1), // "G"
QT_MOC_LITERAL(18, 176, 1), // "I"
QT_MOC_LITERAL(19, 178, 1), // "B"
QT_MOC_LITERAL(20, 180, 1), // "S"
QT_MOC_LITERAL(21, 182, 1), // "F"
QT_MOC_LITERAL(22, 184, 1), // "W"
QT_MOC_LITERAL(23, 186, 5), // "W.1xx"
QT_MOC_LITERAL(24, 192, 10), // "W.transfer"
QT_MOC_LITERAL(25, 203, 9), // "W.general"
QT_MOC_LITERAL(26, 213, 6), // "W.user"
QT_MOC_LITERAL(27, 220, 7), // "W.login"
QT_MOC_LITERAL(28, 228, 1), // "P"
QT_MOC_LITERAL(29, 230, 1) // "E"
    },{
0x46,0x74,0x70,0x43,0x6c,0x69,0x65,0x6e,0x74,0, // 0: FtpClient
0x47,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0, // 1: GChanged
0, // 2: 
0x61,0x63,0x74,0x69,0x76,0x65,0, // 3: active
0x49,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0, // 4: IChanged
0x42,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0, // 5: BChanged
0x53,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0, // 6: SChanged
0x46,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0, // 7: FChanged
0x57,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0, // 8: WChanged
0x57,0x2e,0x31,0x78,0x78,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0, // 9: W.1xxChanged
0x57,0x2e,0x74,0x72,0x61,0x6e,0x73,0x66,0x65,0x72,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0, // 10: W.transferChanged
0x57,0x2e,0x67,0x65,0x6e,0x65,0x72,0x61,0x6c,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0, // 11: W.generalChanged
0x57,0x2e,0x75,0x73,0x65,0x72,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0, // 12: W.userChanged
0x57,0x2e,0x6c,0x6f,0x67,0x69,0x6e,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0, // 13: W.loginChanged
0x50,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0, // 14: PChanged
0x45,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0, // 15: EChanged
0x70,0x61,0x72,0x65,0x6e,0x74,0, // 16: parent
0x47,0, // 17: G
0x49,0, // 18: I
0x42,0, // 19: B
0x53,0, // 20: S
0x46,0, // 21: F
0x57,0, // 22: W
0x57,0x2e,0x31,0x78,0x78,0, // 23: W.1xx
0x57,0x2e,0x74,0x72,0x61,0x6e,0x73,0x66,0x65,0x72,0, // 24: W.transfer
0x57,0x2e,0x67,0x65,0x6e,0x65,0x72,0x61,0x6c,0, // 25: W.general
0x57,0x2e,0x75,0x73,0x65,0x72,0, // 26: W.user
0x57,0x2e,0x6c,0x6f,0x67,0x69,0x6e,0, // 27: W.login
0x50,0, // 28: P
0x45,0 // 29: E
    }};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FtpClient[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      13,   14, // methods
      13,  121, // properties
       0,    0, // enums/sets
       1,  173, // constructors
       0,       // flags
      13,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       4,    1,   82,    2, 0x06 /* Public */,
       5,    1,   85,    2, 0x06 /* Public */,
       6,    1,   88,    2, 0x06 /* Public */,
       7,    1,   91,    2, 0x06 /* Public */,
       8,    1,   94,    2, 0x06 /* Public */,
       9,    1,   97,    2, 0x06 /* Public */,
      10,    1,  100,    2, 0x06 /* Public */,
      11,    1,  103,    2, 0x06 /* Public */,
      12,    1,  106,    2, 0x06 /* Public */,
      13,    1,  109,    2, 0x06 /* Public */,
      14,    1,  112,    2, 0x06 /* Public */,
      15,    1,  115,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,

 // constructors: parameters
    0x80000000 | 2, QMetaType::QObjectStar,   16,

 // properties: name, type, flags
      17, QMetaType::Bool, 0x006a6001,
      18, QMetaType::Bool, 0x006a6001,
      19, QMetaType::Bool, 0x006a6001,
      20, QMetaType::Bool, 0x006a6001,
      21, QMetaType::Bool, 0x006a6001,
      22, QMetaType::Bool, 0x006a6001,
      23, QMetaType::Bool, 0x006a6001,
      24, QMetaType::Bool, 0x006a6001,
      25, QMetaType::Bool, 0x006a6001,
      26, QMetaType::Bool, 0x006a6001,
      27, QMetaType::Bool, 0x006a6001,
      28, QMetaType::Bool, 0x006a6001,
      29, QMetaType::Bool, 0x006a6001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       6,
       7,
       8,
       9,
      10,
      11,
      12,

 // constructors: name, argc, parameters, tag, flags
       0,    1,  118,    2, 0x0e /* Public */,

       0        // eod
};

void FtpClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::CreateInstance) {
        switch (_id) {
        case 0: { FtpClient *_r = new FtpClient((*reinterpret_cast< QObject **>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        default: break;
        }
    } else if (_c == QMetaObject::InvokeMetaMethod) {
        FtpClient *_t = static_cast<FtpClient *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: QMetaObject::activate(_o, &staticMetaObject, 0, _a); break;
        case 1: QMetaObject::activate(_o, &staticMetaObject, 1, _a); break;
        case 2: QMetaObject::activate(_o, &staticMetaObject, 2, _a); break;
        case 3: QMetaObject::activate(_o, &staticMetaObject, 3, _a); break;
        case 4: QMetaObject::activate(_o, &staticMetaObject, 4, _a); break;
        case 5: QMetaObject::activate(_o, &staticMetaObject, 5, _a); break;
        case 6: QMetaObject::activate(_o, &staticMetaObject, 6, _a); break;
        case 7: QMetaObject::activate(_o, &staticMetaObject, 7, _a); break;
        case 8: QMetaObject::activate(_o, &staticMetaObject, 8, _a); break;
        case 9: QMetaObject::activate(_o, &staticMetaObject, 9, _a); break;
        case 10: QMetaObject::activate(_o, &staticMetaObject, 10, _a); break;
        case 11: QMetaObject::activate(_o, &staticMetaObject, 11, _a); break;
        case 12: QMetaObject::activate(_o, &staticMetaObject, 12, _a); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        Q_UNUSED(result);
        Q_UNUSED(func);
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        FtpClient *_t = static_cast<FtpClient *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isActive(0); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isActive(1); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isActive(2); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->isActive(3); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isActive(4); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->isActive(5); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->isActive(6); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->isActive(7); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->isActive(8); break;
        case 9: *reinterpret_cast< bool*>(_v) = _t->isActive(9); break;
        case 10: *reinterpret_cast< bool*>(_v) = _t->isActive(10); break;
        case 11: *reinterpret_cast< bool*>(_v) = _t->isActive(11); break;
        case 12: *reinterpret_cast< bool*>(_v) = _t->isActive(12); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject FtpClient::staticMetaObject = {
    { &QScxmlStateMachine::staticMetaObject, qt_meta_stringdata_FtpClient.data,
      qt_meta_data_FtpClient,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *FtpClient::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, reinterpret_cast<const char *>(
            qt_meta_stringdata_FtpClient.stringdata0)))
        return static_cast<void*>(const_cast< FtpClient*>(this));
    return QScxmlStateMachine::qt_metacast(_clname);
}

int FtpClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QScxmlStateMachine::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 13;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 13;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 13;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 13;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 13;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}


