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-files-dock-widget.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 '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 
12 #include "src/files-dock-widget.h"
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  38, 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  438, 434, 18, 18, 0x08,
52  468, 18, 18, 18, 0x08,
53  504, 18, 18, 18, 0x08,
54  540, 18, 18, 18, 0x08,
55  580, 18, 18, 18, 0x08,
56  618, 434, 18, 18, 0x08,
57  654, 18, 18, 18, 0x08,
58  677, 18, 18, 18, 0x08,
59  707, 18, 18, 18, 0x08,
60  740, 18, 18, 18, 0x08,
61  762, 18, 18, 18, 0x08,
62  785, 18, 18, 18, 0x08,
63  810, 18, 18, 18, 0x08,
64  835, 18, 18, 18, 0x08,
65  861, 18, 18, 18, 0x08,
66  886, 18, 18, 18, 0x08,
67  918, 18, 18, 18, 0x08,
68  946, 18, 18, 18, 0x08,
69  972, 18, 18, 18, 0x08,
70  997, 18, 18, 18, 0x08,
71  1026, 18, 18, 18, 0x08,
72  1054, 18, 18, 18, 0x08,
73  1077, 18, 18, 18, 0x08,
74  1093, 18, 18, 18, 0x08,
75  1110, 18, 18, 18, 0x08,
76 
77  0 // eod
78 };
79 
80 static const char qt_meta_stringdata_files_dock_widget[] = {
81  "files_dock_widget\0\0fileName\0"
82  "open_file(QString)\0dir\0"
83  "displayed_directory_changed(QString)\0"
84  "load_file_signal(QString)\0info\0"
85  "run_file_signal(QFileInfo)\0startdir\0"
86  "find_files_signal(QString)\0index\0"
87  "item_double_clicked(QModelIndex)\0"
88  "change_directory_up()\0do_sync_octave_directory()\0"
89  "do_sync_browser_directory()\0"
90  "set_current_directory(QString)\0"
91  "accept_directory_line_edit()\0"
92  "update_octave_directory(QString)\0"
93  "settings\0notice_settings(const QSettings*)\0"
94  "pos\0contextmenu_requested(QPoint)\0"
95  "toggle_headercontextitem_filesize()\0"
96  "toggle_headercontextitem_filetype()\0"
97  "toggle_headercontextitem_datemodified()\0"
98  "toggle_headercontextitem_showhidden()\0"
99  "headercontextmenu_requested(QPoint)\0"
100  "contextmenu_open(bool)\0"
101  "contextmenu_open_in_app(bool)\0"
102  "contextmenu_copy_selection(bool)\0"
103  "contextmenu_run(bool)\0contextmenu_load(bool)\0"
104  "contextmenu_rename(bool)\0"
105  "contextmenu_delete(bool)\0"
106  "contextmenu_newfile(bool)\0"
107  "contextmenu_newdir(bool)\0"
108  "contextmenu_setcurrentdir(bool)\0"
109  "contextmenu_findfiles(bool)\0"
110  "popdownmenu_newfile(bool)\0"
111  "popdownmenu_newdir(bool)\0"
112  "popdownmenu_search_dir(bool)\0"
113  "popdownmenu_findfiles(bool)\0"
114  "popdownmenu_home(bool)\0copyClipboard()\0"
115  "pasteClipboard()\0selectAll()\0"
116 };
117 
118 void files_dock_widget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
119 {
120  if (_c == QMetaObject::InvokeMetaMethod) {
121  Q_ASSERT(staticMetaObject.cast(_o));
122  files_dock_widget *_t = static_cast<files_dock_widget *>(_o);
123  switch (_id) {
124  case 0: _t->open_file((*reinterpret_cast< const QString(*)>(_a[1]))); break;
125  case 1: _t->displayed_directory_changed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
126  case 2: _t->load_file_signal((*reinterpret_cast< const QString(*)>(_a[1]))); break;
127  case 3: _t->run_file_signal((*reinterpret_cast< const QFileInfo(*)>(_a[1]))); break;
128  case 4: _t->find_files_signal((*reinterpret_cast< const QString(*)>(_a[1]))); break;
129  case 5: _t->item_double_clicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
130  case 6: _t->change_directory_up(); break;
131  case 7: _t->do_sync_octave_directory(); break;
132  case 8: _t->do_sync_browser_directory(); break;
133  case 9: _t->set_current_directory((*reinterpret_cast< const QString(*)>(_a[1]))); break;
134  case 10: _t->accept_directory_line_edit(); break;
135  case 11: _t->update_octave_directory((*reinterpret_cast< const QString(*)>(_a[1]))); break;
136  case 12: _t->notice_settings((*reinterpret_cast< const QSettings*(*)>(_a[1]))); break;
137  case 13: _t->contextmenu_requested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
138  case 14: _t->toggle_headercontextitem_filesize(); break;
139  case 15: _t->toggle_headercontextitem_filetype(); break;
140  case 16: _t->toggle_headercontextitem_datemodified(); break;
141  case 17: _t->toggle_headercontextitem_showhidden(); break;
142  case 18: _t->headercontextmenu_requested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
143  case 19: _t->contextmenu_open((*reinterpret_cast< bool(*)>(_a[1]))); break;
144  case 20: _t->contextmenu_open_in_app((*reinterpret_cast< bool(*)>(_a[1]))); break;
145  case 21: _t->contextmenu_copy_selection((*reinterpret_cast< bool(*)>(_a[1]))); break;
146  case 22: _t->contextmenu_run((*reinterpret_cast< bool(*)>(_a[1]))); break;
147  case 23: _t->contextmenu_load((*reinterpret_cast< bool(*)>(_a[1]))); break;
148  case 24: _t->contextmenu_rename((*reinterpret_cast< bool(*)>(_a[1]))); break;
149  case 25: _t->contextmenu_delete((*reinterpret_cast< bool(*)>(_a[1]))); break;
150  case 26: _t->contextmenu_newfile((*reinterpret_cast< bool(*)>(_a[1]))); break;
151  case 27: _t->contextmenu_newdir((*reinterpret_cast< bool(*)>(_a[1]))); break;
152  case 28: _t->contextmenu_setcurrentdir((*reinterpret_cast< bool(*)>(_a[1]))); break;
153  case 29: _t->contextmenu_findfiles((*reinterpret_cast< bool(*)>(_a[1]))); break;
154  case 30: _t->popdownmenu_newfile((*reinterpret_cast< bool(*)>(_a[1]))); break;
155  case 31: _t->popdownmenu_newdir((*reinterpret_cast< bool(*)>(_a[1]))); break;
156  case 32: _t->popdownmenu_search_dir((*reinterpret_cast< bool(*)>(_a[1]))); break;
157  case 33: _t->popdownmenu_findfiles((*reinterpret_cast< bool(*)>(_a[1]))); break;
158  case 34: _t->popdownmenu_home((*reinterpret_cast< bool(*)>(_a[1]))); break;
159  case 35: _t->copyClipboard(); break;
160  case 36: _t->pasteClipboard(); break;
161  case 37: _t->selectAll(); break;
162  default: ;
163  }
164  }
165 }
166 
167 const QMetaObjectExtraData files_dock_widget::staticMetaObjectExtraData = {
168  0, qt_static_metacall
169 };
170 
171 const QMetaObject files_dock_widget::staticMetaObject = {
172  { &octave_dock_widget::staticMetaObject, qt_meta_stringdata_files_dock_widget,
173  qt_meta_data_files_dock_widget, &staticMetaObjectExtraData }
174 };
175 
176 #ifdef Q_NO_DATA_RELOCATION
177 const QMetaObject &files_dock_widget::getStaticMetaObject() { return staticMetaObject; }
178 #endif //Q_NO_DATA_RELOCATION
179 
180 const QMetaObject *files_dock_widget::metaObject() const
181 {
182  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
183 }
184 
185 void *files_dock_widget::qt_metacast(const char *_clname)
186 {
187  if (!_clname) return 0;
188  if (!strcmp(_clname, qt_meta_stringdata_files_dock_widget))
189  return static_cast<void*>(const_cast< files_dock_widget*>(this));
190  return octave_dock_widget::qt_metacast(_clname);
191 }
192 
193 int files_dock_widget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
194 {
195  _id = octave_dock_widget::qt_metacall(_c, _id, _a);
196  if (_id < 0)
197  return _id;
198  if (_c == QMetaObject::InvokeMetaMethod) {
199  if (_id < 38)
200  qt_static_metacall(this, _c, _id, _a);
201  _id -= 38;
202  }
203  return _id;
204 }
205 
206 // SIGNAL 0
207 void files_dock_widget::open_file(const QString & _t1)
208 {
209  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
210  QMetaObject::activate(this, &staticMetaObject, 0, _a);
211 }
212 
213 // SIGNAL 1
215 {
216  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
217  QMetaObject::activate(this, &staticMetaObject, 1, _a);
218 }
219 
220 // SIGNAL 2
221 void files_dock_widget::load_file_signal(const QString & _t1)
222 {
223  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
224  QMetaObject::activate(this, &staticMetaObject, 2, _a);
225 }
226 
227 // SIGNAL 3
228 void files_dock_widget::run_file_signal(const QFileInfo & _t1)
229 {
230  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
231  QMetaObject::activate(this, &staticMetaObject, 3, _a);
232 }
233 
234 // SIGNAL 4
235 void files_dock_widget::find_files_signal(const QString & _t1)
236 {
237  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
238  QMetaObject::activate(this, &staticMetaObject, 4, _a);
239 }
240 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.
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.