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-find-files-dialog.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 'find-files-dialog.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 'find-files-dialog.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_find_files_dialog[] = {
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  2, // signalCount
34 
35  // signals: signature, parameters, type, tag, flags
36  28, 19, 18, 18, 0x05,
37  51, 19, 18, 18, 0x05,
38 
39  // slots: signature, parameters, type, tag, flags
40  77, 73, 18, 18, 0x0a,
41  101, 18, 18, 18, 0x08,
42  114, 18, 18, 18, 0x08,
43  126, 18, 18, 18, 0x08,
44  143, 18, 18, 18, 0x08,
45  160, 18, 18, 18, 0x08,
46  193, 18, 18, 18, 0x08,
47 
48  0 // eod
49 };
50 
51 static const char qt_meta_stringdata_find_files_dialog[] = {
52  "find_files_dialog\0\0fileName\0"
53  "file_selected(QString)\0dir_selected(QString)\0"
54  "dir\0set_search_dir(QString)\0start_find()\0"
55  "stop_find()\0browse_folders()\0"
56  "look_for_files()\0item_double_clicked(QModelIndex)\0"
57  "handle_done(int)\0"
58 };
59 
60 void find_files_dialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
61 {
62  if (_c == QMetaObject::InvokeMetaMethod) {
63  Q_ASSERT(staticMetaObject.cast(_o));
64  find_files_dialog *_t = static_cast<find_files_dialog *>(_o);
65  switch (_id) {
66  case 0: _t->file_selected((*reinterpret_cast< const QString(*)>(_a[1]))); break;
67  case 1: _t->dir_selected((*reinterpret_cast< const QString(*)>(_a[1]))); break;
68  case 2: _t->set_search_dir((*reinterpret_cast< const QString(*)>(_a[1]))); break;
69  case 3: _t->start_find(); break;
70  case 4: _t->stop_find(); break;
71  case 5: _t->browse_folders(); break;
72  case 6: _t->look_for_files(); break;
73  case 7: _t->item_double_clicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
74  case 8: _t->handle_done((*reinterpret_cast< int(*)>(_a[1]))); break;
75  default: ;
76  }
77  }
78 }
79 
80 const QMetaObjectExtraData find_files_dialog::staticMetaObjectExtraData = {
81  0, qt_static_metacall
82 };
83 
84 const QMetaObject find_files_dialog::staticMetaObject = {
85  { &QDialog::staticMetaObject, qt_meta_stringdata_find_files_dialog,
86  qt_meta_data_find_files_dialog, &staticMetaObjectExtraData }
87 };
88 
89 #ifdef Q_NO_DATA_RELOCATION
90 const QMetaObject &find_files_dialog::getStaticMetaObject() { return staticMetaObject; }
91 #endif //Q_NO_DATA_RELOCATION
92 
93 const QMetaObject *find_files_dialog::metaObject() const
94 {
95  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
96 }
97 
98 void *find_files_dialog::qt_metacast(const char *_clname)
99 {
100  if (!_clname) return 0;
102  return static_cast<void*>(const_cast< find_files_dialog*>(this));
103  return QDialog::qt_metacast(_clname);
104 }
105 
106 int find_files_dialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
107 {
108  _id = QDialog::qt_metacall(_c, _id, _a);
109  if (_id < 0)
110  return _id;
111  if (_c == QMetaObject::InvokeMetaMethod) {
112  if (_id < 9)
113  qt_static_metacall(this, _c, _id, _a);
114  _id -= 9;
115  }
116  return _id;
117 }
118 
119 // SIGNAL 0
120 void find_files_dialog::file_selected(const QString & _t1)
121 {
122  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
123  QMetaObject::activate(this, &staticMetaObject, 0, _a);
124 }
125 
126 // SIGNAL 1
127 void find_files_dialog::dir_selected(const QString & _t1)
128 {
129  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
130  QMetaObject::activate(this, &staticMetaObject, 1, _a);
131 }
132 QT_END_MOC_NAMESPACE
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_find_files_dialog[]
void file_selected(const QString &fileName)
bool strcmp(const T &str_a, const T &str_b)
True if strings are the same.
Definition: oct-string.cc:112
void dir_selected(const QString &fileName)
static const char qt_meta_stringdata_find_files_dialog[]