~ubuntu-branches/ubuntu/maverick/speedcrunch/maverick

« back to all changes in this revision

Viewing changes to src/gui/moc_resultdisplay.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Bart Martens
  • Date: 2009-06-09 10:58:06 UTC
  • mfrom: (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090609105806-4mjyhmnmsgsfeljf
Tags: 0.10.1-2
* debian/speedcrunch.desktop: Updated.  Closes: 530316.
* debian/watch: Fixed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/****************************************************************************
2
 
** Meta object code from reading C++ file 'resultdisplay.hxx'
3
 
**
4
 
** Created: Wed Jun 11 13:50:04 2008
5
 
**      by: The Qt Meta Object Compiler version 59 (Qt 4.4.0)
6
 
**
7
 
** WARNING! All changes made in this file will be lost!
8
 
*****************************************************************************/
9
 
 
10
 
#include "resultdisplay.hxx"
11
 
#if !defined(Q_MOC_OUTPUT_REVISION)
12
 
#error "The header file 'resultdisplay.hxx' doesn't include <QObject>."
13
 
#elif Q_MOC_OUTPUT_REVISION != 59
14
 
#error "This file was generated using the moc from 4.4.0. 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
 
QT_BEGIN_MOC_NAMESPACE
20
 
static const uint qt_meta_data_ResultDisplay[] = {
21
 
 
22
 
 // content:
23
 
       1,       // revision
24
 
       0,       // classname
25
 
       0,    0, // classinfo
26
 
      10,   10, // methods
27
 
       0,    0, // properties
28
 
       0,    0, // enums/sets
29
 
 
30
 
 // signals: signature, parameters, type, tag, flags
31
 
      15,   14,   14,   14, 0x05,
32
 
      35,   14,   14,   14, 0x05,
33
 
 
34
 
 // slots: signature, parameters, type, tag, flags
35
 
      57,   14,   14,   14, 0x0a,
36
 
      65,   14,   14,   14, 0x0a,
37
 
      77,   14,   14,   14, 0x0a,
38
 
      93,   14,   14,   14, 0x0a,
39
 
     111,   14,   14,   14, 0x0a,
40
 
     130,   14,   14,   14, 0x08,
41
 
     164,   14,   14,   14, 0x08,
42
 
     193,   14,   14,   14, 0x08,
43
 
 
44
 
       0        // eod
45
 
};
46
 
 
47
 
static const char qt_meta_stringdata_ResultDisplay[] = {
48
 
    "ResultDisplay\0\0textCopied(QString)\0"
49
 
    "textSelected(QString)\0clear()\0scrollEnd()\0"
50
 
    "setFormat(char)\0setPrecision(int)\0"
51
 
    "setRadixChar(char)\0copyToClipboard(QListWidgetItem*)\0"
52
 
    "selectItem(QListWidgetItem*)\0refresh()\0"
53
 
};
54
 
 
55
 
const QMetaObject ResultDisplay::staticMetaObject = {
56
 
    { &QListWidget::staticMetaObject, qt_meta_stringdata_ResultDisplay,
57
 
      qt_meta_data_ResultDisplay, 0 }
58
 
};
59
 
 
60
 
const QMetaObject *ResultDisplay::metaObject() const
61
 
{
62
 
    return &staticMetaObject;
63
 
}
64
 
 
65
 
void *ResultDisplay::qt_metacast(const char *_clname)
66
 
{
67
 
    if (!_clname) return 0;
68
 
    if (!strcmp(_clname, qt_meta_stringdata_ResultDisplay))
69
 
        return static_cast<void*>(const_cast< ResultDisplay*>(this));
70
 
    return QListWidget::qt_metacast(_clname);
71
 
}
72
 
 
73
 
int ResultDisplay::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
74
 
{
75
 
    _id = QListWidget::qt_metacall(_c, _id, _a);
76
 
    if (_id < 0)
77
 
        return _id;
78
 
    if (_c == QMetaObject::InvokeMetaMethod) {
79
 
        switch (_id) {
80
 
        case 0: textCopied((*reinterpret_cast< const QString(*)>(_a[1]))); break;
81
 
        case 1: textSelected((*reinterpret_cast< const QString(*)>(_a[1]))); break;
82
 
        case 2: clear(); break;
83
 
        case 3: scrollEnd(); break;
84
 
        case 4: setFormat((*reinterpret_cast< char(*)>(_a[1]))); break;
85
 
        case 5: setPrecision((*reinterpret_cast< int(*)>(_a[1]))); break;
86
 
        case 6: setRadixChar((*reinterpret_cast< char(*)>(_a[1]))); break;
87
 
        case 7: copyToClipboard((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
88
 
        case 8: selectItem((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
89
 
        case 9: refresh(); break;
90
 
        }
91
 
        _id -= 10;
92
 
    }
93
 
    return _id;
94
 
}
95
 
 
96
 
// SIGNAL 0
97
 
void ResultDisplay::textCopied(const QString & _t1)
98
 
{
99
 
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
100
 
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
101
 
}
102
 
 
103
 
// SIGNAL 1
104
 
void ResultDisplay::textSelected(const QString & _t1)
105
 
{
106
 
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
107
 
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
108
 
}
109
 
QT_END_MOC_NAMESPACE