Commit 40eb5e8f9ea6a8b74f30a3cfa3d728df6e78bc28
1 parent
e5db999b
git-svn-id: svn://imanolbarba.net/PAD@40 c2ee353e-ed0d-4329-bf56-03aec153487f
Showing
3 changed files
with
126 additions
and
2 deletions
JChatServerV2/.project
build-QChatClient-Desktop-Debug/Makefile
1 | ############################################################################# | 1 | ############################################################################# |
2 | # Makefile for building: QChatClient | 2 | # Makefile for building: QChatClient |
3 | -# Generated by qmake (3.0) (Qt 5.0.2) on: mié dic 25 23:14:46 2013 | 3 | +# Generated by qmake (3.0) (Qt 5.0.2) on: mié dic 25 23:23:03 2013 |
4 | # Project: ../QChatClient/QChatClient.pro | 4 | # Project: ../QChatClient/QChatClient.pro |
5 | # Template: app | 5 | # Template: app |
6 | # Command: /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -spec linux-g++-64 CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile ../QChatClient/QChatClient.pro | 6 | # Command: /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -spec linux-g++-64 CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile ../QChatClient/QChatClient.pro |
build-QChatClient-Desktop-Debug/moc_chatinputtext.cpp
0 → 100644
1 | +/**************************************************************************** | ||
2 | +** Meta object code from reading C++ file 'chatinputtext.h' | ||
3 | +** | ||
4 | +** Created by: The Qt Meta Object Compiler version 67 (Qt 5.0.2) | ||
5 | +** | ||
6 | +** WARNING! All changes made in this file will be lost! | ||
7 | +*****************************************************************************/ | ||
8 | + | ||
9 | +#include "../QChatClient/chatinputtext.h" | ||
10 | +#include <QtCore/qbytearray.h> | ||
11 | +#include <QtCore/qmetatype.h> | ||
12 | +#if !defined(Q_MOC_OUTPUT_REVISION) | ||
13 | +#error "The header file 'chatinputtext.h' doesn't include <QObject>." | ||
14 | +#elif Q_MOC_OUTPUT_REVISION != 67 | ||
15 | +#error "This file was generated using the moc from 5.0.2. 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 | + | ||
20 | +QT_BEGIN_MOC_NAMESPACE | ||
21 | +struct qt_meta_stringdata_chatInputText_t { | ||
22 | + QByteArrayData data[3]; | ||
23 | + char stringdata[25]; | ||
24 | +}; | ||
25 | +#define QT_MOC_LITERAL(idx, ofs, len) \ | ||
26 | + Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | ||
27 | + offsetof(qt_meta_stringdata_chatInputText_t, stringdata) + ofs \ | ||
28 | + - idx * sizeof(QByteArrayData) \ | ||
29 | + ) | ||
30 | +static const qt_meta_stringdata_chatInputText_t qt_meta_stringdata_chatInputText = { | ||
31 | + { | ||
32 | +QT_MOC_LITERAL(0, 0, 13), | ||
33 | +QT_MOC_LITERAL(1, 14, 8), | ||
34 | +QT_MOC_LITERAL(2, 23, 0) | ||
35 | + }, | ||
36 | + "chatInputText\0msgReady\0\0" | ||
37 | +}; | ||
38 | +#undef QT_MOC_LITERAL | ||
39 | + | ||
40 | +static const uint qt_meta_data_chatInputText[] = { | ||
41 | + | ||
42 | + // content: | ||
43 | + 7, // revision | ||
44 | + 0, // classname | ||
45 | + 0, 0, // classinfo | ||
46 | + 1, 14, // methods | ||
47 | + 0, 0, // properties | ||
48 | + 0, 0, // enums/sets | ||
49 | + 0, 0, // constructors | ||
50 | + 0, // flags | ||
51 | + 1, // signalCount | ||
52 | + | ||
53 | + // signals: name, argc, parameters, tag, flags | ||
54 | + 1, 0, 19, 2, 0x05, | ||
55 | + | ||
56 | + // signals: parameters | ||
57 | + QMetaType::Void, | ||
58 | + | ||
59 | + 0 // eod | ||
60 | +}; | ||
61 | + | ||
62 | +void chatInputText::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | ||
63 | +{ | ||
64 | + if (_c == QMetaObject::InvokeMetaMethod) { | ||
65 | + chatInputText *_t = static_cast<chatInputText *>(_o); | ||
66 | + switch (_id) { | ||
67 | + case 0: _t->msgReady(); break; | ||
68 | + default: ; | ||
69 | + } | ||
70 | + } else if (_c == QMetaObject::IndexOfMethod) { | ||
71 | + int *result = reinterpret_cast<int *>(_a[0]); | ||
72 | + void **func = reinterpret_cast<void **>(_a[1]); | ||
73 | + { | ||
74 | + typedef void (chatInputText::*_t)(); | ||
75 | + if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&chatInputText::msgReady)) { | ||
76 | + *result = 0; | ||
77 | + } | ||
78 | + } | ||
79 | + } | ||
80 | + Q_UNUSED(_a); | ||
81 | +} | ||
82 | + | ||
83 | +const QMetaObject chatInputText::staticMetaObject = { | ||
84 | + { &QTextEdit::staticMetaObject, qt_meta_stringdata_chatInputText.data, | ||
85 | + qt_meta_data_chatInputText, qt_static_metacall, 0, 0} | ||
86 | +}; | ||
87 | + | ||
88 | + | ||
89 | +const QMetaObject *chatInputText::metaObject() const | ||
90 | +{ | ||
91 | + return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | ||
92 | +} | ||
93 | + | ||
94 | +void *chatInputText::qt_metacast(const char *_clname) | ||
95 | +{ | ||
96 | + if (!_clname) return 0; | ||
97 | + if (!strcmp(_clname, qt_meta_stringdata_chatInputText.stringdata)) | ||
98 | + return static_cast<void*>(const_cast< chatInputText*>(this)); | ||
99 | + return QTextEdit::qt_metacast(_clname); | ||
100 | +} | ||
101 | + | ||
102 | +int chatInputText::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | ||
103 | +{ | ||
104 | + _id = QTextEdit::qt_metacall(_c, _id, _a); | ||
105 | + if (_id < 0) | ||
106 | + return _id; | ||
107 | + if (_c == QMetaObject::InvokeMetaMethod) { | ||
108 | + if (_id < 1) | ||
109 | + qt_static_metacall(this, _c, _id, _a); | ||
110 | + _id -= 1; | ||
111 | + } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | ||
112 | + if (_id < 1) | ||
113 | + *reinterpret_cast<int*>(_a[0]) = -1; | ||
114 | + _id -= 1; | ||
115 | + } | ||
116 | + return _id; | ||
117 | +} | ||
118 | + | ||
119 | +// SIGNAL 0 | ||
120 | +void chatInputText::msgReady() | ||
121 | +{ | ||
122 | + QMetaObject::activate(this, &staticMetaObject, 0, 0); | ||
123 | +} | ||
124 | +QT_END_MOC_NAMESPACE |