Root/Examples/ADC/Test-QT-src/moc_mainwindow.cpp

Source at commit 9d578912b727722b22319832985451a79ec35747 created 13 years 18 days ago.
By Juan64Bits, Updating prototype of SIE code generator.
1/****************************************************************************
2** Meta object code from reading C++ file 'mainwindow.h'
3**
4** Created: Sun Oct 31 11:42:47 2010
5** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
6**
7** WARNING! All changes made in this file will be lost!
8*****************************************************************************/
9
10#include "mainwindow.h"
11#if !defined(Q_MOC_OUTPUT_REVISION)
12#error "The header file 'mainwindow.h' doesn't include <QObject>."
13#elif Q_MOC_OUTPUT_REVISION != 62
14#error "This file was generated using the moc from 4.6.2. It"
15#error "cannot be used with the include files from this version of Qt."
16#error "(The moc has changed too much.)"
17#endif
18
19QT_BEGIN_MOC_NAMESPACE
20static const uint qt_meta_data_MainWindow[] = {
21
22 // content:
23       4, // revision
24       0, // classname
25       0, 0, // classinfo
26       2, 14, // methods
27       0, 0, // properties
28       0, 0, // enums/sets
29       0, 0, // constructors
30       0, // flags
31       1, // signalCount
32
33 // signals: signature, parameters, type, tag, flags
34      12, 11, 11, 11, 0x05,
35
36 // slots: signature, parameters, type, tag, flags
37      22, 11, 11, 11, 0x0a,
38
39       0 // eod
40};
41
42static const char qt_meta_stringdata_MainWindow[] = {
43    "MainWindow\0\0refresh()\0updateGraph()\0"
44};
45
46const QMetaObject MainWindow::staticMetaObject = {
47    { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow,
48      qt_meta_data_MainWindow, 0 }
49};
50
51#ifdef Q_NO_DATA_RELOCATION
52const QMetaObject &MainWindow::getStaticMetaObject() { return staticMetaObject; }
53#endif //Q_NO_DATA_RELOCATION
54
55const QMetaObject *MainWindow::metaObject() const
56{
57    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
58}
59
60void *MainWindow::qt_metacast(const char *_clname)
61{
62    if (!_clname) return 0;
63    if (!strcmp(_clname, qt_meta_stringdata_MainWindow))
64        return static_cast<void*>(const_cast< MainWindow*>(this));
65    return QMainWindow::qt_metacast(_clname);
66}
67
68int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
69{
70    _id = QMainWindow::qt_metacall(_c, _id, _a);
71    if (_id < 0)
72        return _id;
73    if (_c == QMetaObject::InvokeMetaMethod) {
74        switch (_id) {
75        case 0: refresh(); break;
76        case 1: updateGraph(); break;
77        default: ;
78        }
79        _id -= 2;
80    }
81    return _id;
82}
83
84// SIGNAL 0
85void MainWindow::refresh()
86{
87    QMetaObject::activate(this, &staticMetaObject, 0, 0);
88}
89QT_END_MOC_NAMESPACE
90

Archive Download this file

Branches:
master



interactive