~ubuntu-branches/ubuntu/wily/tora/wily-proposed

« back to all changes in this revision

Viewing changes to src/moc_tomarkedtext.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Michael Meskes
  • Date: 2009-04-07 13:16:05 UTC
  • mfrom: (1.2.7 upstream) (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090407131605-u422yigfv7jgg0l0
Tags: 2.0.0-3
* Cleaned up packaging a little bit.
* Added homepage information to control file.
* Bumped Standards-Version to 3.8.1.
* Released to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
** Meta object code from reading C++ file 'tomarkedtext.h'
 
3
**
 
4
** Created: Mon Nov 3 14:34:33 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 "tomarkedtext.h"
 
11
#if !defined(Q_MOC_OUTPUT_REVISION)
 
12
#error "The header file 'tomarkedtext.h' 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_toMarkedText[] = {
 
21
 
 
22
 // content:
 
23
       1,       // revision
 
24
       0,       // classname
 
25
       0,    0, // classinfo
 
26
      13,   10, // methods
 
27
       0,    0, // properties
 
28
       0,    0, // enums/sets
 
29
 
 
30
 // signals: signature, parameters, type, tag, flags
 
31
      14,   13,   13,   13, 0x05,
 
32
      34,   13,   13,   13, 0x05,
 
33
 
 
34
 // slots: signature, parameters, type, tag, flags
 
35
      47,   13,   13,   13, 0x08,
 
36
      68,   64,   13,   13, 0x08,
 
37
      91,   13,   13,   13, 0x08,
 
38
     106,   13,   13,   13, 0x0a,
 
39
     117,   13,   13,   13, 0x0a,
 
40
     128,   13,   13,   13, 0x0a,
 
41
     138,   13,   13,   13, 0x0a,
 
42
     149,   13,   13,   13, 0x0a,
 
43
     161,   13,   13,   13, 0x0a,
 
44
     184,  177,   13,   13, 0x0a,
 
45
     200,   13,   13,   13, 0x2a,
 
46
 
 
47
       0        // eod
 
48
};
 
49
 
 
50
static const char qt_meta_stringdata_toMarkedText[] = {
 
51
    "toMarkedText\0\0displayMenu(QMenu*)\0"
 
52
    "fileOpened()\0setTextChanged()\0yes\0"
 
53
    "setCopyAvailable(bool)\0linesChanged()\0"
 
54
    "editUndo()\0editRedo()\0editCut()\0"
 
55
    "editCopy()\0editPaste()\0editSelectAll()\0"
 
56
    "select\0selectAll(bool)\0selectAll()\0"
 
57
};
 
58
 
 
59
const QMetaObject toMarkedText::staticMetaObject = {
 
60
    { &QsciScintilla::staticMetaObject, qt_meta_stringdata_toMarkedText,
 
61
      qt_meta_data_toMarkedText, 0 }
 
62
};
 
63
 
 
64
const QMetaObject *toMarkedText::metaObject() const
 
65
{
 
66
    return &staticMetaObject;
 
67
}
 
68
 
 
69
void *toMarkedText::qt_metacast(const char *_clname)
 
70
{
 
71
    if (!_clname) return 0;
 
72
    if (!strcmp(_clname, qt_meta_stringdata_toMarkedText))
 
73
        return static_cast<void*>(const_cast< toMarkedText*>(this));
 
74
    if (!strcmp(_clname, "toEditWidget"))
 
75
        return static_cast< toEditWidget*>(const_cast< toMarkedText*>(this));
 
76
    return QsciScintilla::qt_metacast(_clname);
 
77
}
 
78
 
 
79
int toMarkedText::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
 
80
{
 
81
    _id = QsciScintilla::qt_metacall(_c, _id, _a);
 
82
    if (_id < 0)
 
83
        return _id;
 
84
    if (_c == QMetaObject::InvokeMetaMethod) {
 
85
        switch (_id) {
 
86
        case 0: displayMenu((*reinterpret_cast< QMenu*(*)>(_a[1]))); break;
 
87
        case 1: fileOpened(); break;
 
88
        case 2: setTextChanged(); break;
 
89
        case 3: setCopyAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
 
90
        case 4: linesChanged(); break;
 
91
        case 5: editUndo(); break;
 
92
        case 6: editRedo(); break;
 
93
        case 7: editCut(); break;
 
94
        case 8: editCopy(); break;
 
95
        case 9: editPaste(); break;
 
96
        case 10: editSelectAll(); break;
 
97
        case 11: selectAll((*reinterpret_cast< bool(*)>(_a[1]))); break;
 
98
        case 12: selectAll(); break;
 
99
        }
 
100
        _id -= 13;
 
101
    }
 
102
    return _id;
 
103
}
 
104
 
 
105
// SIGNAL 0
 
106
void toMarkedText::displayMenu(QMenu * _t1)
 
107
{
 
108
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
 
109
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
 
110
}
 
111
 
 
112
// SIGNAL 1
 
113
void toMarkedText::fileOpened()
 
114
{
 
115
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
 
116
}
 
117
QT_END_MOC_NAMESPACE