~ubuntu-branches/ubuntu/precise/mm3d/precise

« back to all changes in this revision

Viewing changes to src/implui/keyvaluewin.moc.cc

  • Committer: Bazaar Package Importer
  • Author(s): Ludovico Gardenghi
  • Date: 2008-10-21 01:00:14 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20081021010014-65o1syy7ry430sn0
Tags: 1.3.7-1.1
* Non-maintainer upload.
* Fix FTBFS bug due to wrong Build-Depends -- still QT3 but new upstream
  moved to QT4. Removed useless dependencies on various X libraries.
  (Closes: #490331, #489838)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
** Meta object code from reading C++ file 'keyvaluewin.h'
 
3
**
 
4
** Created: Mon Jun 16 08:36:05 2008
 
5
**      by: The Qt Meta Object Compiler version 59 (Qt 4.2.3)
 
6
**
 
7
** WARNING! All changes made in this file will be lost!
 
8
*****************************************************************************/
 
9
 
 
10
#include "keyvaluewin.h"
 
11
#if !defined(Q_MOC_OUTPUT_REVISION)
 
12
#error "The header file 'keyvaluewin.h' doesn't include <QObject>."
 
13
#elif Q_MOC_OUTPUT_REVISION != 59
 
14
#error "This file was generated using the moc from 4.2.3. 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
 
 
19
static const uint qt_meta_data_KeyValueWindow[] = {
 
20
 
 
21
 // content:
 
22
       1,       // revision
 
23
       0,       // classname
 
24
       0,    0, // classinfo
 
25
       2,   10, // methods
 
26
       0,    0, // properties
 
27
       0,    0, // enums/sets
 
28
 
 
29
 // slots: signature, parameters, type, tag, flags
 
30
      16,   15,   15,   15, 0x0a,
 
31
      25,   15,   15,   15, 0x0a,
 
32
 
 
33
       0        // eod
 
34
};
 
35
 
 
36
static const char qt_meta_stringdata_KeyValueWindow[] = {
 
37
    "KeyValueWindow\0\0accept()\0reject()\0"
 
38
};
 
39
 
 
40
const QMetaObject KeyValueWindow::staticMetaObject = {
 
41
    { &QDialog::staticMetaObject, qt_meta_stringdata_KeyValueWindow,
 
42
      qt_meta_data_KeyValueWindow, 0 }
 
43
};
 
44
 
 
45
const QMetaObject *KeyValueWindow::metaObject() const
 
46
{
 
47
    return &staticMetaObject;
 
48
}
 
49
 
 
50
void *KeyValueWindow::qt_metacast(const char *_clname)
 
51
{
 
52
    if (!_clname) return 0;
 
53
    if (!strcmp(_clname, qt_meta_stringdata_KeyValueWindow))
 
54
        return static_cast<void*>(const_cast< KeyValueWindow*>(this));
 
55
    if (!strcmp(_clname, "Ui::KeyValueWindowBase"))
 
56
        return static_cast< Ui::KeyValueWindowBase*>(const_cast< KeyValueWindow*>(this));
 
57
    return QDialog::qt_metacast(_clname);
 
58
}
 
59
 
 
60
int KeyValueWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
 
61
{
 
62
    _id = QDialog::qt_metacall(_c, _id, _a);
 
63
    if (_id < 0)
 
64
        return _id;
 
65
    if (_c == QMetaObject::InvokeMetaMethod) {
 
66
        switch (_id) {
 
67
        case 0: accept(); break;
 
68
        case 1: reject(); break;
 
69
        }
 
70
        _id -= 2;
 
71
    }
 
72
    return _id;
 
73
}