source: comparacioncriptosistemas/interfaz/moc_criptosistemas.cpp @ 25a5325

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

Realizada mejora de la interfaz(grid), agragada funcionalidad para la creacion de llaves (privada y publica) se guardar en un directorio kyes del proyecto, agragada funcionalidad para el cifrado de un texto plano (por ahora esta comentado, para realizar la interfaz) y agragada funcionalidad para descifrar el archivo a partir de un data.dat cifrado

  • Property mode set to 100644
File size: 4.4 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[9];
23    char stringdata0[98];
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, 10) // "OpenFolder"
41
42    },
43    "CriptoSistemas\0Inicio\0\0OpcionLlaves\0"
44    "GenerarLlaves\0CifrarArchivo\0"
45    "DescifrarArchivo\0Ayuda\0OpenFolder"
46};
47#undef QT_MOC_LITERAL
48
49static const uint qt_meta_data_CriptoSistemas[] = {
50
51 // content:
52       7,       // revision
53       0,       // classname
54       0,    0, // classinfo
55       7,   14, // methods
56       0,    0, // properties
57       0,    0, // enums/sets
58       0,    0, // constructors
59       0,       // flags
60       0,       // signalCount
61
62 // slots: name, argc, parameters, tag, flags
63       1,    0,   49,    2, 0x08 /* Private */,
64       3,    0,   50,    2, 0x08 /* Private */,
65       4,    0,   51,    2, 0x08 /* Private */,
66       5,    0,   52,    2, 0x08 /* Private */,
67       6,    0,   53,    2, 0x08 /* Private */,
68       7,    0,   54,    2, 0x08 /* Private */,
69       8,    0,   55,    2, 0x08 /* Private */,
70
71 // slots: parameters
72    QMetaType::Void,
73    QMetaType::Void,
74    QMetaType::Void,
75    QMetaType::Void,
76    QMetaType::Void,
77    QMetaType::Void,
78    QMetaType::QString,
79
80       0        // eod
81};
82
83void CriptoSistemas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
84{
85    if (_c == QMetaObject::InvokeMetaMethod) {
86        CriptoSistemas *_t = static_cast<CriptoSistemas *>(_o);
87        Q_UNUSED(_t)
88        switch (_id) {
89        case 0: _t->Inicio(); break;
90        case 1: _t->OpcionLlaves(); break;
91        case 2: _t->GenerarLlaves(); break;
92        case 3: _t->CifrarArchivo(); break;
93        case 4: _t->DescifrarArchivo(); break;
94        case 5: _t->Ayuda(); break;
95        case 6: { QString _r = _t->OpenFolder();
96            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
97        default: ;
98        }
99    }
100}
101
102const QMetaObject CriptoSistemas::staticMetaObject = {
103    { &QMainWindow::staticMetaObject, qt_meta_stringdata_CriptoSistemas.data,
104      qt_meta_data_CriptoSistemas,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
105};
106
107
108const QMetaObject *CriptoSistemas::metaObject() const
109{
110    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
111}
112
113void *CriptoSistemas::qt_metacast(const char *_clname)
114{
115    if (!_clname) return Q_NULLPTR;
116    if (!strcmp(_clname, qt_meta_stringdata_CriptoSistemas.stringdata0))
117        return static_cast<void*>(const_cast< CriptoSistemas*>(this));
118    return QMainWindow::qt_metacast(_clname);
119}
120
121int CriptoSistemas::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
122{
123    _id = QMainWindow::qt_metacall(_c, _id, _a);
124    if (_id < 0)
125        return _id;
126    if (_c == QMetaObject::InvokeMetaMethod) {
127        if (_id < 7)
128            qt_static_metacall(this, _c, _id, _a);
129        _id -= 7;
130    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
131        if (_id < 7)
132            *reinterpret_cast<int*>(_a[0]) = -1;
133        _id -= 7;
134    }
135    return _id;
136}
137QT_END_MOC_NAMESPACE
Note: See TracBrowser for help on using the repository browser.