source: comparacioncriptosistemas/interfaz/moc_dialog.cpp

interfaz
Last change on this file 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: 3.5 KB
Line 
1/****************************************************************************
2** Meta object code from reading C++ file 'dialog.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 "dialog.h"
10#include <QtCore/qbytearray.h>
11#include <QtCore/qmetatype.h>
12#if !defined(Q_MOC_OUTPUT_REVISION)
13#error "The header file 'dialog.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_Dialog_t {
22    QByteArrayData data[4];
23    char stringdata0[37];
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_Dialog_t, stringdata0) + ofs \
28        - idx * sizeof(QByteArrayData)) \
29    )
30static const qt_meta_stringdata_Dialog_t qt_meta_stringdata_Dialog = {
31    {
32QT_MOC_LITERAL(0, 0, 6), // "Dialog"
33QT_MOC_LITERAL(1, 7, 13), // "GenerarClaves"
34QT_MOC_LITERAL(2, 21, 0), // ""
35QT_MOC_LITERAL(3, 22, 14) // "identicalFiles"
36
37    },
38    "Dialog\0GenerarClaves\0\0identicalFiles"
39};
40#undef QT_MOC_LITERAL
41
42static const uint qt_meta_data_Dialog[] = {
43
44 // content:
45       7,       // revision
46       0,       // classname
47       0,    0, // classinfo
48       2,   14, // methods
49       0,    0, // properties
50       0,    0, // enums/sets
51       0,    0, // constructors
52       0,       // flags
53       0,       // signalCount
54
55 // slots: name, argc, parameters, tag, flags
56       1,    0,   24,    2, 0x08 /* Private */,
57       3,    2,   25,    2, 0x08 /* Private */,
58
59 // slots: parameters
60    QMetaType::Void,
61    QMetaType::Bool, QMetaType::QString, QMetaType::QString,    2,    2,
62
63       0        // eod
64};
65
66void Dialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
67{
68    if (_c == QMetaObject::InvokeMetaMethod) {
69        Dialog *_t = static_cast<Dialog *>(_o);
70        Q_UNUSED(_t)
71        switch (_id) {
72        case 0: _t->GenerarClaves(); break;
73        case 1: { bool _r = _t->identicalFiles((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])));
74            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
75        default: ;
76        }
77    }
78}
79
80const QMetaObject Dialog::staticMetaObject = {
81    { &QDialog::staticMetaObject, qt_meta_stringdata_Dialog.data,
82      qt_meta_data_Dialog,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
83};
84
85
86const QMetaObject *Dialog::metaObject() const
87{
88    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
89}
90
91void *Dialog::qt_metacast(const char *_clname)
92{
93    if (!_clname) return Q_NULLPTR;
94    if (!strcmp(_clname, qt_meta_stringdata_Dialog.stringdata0))
95        return static_cast<void*>(const_cast< Dialog*>(this));
96    return QDialog::qt_metacast(_clname);
97}
98
99int Dialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
100{
101    _id = QDialog::qt_metacall(_c, _id, _a);
102    if (_id < 0)
103        return _id;
104    if (_c == QMetaObject::InvokeMetaMethod) {
105        if (_id < 2)
106            qt_static_metacall(this, _c, _id, _a);
107        _id -= 2;
108    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
109        if (_id < 2)
110            *reinterpret_cast<int*>(_a[0]) = -1;
111        _id -= 2;
112    }
113    return _id;
114}
115QT_END_MOC_NAMESPACE
Note: See TracBrowser for help on using the repository browser.