GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
moc-webinfo.cc
Go to the documentation of this file.
1 #ifdef HAVE_CONFIG_H
2 #include <config.h>
3 #endif
4 /****************************************************************************
5 ** Meta object code from reading C++ file 'webinfo.h'
6 **
7 ** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
8 **
9 ** WARNING! All changes made in this file will be lost!
10 *****************************************************************************/
11 
12 #include "src/qtinfo/webinfo.h"
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'webinfo.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 63
16 #error "This file was generated using the moc from 4.8.6. It"
17 #error "cannot be used with the include files from this version of Qt."
18 #error "(The moc has changed too much.)"
19 #endif
20 
21 QT_BEGIN_MOC_NAMESPACE
22 static const uint qt_meta_data_webinfo[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  9, 14, // methods
29  0, 0, // properties
30  0, 0, // enums/sets
31  0, 0, // constructors
32  0, // flags
33  0, // signalCount
34 
35  // slots: signature, parameters, type, tag, flags
36  14, 9, 8, 8, 0x0a,
37  39, 33, 8, 8, 0x0a,
38  64, 33, 8, 8, 0x0a,
39  79, 8, 8, 8, 0x0a,
40  88, 8, 8, 8, 0x0a,
41  98, 8, 8, 8, 0x0a,
42  109, 8, 8, 8, 0x0a,
43  125, 8, 8, 8, 0x0a,
44  142, 8, 8, 8, 0x0a,
45 
46  0 // eod
47 };
48 
49 static const char qt_meta_stringdata_webinfo[] = {
50  "webinfo\0\0link\0link_clicked(QUrl)\0index\0"
51  "current_tab_changed(int)\0close_tab(int)\0"
52  "search()\0zoom_in()\0zoom_out()\0"
53  "copyClipboard()\0pasteClipboard()\0"
54  "selectAll()\0"
55 };
56 
57 void webinfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
58 {
59  if (_c == QMetaObject::InvokeMetaMethod) {
60  Q_ASSERT(staticMetaObject.cast(_o));
61  webinfo *_t = static_cast<webinfo *>(_o);
62  switch (_id) {
63  case 0: _t->link_clicked((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
64  case 1: _t->current_tab_changed((*reinterpret_cast< int(*)>(_a[1]))); break;
65  case 2: _t->close_tab((*reinterpret_cast< int(*)>(_a[1]))); break;
66  case 3: _t->search(); break;
67  case 4: _t->zoom_in(); break;
68  case 5: _t->zoom_out(); break;
69  case 6: _t->copyClipboard(); break;
70  case 7: _t->pasteClipboard(); break;
71  case 8: _t->selectAll(); break;
72  default: ;
73  }
74  }
75 }
76 
77 const QMetaObjectExtraData webinfo::staticMetaObjectExtraData = {
78  0, qt_static_metacall
79 };
80 
81 const QMetaObject webinfo::staticMetaObject = {
82  { &QWidget::staticMetaObject, qt_meta_stringdata_webinfo,
83  qt_meta_data_webinfo, &staticMetaObjectExtraData }
84 };
85 
86 #ifdef Q_NO_DATA_RELOCATION
87 const QMetaObject &webinfo::getStaticMetaObject() { return staticMetaObject; }
88 #endif //Q_NO_DATA_RELOCATION
89 
90 const QMetaObject *webinfo::metaObject() const
91 {
92  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
93 }
94 
95 void *webinfo::qt_metacast(const char *_clname)
96 {
97  if (!_clname) return 0;
98  if (!strcmp(_clname, qt_meta_stringdata_webinfo))
99  return static_cast<void*>(const_cast< webinfo*>(this));
100  return QWidget::qt_metacast(_clname);
101 }
102 
103 int webinfo::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
104 {
105  _id = QWidget::qt_metacall(_c, _id, _a);
106  if (_id < 0)
107  return _id;
108  if (_c == QMetaObject::InvokeMetaMethod) {
109  if (_id < 9)
110  qt_static_metacall(this, _c, _id, _a);
111  _id -= 9;
112  }
113  return _id;
114 }
115 QT_END_MOC_NAMESPACE
void link_clicked(const QUrl &link)
Definition: webinfo.cc:155
static const char qt_meta_stringdata_webinfo[]
Definition: moc-webinfo.cc:49
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_webinfo[]
Definition: moc-webinfo.cc:22