GNU Octave  4.2.1
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-files-dock-widget.cc
Go to the documentation of this file.
1 #if defined (HAVE_CONFIG_H)
2 # include "config.h"
3 #endif
4 /****************************************************************************
5 ** Meta object code from reading C++ file 'files-dock-widget.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 
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'files-dock-widget.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_files_dock_widget[] = {
23 
24  // content:
25  6, // revision
26  0, // classname
27  0, 0, // classinfo
28  37, 14, // methods
29  0, 0, // properties
30  0, 0, // enums/sets
31  0, 0, // constructors
32  0, // flags
33  5, // signalCount
34 
35  // signals: signature, parameters, type, tag, flags
36  28, 19, 18, 18, 0x05,
37  51, 47, 18, 18, 0x05,
38  88, 19, 18, 18, 0x05,
39  119, 114, 18, 18, 0x05,
40  155, 146, 18, 18, 0x05,
41 
42  // slots: signature, parameters, type, tag, flags
43  188, 182, 18, 18, 0x0a,
44  221, 18, 18, 18, 0x0a,
45  243, 18, 18, 18, 0x0a,
46  270, 18, 18, 18, 0x0a,
47  298, 47, 18, 18, 0x0a,
48  329, 18, 18, 18, 0x0a,
49  358, 47, 18, 18, 0x0a,
50  400, 391, 18, 18, 0x0a,
51  434, 18, 18, 18, 0x0a,
52  454, 450, 18, 18, 0x08,
53  494, 490, 18, 18, 0x08,
54  513, 450, 18, 18, 0x08,
55  543, 18, 18, 18, 0x08,
56  566, 18, 18, 18, 0x08,
57  599, 18, 18, 18, 0x08,
58  629, 18, 18, 18, 0x08,
59  662, 18, 18, 18, 0x08,
60  684, 18, 18, 18, 0x08,
61  707, 18, 18, 18, 0x08,
62  732, 18, 18, 18, 0x08,
63  757, 18, 18, 18, 0x08,
64  783, 18, 18, 18, 0x08,
65  808, 18, 18, 18, 0x08,
66  840, 18, 18, 18, 0x08,
67  868, 18, 18, 18, 0x08,
68  894, 18, 18, 18, 0x08,
69  919, 18, 18, 18, 0x08,
70  948, 18, 18, 18, 0x08,
71  976, 18, 18, 18, 0x08,
72  999, 18, 18, 18, 0x08,
73  1015, 18, 18, 18, 0x08,
74  1032, 18, 18, 18, 0x08,
75 
76  0 // eod
77 };
78 
79 static const char qt_meta_stringdata_files_dock_widget[] = {
80  "files_dock_widget\0\0fileName\0"
81  "open_file(QString)\0dir\0"
82  "displayed_directory_changed(QString)\0"
83  "load_file_signal(QString)\0info\0"
84  "run_file_signal(QFileInfo)\0startdir\0"
85  "find_files_signal(QString)\0index\0"
86  "item_double_clicked(QModelIndex)\0"
87  "change_directory_up()\0do_sync_octave_directory()\0"
88  "do_sync_browser_directory()\0"
89  "set_current_directory(QString)\0"
90  "accept_directory_line_edit()\0"
91  "update_octave_directory(QString)\0"
92  "settings\0notice_settings(const QSettings*)\0"
93  "save_settings()\0pos\0"
94  "headercontextmenu_requested(QPoint)\0"
95  "col\0toggle_header(int)\0"
96  "contextmenu_requested(QPoint)\0"
97  "contextmenu_open(bool)\0"
98  "contextmenu_open_in_editor(bool)\0"
99  "contextmenu_open_in_app(bool)\0"
100  "contextmenu_copy_selection(bool)\0"
101  "contextmenu_run(bool)\0contextmenu_load(bool)\0"
102  "contextmenu_rename(bool)\0"
103  "contextmenu_delete(bool)\0"
104  "contextmenu_newfile(bool)\0"
105  "contextmenu_newdir(bool)\0"
106  "contextmenu_setcurrentdir(bool)\0"
107  "contextmenu_findfiles(bool)\0"
108  "popdownmenu_newfile(bool)\0"
109  "popdownmenu_newdir(bool)\0"
110  "popdownmenu_search_dir(bool)\0"
111  "popdownmenu_findfiles(bool)\0"
112  "popdownmenu_home(bool)\0copyClipboard()\0"
113  "pasteClipboard()\0selectAll()\0"
114 };
115 
116 void files_dock_widget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
117 {
118  if (_c == QMetaObject::InvokeMetaMethod) {
119  Q_ASSERT(staticMetaObject.cast(_o));
120  files_dock_widget *_t = static_cast<files_dock_widget *>(_o);
121  switch (_id) {
122  case 0: _t->open_file((*reinterpret_cast< const QString(*)>(_a[1]))); break;
123  case 1: _t->displayed_directory_changed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
124  case 2: _t->load_file_signal((*reinterpret_cast< const QString(*)>(_a[1]))); break;
125  case 3: _t->run_file_signal((*reinterpret_cast< const QFileInfo(*)>(_a[1]))); break;
126  case 4: _t->find_files_signal((*reinterpret_cast< const QString(*)>(_a[1]))); break;
127  case 5: _t->item_double_clicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
128  case 6: _t->change_directory_up(); break;
129  case 7: _t->do_sync_octave_directory(); break;
130  case 8: _t->do_sync_browser_directory(); break;
131  case 9: _t->set_current_directory((*reinterpret_cast< const QString(*)>(_a[1]))); break;
132  case 10: _t->accept_directory_line_edit(); break;
133  case 11: _t->update_octave_directory((*reinterpret_cast< const QString(*)>(_a[1]))); break;
134  case 12: _t->notice_settings((*reinterpret_cast< const QSettings*(*)>(_a[1]))); break;
135  case 13: _t->save_settings(); break;
136  case 14: _t->headercontextmenu_requested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
137  case 15: _t->toggle_header((*reinterpret_cast< int(*)>(_a[1]))); break;
138  case 16: _t->contextmenu_requested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
139  case 17: _t->contextmenu_open((*reinterpret_cast< bool(*)>(_a[1]))); break;
140  case 18: _t->contextmenu_open_in_editor((*reinterpret_cast< bool(*)>(_a[1]))); break;
141  case 19: _t->contextmenu_open_in_app((*reinterpret_cast< bool(*)>(_a[1]))); break;
142  case 20: _t->contextmenu_copy_selection((*reinterpret_cast< bool(*)>(_a[1]))); break;
143  case 21: _t->contextmenu_run((*reinterpret_cast< bool(*)>(_a[1]))); break;
144  case 22: _t->contextmenu_load((*reinterpret_cast< bool(*)>(_a[1]))); break;
145  case 23: _t->contextmenu_rename((*reinterpret_cast< bool(*)>(_a[1]))); break;
146  case 24: _t->contextmenu_delete((*reinterpret_cast< bool(*)>(_a[1]))); break;
147  case 25: _t->contextmenu_newfile((*reinterpret_cast< bool(*)>(_a[1]))); break;
148  case 26: _t->contextmenu_newdir((*reinterpret_cast< bool(*)>(_a[1]))); break;
149  case 27: _t->contextmenu_setcurrentdir((*reinterpret_cast< bool(*)>(_a[1]))); break;
150  case 28: _t->contextmenu_findfiles((*reinterpret_cast< bool(*)>(_a[1]))); break;
151  case 29: _t->popdownmenu_newfile((*reinterpret_cast< bool(*)>(_a[1]))); break;
152  case 30: _t->popdownmenu_newdir((*reinterpret_cast< bool(*)>(_a[1]))); break;
153  case 31: _t->popdownmenu_search_dir((*reinterpret_cast< bool(*)>(_a[1]))); break;
154  case 32: _t->popdownmenu_findfiles((*reinterpret_cast< bool(*)>(_a[1]))); break;
155  case 33: _t->popdownmenu_home((*reinterpret_cast< bool(*)>(_a[1]))); break;
156  case 34: _t->copyClipboard(); break;
157  case 35: _t->pasteClipboard(); break;
158  case 36: _t->selectAll(); break;
159  default: ;
160  }
161  }
162 }
163 
164 const QMetaObjectExtraData files_dock_widget::staticMetaObjectExtraData = {
165  0, qt_static_metacall
166 };
167 
168 const QMetaObject files_dock_widget::staticMetaObject = {
169  { &octave_dock_widget::staticMetaObject, qt_meta_stringdata_files_dock_widget,
170  qt_meta_data_files_dock_widget, &staticMetaObjectExtraData }
171 };
172 
173 #ifdef Q_NO_DATA_RELOCATION
174 const QMetaObject &files_dock_widget::getStaticMetaObject() { return staticMetaObject; }
175 #endif //Q_NO_DATA_RELOCATION
176 
177 const QMetaObject *files_dock_widget::metaObject() const
178 {
179  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
180 }
181 
182 void *files_dock_widget::qt_metacast(const char *_clname)
183 {
184  if (!_clname) return 0;
186  return static_cast<void*>(const_cast< files_dock_widget*>(this));
187  return octave_dock_widget::qt_metacast(_clname);
188 }
189 
190 int files_dock_widget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
191 {
192  _id = octave_dock_widget::qt_metacall(_c, _id, _a);
193  if (_id < 0)
194  return _id;
195  if (_c == QMetaObject::InvokeMetaMethod) {
196  if (_id < 37)
197  qt_static_metacall(this, _c, _id, _a);
198  _id -= 37;
199  }
200  return _id;
201 }
202 
203 // SIGNAL 0
204 void files_dock_widget::open_file(const QString & _t1)
205 {
206  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
207  QMetaObject::activate(this, &staticMetaObject, 0, _a);
208 }
209 
210 // SIGNAL 1
212 {
213  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
214  QMetaObject::activate(this, &staticMetaObject, 1, _a);
215 }
216 
217 // SIGNAL 2
218 void files_dock_widget::load_file_signal(const QString & _t1)
219 {
220  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
221  QMetaObject::activate(this, &staticMetaObject, 2, _a);
222 }
223 
224 // SIGNAL 3
225 void files_dock_widget::run_file_signal(const QFileInfo & _t1)
226 {
227  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
228  QMetaObject::activate(this, &staticMetaObject, 3, _a);
229 }
230 
231 // SIGNAL 4
232 void files_dock_widget::find_files_signal(const QString & _t1)
233 {
234  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
235  QMetaObject::activate(this, &staticMetaObject, 4, _a);
236 }
237 QT_END_MOC_NAMESPACE
void load_file_signal(const QString &fileName)
Emitted, whenever the user requested to load a file.
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_files_dock_widget[]
void run_file_signal(const QFileInfo &info)
Emitted, whenever the user requested to run a file.
void open_file(const QString &fileName)
Emitted, whenever the user requested to open a file.
bool strcmp(const T &str_a, const T &str_b)
True if strings are the same.
Definition: oct-string.cc:112
static const char qt_meta_stringdata_files_dock_widget[]
void displayed_directory_changed(const QString &dir)
Emitted, whenever the currently displayed directory changed.
void find_files_signal(const QString &startdir)
Emitted, whenever wants to search for a file .
Dock widget to display files in the current directory.