File: QTTerm.moc.cpp

package info (click to toggle)
freemat 4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 174,736 kB
  • ctags: 67,053
  • sloc: cpp: 351,060; ansic: 255,892; sh: 40,590; makefile: 4,323; perl: 4,058; asm: 3,313; pascal: 2,718; fortran: 1,722; ada: 1,681; ml: 1,360; cs: 879; csh: 795; python: 430; sed: 162; lisp: 160; awk: 5
file content (137 lines) | stat: -rw-r--r-- 4,530 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
/****************************************************************************
** Meta object code from reading C++ file 'QTTerm.hpp'
**
** Created: Thu Oct 8 21:52:14 2009
**      by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "QTTerm.hpp"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'QTTerm.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 61
#error "This file was generated using the moc from 4.5.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_QTTerm[] = {

 // content:
       2,       // revision
       0,       // classname
       0,    0, // classinfo
      15,   12, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors

 // signals: signature, parameters, type, tag, flags
      10,    8,    7,    7, 0x05,
      22,    7,    7,    7, 0x05,
      46,   40,    7,    7, 0x05,
      91,   71,    7,    7, 0x05,

 // slots: signature, parameters, type, tag, flags
     119,    7,    7,    7, 0x0a,
     127,    7,    7,    7, 0x0a,
     138,    7,    7,    7, 0x0a,
     147,    7,    7,    7, 0x0a,
     159,    7,    7,    7, 0x0a,
     170,    7,    7,    7, 0x0a,
     181,    7,    7,    7, 0x0a,
     192,    7,    7,    7, 0x0a,
     202,    7,    7,    7, 0x0a,
     221,  217,    7,    7, 0x0a,
     246,    7,    7,    7, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_QTTerm[] = {
    "QTTerm\0\0c\0OnChar(int)\0SetTextWidth(int)\0"
    "dx,dy\0PlaceCursorDXDY(int,int)\0"
    "fileName,lineNumber\0showFileAtLine(QString,int)\0"
    "blink()\0MoveDown()\0MoveUp()\0MoveRight()\0"
    "MoveLeft()\0ClearEOL()\0ClearEOD()\0"
    "MoveBOL()\0ClearDisplay()\0txt\0"
    "OutputRawString(QString)\0copy()\0"
};

const QMetaObject QTTerm::staticMetaObject = {
    { &QAbstractScrollArea::staticMetaObject, qt_meta_stringdata_QTTerm,
      qt_meta_data_QTTerm, 0 }
};

const QMetaObject *QTTerm::metaObject() const
{
    return &staticMetaObject;
}

void *QTTerm::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_QTTerm))
        return static_cast<void*>(const_cast< QTTerm*>(this));
    return QAbstractScrollArea::qt_metacast(_clname);
}

int QTTerm::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractScrollArea::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: OnChar((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: SetTextWidth((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: PlaceCursorDXDY((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: showFileAtLine((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: blink(); break;
        case 5: MoveDown(); break;
        case 6: MoveUp(); break;
        case 7: MoveRight(); break;
        case 8: MoveLeft(); break;
        case 9: ClearEOL(); break;
        case 10: ClearEOD(); break;
        case 11: MoveBOL(); break;
        case 12: ClearDisplay(); break;
        case 13: OutputRawString((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 14: copy(); break;
        default: ;
        }
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void QTTerm::OnChar(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QTTerm::SetTextWidth(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void QTTerm::PlaceCursorDXDY(int _t1, int _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void QTTerm::showFileAtLine(QString _t1, int _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE