|
@@ -2496,7 +2496,7 @@ static const uint qt_meta_data_Application[] = {
|
2496
|
2496
|
6, // revision
|
2497
|
2497
|
0, // classname
|
2498
|
2498
|
0, 0, // classinfo
|
2499
|
|
- 8, 14, // methods
|
|
2499
|
+ 9, 14, // methods
|
2500
|
2500
|
0, 0, // properties
|
2501
|
2501
|
0, 0, // enums/sets
|
2502
|
2502
|
0, 0, // constructors
|
|
@@ -2509,13 +2509,14 @@ static const uint qt_meta_data_Application[] = {
|
2509
|
2509
|
// slots: signature, parameters, type, tag, flags
|
2510
|
2510
|
46, 39, 12, 12, 0x0a,
|
2511
|
2511
|
73, 13, 12, 12, 0x0a,
|
2512
|
|
- 103, 12, 12, 12, 0x0a,
|
|
2512
|
+ 116, 103, 12, 12, 0x0a,
|
|
2513
|
+ 132, 12, 12, 12, 0x0a,
|
2513
|
2514
|
|
2514
|
2515
|
// methods: signature, parameters, type, tag, flags
|
2515
|
|
- 134, 12, 129, 12, 0x02,
|
2516
|
|
- 162, 12, 154, 12, 0x02,
|
2517
|
|
- 196, 182, 129, 12, 0x02,
|
2518
|
|
- 219, 12, 129, 12, 0x02,
|
|
2516
|
+ 163, 12, 158, 12, 0x02,
|
|
2517
|
+ 191, 12, 183, 12, 0x02,
|
|
2518
|
+ 225, 211, 158, 12, 0x02,
|
|
2519
|
+ 248, 12, 158, 12, 0x02,
|
2519
|
2520
|
|
2520
|
2521
|
0 // eod
|
2521
|
2522
|
};
|
|
@@ -2524,6 +2525,7 @@ static const char qt_meta_stringdata_Application[] = {
|
2524
|
2525
|
"Application\0\0user\0userChanged(QString)\0"
|
2525
|
2526
|
"status\0setDatabaseConnected(bool)\0"
|
2526
|
2527
|
"setCurrentTypicaUser(QString)\0"
|
|
2528
|
+ "notification\0notify(QString)\0"
|
2527
|
2529
|
"saveDeviceConfiguration()\0bool\0"
|
2528
|
2530
|
"databaseConnected()\0QString\0"
|
2529
|
2531
|
"currentTypicaUser()\0user,password\0"
|
|
@@ -2539,14 +2541,15 @@ void Application::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
|
2539
|
2541
|
case 0: _t->userChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
2540
|
2542
|
case 1: _t->setDatabaseConnected((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
2541
|
2543
|
case 2: _t->setCurrentTypicaUser((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
2542
|
|
- case 3: _t->saveDeviceConfiguration(); break;
|
2543
|
|
- case 4: { bool _r = _t->databaseConnected();
|
|
2544
|
+ case 3: _t->notify((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
|
2545
|
+ case 4: _t->saveDeviceConfiguration(); break;
|
|
2546
|
+ case 5: { bool _r = _t->databaseConnected();
|
2544
|
2547
|
if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
|
2545
|
|
- case 5: { QString _r = _t->currentTypicaUser();
|
|
2548
|
+ case 6: { QString _r = _t->currentTypicaUser();
|
2546
|
2549
|
if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
|
2547
|
|
- case 6: { bool _r = _t->login((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
|
|
2550
|
+ case 7: { bool _r = _t->login((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
|
2548
|
2551
|
if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
|
2549
|
|
- case 7: { bool _r = _t->autoLogin();
|
|
2552
|
+ case 8: { bool _r = _t->autoLogin();
|
2550
|
2553
|
if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
|
2551
|
2554
|
default: ;
|
2552
|
2555
|
}
|
|
@@ -2585,9 +2588,9 @@ int Application::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
2585
|
2588
|
if (_id < 0)
|
2586
|
2589
|
return _id;
|
2587
|
2590
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
2588
|
|
- if (_id < 8)
|
|
2591
|
+ if (_id < 9)
|
2589
|
2592
|
qt_static_metacall(this, _c, _id, _a);
|
2590
|
|
- _id -= 8;
|
|
2593
|
+ _id -= 9;
|
2591
|
2594
|
}
|
2592
|
2595
|
return _id;
|
2593
|
2596
|
}
|
|
@@ -2598,6 +2601,91 @@ void Application::userChanged(const QString & _t1)
|
2598
|
2601
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
2599
|
2602
|
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
2600
|
2603
|
}
|
|
2604
|
+static const uint qt_meta_data_DatabaseNotification[] = {
|
|
2605
|
+
|
|
2606
|
+ // content:
|
|
2607
|
+ 6, // revision
|
|
2608
|
+ 0, // classname
|
|
2609
|
+ 0, 0, // classinfo
|
|
2610
|
+ 2, 14, // methods
|
|
2611
|
+ 0, 0, // properties
|
|
2612
|
+ 0, 0, // enums/sets
|
|
2613
|
+ 0, 0, // constructors
|
|
2614
|
+ 0, // flags
|
|
2615
|
+ 1, // signalCount
|
|
2616
|
+
|
|
2617
|
+ // signals: signature, parameters, type, tag, flags
|
|
2618
|
+ 35, 22, 21, 21, 0x05,
|
|
2619
|
+
|
|
2620
|
+ // slots: signature, parameters, type, tag, flags
|
|
2621
|
+ 51, 22, 21, 21, 0x0a,
|
|
2622
|
+
|
|
2623
|
+ 0 // eod
|
|
2624
|
+};
|
|
2625
|
+
|
|
2626
|
+static const char qt_meta_stringdata_DatabaseNotification[] = {
|
|
2627
|
+ "DatabaseNotification\0\0notification\0"
|
|
2628
|
+ "notify(QString)\0forwardNotification(QString)\0"
|
|
2629
|
+};
|
|
2630
|
+
|
|
2631
|
+void DatabaseNotification::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
2632
|
+{
|
|
2633
|
+ if (_c == QMetaObject::InvokeMetaMethod) {
|
|
2634
|
+ Q_ASSERT(staticMetaObject.cast(_o));
|
|
2635
|
+ DatabaseNotification *_t = static_cast<DatabaseNotification *>(_o);
|
|
2636
|
+ switch (_id) {
|
|
2637
|
+ case 0: _t->notify((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
|
2638
|
+ case 1: _t->forwardNotification((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
|
2639
|
+ default: ;
|
|
2640
|
+ }
|
|
2641
|
+ }
|
|
2642
|
+}
|
|
2643
|
+
|
|
2644
|
+const QMetaObjectExtraData DatabaseNotification::staticMetaObjectExtraData = {
|
|
2645
|
+ 0, qt_static_metacall
|
|
2646
|
+};
|
|
2647
|
+
|
|
2648
|
+const QMetaObject DatabaseNotification::staticMetaObject = {
|
|
2649
|
+ { &QObject::staticMetaObject, qt_meta_stringdata_DatabaseNotification,
|
|
2650
|
+ qt_meta_data_DatabaseNotification, &staticMetaObjectExtraData }
|
|
2651
|
+};
|
|
2652
|
+
|
|
2653
|
+#ifdef Q_NO_DATA_RELOCATION
|
|
2654
|
+const QMetaObject &DatabaseNotification::getStaticMetaObject() { return staticMetaObject; }
|
|
2655
|
+#endif //Q_NO_DATA_RELOCATION
|
|
2656
|
+
|
|
2657
|
+const QMetaObject *DatabaseNotification::metaObject() const
|
|
2658
|
+{
|
|
2659
|
+ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
|
|
2660
|
+}
|
|
2661
|
+
|
|
2662
|
+void *DatabaseNotification::qt_metacast(const char *_clname)
|
|
2663
|
+{
|
|
2664
|
+ if (!_clname) return 0;
|
|
2665
|
+ if (!strcmp(_clname, qt_meta_stringdata_DatabaseNotification))
|
|
2666
|
+ return static_cast<void*>(const_cast< DatabaseNotification*>(this));
|
|
2667
|
+ return QObject::qt_metacast(_clname);
|
|
2668
|
+}
|
|
2669
|
+
|
|
2670
|
+int DatabaseNotification::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
|
2671
|
+{
|
|
2672
|
+ _id = QObject::qt_metacall(_c, _id, _a);
|
|
2673
|
+ if (_id < 0)
|
|
2674
|
+ return _id;
|
|
2675
|
+ if (_c == QMetaObject::InvokeMetaMethod) {
|
|
2676
|
+ if (_id < 2)
|
|
2677
|
+ qt_static_metacall(this, _c, _id, _a);
|
|
2678
|
+ _id -= 2;
|
|
2679
|
+ }
|
|
2680
|
+ return _id;
|
|
2681
|
+}
|
|
2682
|
+
|
|
2683
|
+// SIGNAL 0
|
|
2684
|
+void DatabaseNotification::notify(const QString & _t1)
|
|
2685
|
+{
|
|
2686
|
+ void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
|
2687
|
+ QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
|
2688
|
+}
|
2601
|
2689
|
static const uint qt_meta_data_SaltModel[] = {
|
2602
|
2690
|
|
2603
|
2691
|
// content:
|