source: comparacioncriptosistemas/interfaz/moc_criptosistemas.cpp

interfaz
Last change on this file was bd66191, checked in by lhernandez <lhernandez@…>, 8 years ago

modificacion en la interfaz, preparada para las validaciones en el tamaño del archivo y mensajes

  • Property mode set to 100644
File size: 4.9 KB
Line 
1/****************************************************************************
2** Meta object code from reading C++ file 'criptosistemas.h'
3**
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "criptosistemas.h"
10#include <QtCore/qbytearray.h>
11#include <QtCore/qmetatype.h>
12#if !defined(Q_MOC_OUTPUT_REVISION)
13#error "The header file 'criptosistemas.h' doesn't include <QObject>."
14#elif Q_MOC_OUTPUT_REVISION != 67
15#error "This file was generated using the moc from 5.5.1. It"
16#error "cannot be used with the include files from this version of Qt."
17#error "(The moc has changed too much.)"
18#endif
19
20QT_BEGIN_MOC_NAMESPACE
21struct qt_meta_stringdata_CriptoSistemas_t {
22    QByteArrayData data[12];
23    char stringdata0[162];
24};
25#define QT_MOC_LITERAL(idx, ofs, len) \
26    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
27    qptrdiff(offsetof(qt_meta_stringdata_CriptoSistemas_t, stringdata0) + ofs \
28        - idx * sizeof(QByteArrayData)) \
29    )
30static const qt_meta_stringdata_CriptoSistemas_t qt_meta_stringdata_CriptoSistemas = {
31    {
32QT_MOC_LITERAL(0, 0, 14), // "CriptoSistemas"
33QT_MOC_LITERAL(1, 15, 6), // "Inicio"
34QT_MOC_LITERAL(2, 22, 0), // ""
35QT_MOC_LITERAL(3, 23, 12), // "OpcionLlaves"
36QT_MOC_LITERAL(4, 36, 13), // "GenerarLlaves"
37QT_MOC_LITERAL(5, 50, 13), // "CifrarArchivo"
38QT_MOC_LITERAL(6, 64, 16), // "DescifrarArchivo"
39QT_MOC_LITERAL(7, 81, 5), // "Ayuda"
40QT_MOC_LITERAL(8, 87, 20), // "OpenFolderForCrifrar"
41QT_MOC_LITERAL(9, 108, 8), // "SaveFile"
42QT_MOC_LITERAL(10, 117, 22), // "OpenFolderForDescifrar"
43QT_MOC_LITERAL(11, 140, 21) // "SaveFileForDescifrado"
44
45    },
46    "CriptoSistemas\0Inicio\0\0OpcionLlaves\0"
47    "GenerarLlaves\0CifrarArchivo\0"
48    "DescifrarArchivo\0Ayuda\0OpenFolderForCrifrar\0"
49    "SaveFile\0OpenFolderForDescifrar\0"
50    "SaveFileForDescifrado"
51};
52#undef QT_MOC_LITERAL
53
54static const uint qt_meta_data_CriptoSistemas[] = {
55
56 // content:
57       7,       // revision
58       0,       // classname
59       0,    0, // classinfo
60      10,   14, // methods
61       0,    0, // properties
62       0,    0, // enums/sets
63       0,    0, // constructors
64       0,       // flags
65       0,       // signalCount
66
67 // slots: name, argc, parameters, tag, flags
68       1,    0,   64,    2, 0x08 /* Private */,
69       3,    0,   65,    2, 0x08 /* Private */,
70       4,    0,   66,    2, 0x08 /* Private */,
71       5,    0,   67,    2, 0x08 /* Private */,
72       6,    0,   68,    2, 0x08 /* Private */,
73       7,    0,   69,    2, 0x08 /* Private */,
74       8,    0,   70,    2, 0x08 /* Private */,
75       9,    0,   71,    2, 0x08 /* Private */,
76      10,    0,   72,    2, 0x08 /* Private */,
77      11,    0,   73,    2, 0x08 /* Private */,
78
79 // slots: parameters
80    QMetaType::Void,
81    QMetaType::Void,
82    QMetaType::Void,
83    QMetaType::Void,
84    QMetaType::Void,
85    QMetaType::Void,
86    QMetaType::Void,
87    QMetaType::Void,
88    QMetaType::Void,
89    QMetaType::Void,
90
91       0        // eod
92};
93
94void CriptoSistemas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
95{
96    if (_c == QMetaObject::InvokeMetaMethod) {
97        CriptoSistemas *_t = static_cast<CriptoSistemas *>(_o);
98        Q_UNUSED(_t)
99        switch (_id) {
100        case 0: _t->Inicio(); break;
101        case 1: _t->OpcionLlaves(); break;
102        case 2: _t->GenerarLlaves(); break;
103        case 3: _t->CifrarArchivo(); break;
104        case 4: _t->DescifrarArchivo(); break;
105        case 5: _t->Ayuda(); break;
106        case 6: _t->OpenFolderForCrifrar(); break;
107        case 7: _t->SaveFile(); break;
108        case 8: _t->OpenFolderForDescifrar(); break;
109        case 9: _t->SaveFileForDescifrado(); break;
110        default: ;
111        }
112    }
113    Q_UNUSED(_a);
114}
115
116const QMetaObject CriptoSistemas::staticMetaObject = {
117    { &QMainWindow::staticMetaObject, qt_meta_stringdata_CriptoSistemas.data,
118      qt_meta_data_CriptoSistemas,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
119};
120
121
122const QMetaObject *CriptoSistemas::metaObject() const
123{
124    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
125}
126
127void *CriptoSistemas::qt_metacast(const char *_clname)
128{
129    if (!_clname) return Q_NULLPTR;
130    if (!strcmp(_clname, qt_meta_stringdata_CriptoSistemas.stringdata0))
131        return static_cast<void*>(const_cast< CriptoSistemas*>(this));
132    return QMainWindow::qt_metacast(_clname);
133}
134
135int CriptoSistemas::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
136{
137    _id = QMainWindow::qt_metacall(_c, _id, _a);
138    if (_id < 0)
139        return _id;
140    if (_c == QMetaObject::InvokeMetaMethod) {
141        if (_id < 10)
142            qt_static_metacall(this, _c, _id, _a);
143        _id -= 10;
144    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
145        if (_id < 10)
146            *reinterpret_cast<int*>(_a[0]) = -1;
147        _id -= 10;
148    }
149    return _id;
150}
151QT_END_MOC_NAMESPACE
Note: See TracBrowser for help on using the repository browser.