Ver código fonte

Update generated files

Neal Wilson 7 anos atrás
pai
commit
64b5b20a20
9 arquivos alterados com 1890 adições e 1479 exclusões
  1. 1
    1
      src/abouttypica.cpp
  2. 2
    2
      src/draglabel.cpp
  3. 2
    2
      src/draglabel.h
  4. 1
    1
      src/helpmenu.cpp
  5. 1
    1
      src/licensewindow.cpp
  6. 191
    0
      src/moc_typica.cpp
  7. 6
    6
      src/scale.cpp
  8. 2
    2
      src/scale.h
  9. 1684
    1464
      src/typica.cpp

+ 1
- 1
src/abouttypica.cpp Ver arquivo

@@ -17,7 +17,7 @@ aboutFile.close();
17 17
 setCentralWidget(banner);
18 18
 }
19 19
 
20
-#line 6851 "./typica.w"
20
+#line 6866 "./typica.w"
21 21
 
22 22
 /*:289*/
23 23
 #line 36 "./abouttypica.w"

+ 2
- 2
src/draglabel.cpp Ver arquivo

@@ -1,4 +1,4 @@
1
-/*1087:*/
1
+/*1091:*/
2 2
 #line 33 "./scales.w"
3 3
 
4 4
 #include "draglabel.h"
@@ -26,4 +26,4 @@ drag->exec();
26 26
 }
27 27
 }
28 28
 
29
-/*:1087*/
29
+/*:1091*/

+ 2
- 2
src/draglabel.h Ver arquivo

@@ -1,4 +1,4 @@
1
-/*1086:*/
1
+/*1090:*/
2 2
 #line 13 "./scales.w"
3 3
 
4 4
 #ifndef TypicaDragLabelInclude
@@ -17,4 +17,4 @@ void mousePressEvent(QMouseEvent*event);
17 17
 
18 18
 #endif
19 19
 
20
-/*:1086*/
20
+/*:1090*/

+ 1
- 1
src/helpmenu.cpp Ver arquivo

@@ -42,7 +42,7 @@ LicenseWindow*window= new LicenseWindow;
42 42
 window->show();
43 43
 }
44 44
 
45
-#line 4895 "./typica.w"
45
+#line 4906 "./typica.w"
46 46
 
47 47
 #line 1 "./licensewindow.w"
48 48
 /*:211*/

+ 1
- 1
src/licensewindow.cpp Ver arquivo

@@ -11,7 +11,7 @@
11 11
 #include <QVariant> 
12 12
 #include <QUrl> 
13 13
 
14
-#line 4897 "./typica.w"
14
+#line 4908 "./typica.w"
15 15
 
16 16
 /*:217*/
17 17
 #line 37 "./licensewindow.w"

+ 191
- 0
src/moc_typica.cpp Ver arquivo

@@ -5866,6 +5866,86 @@ int GraphSettingsRelativeTab::qt_metacall(QMetaObject::Call _c, int _id, void **
5866 5866
     }
5867 5867
     return _id;
5868 5868
 }
5869
+static const uint qt_meta_data_ColorSettingsWidget[] = {
5870
+
5871
+ // content:
5872
+       6,       // revision
5873
+       0,       // classname
5874
+       0,    0, // classinfo
5875
+       3,   14, // methods
5876
+       0,    0, // properties
5877
+       0,    0, // enums/sets
5878
+       0,    0, // constructors
5879
+       0,       // flags
5880
+       0,       // signalCount
5881
+
5882
+ // slots: signature, parameters, type, tag, flags
5883
+      28,   21,   20,   20, 0x0a,
5884
+      55,   47,   20,   20, 0x0a,
5885
+      85,   78,   20,   20, 0x0a,
5886
+
5887
+       0        // eod
5888
+};
5889
+
5890
+static const char qt_meta_stringdata_ColorSettingsWidget[] = {
5891
+    "ColorSettingsWidget\0\0enable\0"
5892
+    "updateEnable(bool)\0address\0"
5893
+    "updateAddress(QString)\0sccale\0"
5894
+    "updateScale(int)\0"
5895
+};
5896
+
5897
+void ColorSettingsWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
5898
+{
5899
+    if (_c == QMetaObject::InvokeMetaMethod) {
5900
+        Q_ASSERT(staticMetaObject.cast(_o));
5901
+        ColorSettingsWidget *_t = static_cast<ColorSettingsWidget *>(_o);
5902
+        switch (_id) {
5903
+        case 0: _t->updateEnable((*reinterpret_cast< bool(*)>(_a[1]))); break;
5904
+        case 1: _t->updateAddress((*reinterpret_cast< const QString(*)>(_a[1]))); break;
5905
+        case 2: _t->updateScale((*reinterpret_cast< int(*)>(_a[1]))); break;
5906
+        default: ;
5907
+        }
5908
+    }
5909
+}
5910
+
5911
+const QMetaObjectExtraData ColorSettingsWidget::staticMetaObjectExtraData = {
5912
+    0,  qt_static_metacall 
5913
+};
5914
+
5915
+const QMetaObject ColorSettingsWidget::staticMetaObject = {
5916
+    { &QWidget::staticMetaObject, qt_meta_stringdata_ColorSettingsWidget,
5917
+      qt_meta_data_ColorSettingsWidget, &staticMetaObjectExtraData }
5918
+};
5919
+
5920
+#ifdef Q_NO_DATA_RELOCATION
5921
+const QMetaObject &ColorSettingsWidget::getStaticMetaObject() { return staticMetaObject; }
5922
+#endif //Q_NO_DATA_RELOCATION
5923
+
5924
+const QMetaObject *ColorSettingsWidget::metaObject() const
5925
+{
5926
+    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
5927
+}
5928
+
5929
+void *ColorSettingsWidget::qt_metacast(const char *_clname)
5930
+{
5931
+    if (!_clname) return 0;
5932
+    if (!strcmp(_clname, qt_meta_stringdata_ColorSettingsWidget))
5933
+        return static_cast<void*>(const_cast< ColorSettingsWidget*>(this));
5934
+    return QWidget::qt_metacast(_clname);
5935
+}
5936
+
5937
+int ColorSettingsWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
5938
+{
5939
+    _id = QWidget::qt_metacall(_c, _id, _a);
5940
+    if (_id < 0)
5941
+        return _id;
5942
+    if (_c == QMetaObject::InvokeMetaMethod) {
5943
+        if (_id < 3)
5944
+            qt_static_metacall(this, _c, _id, _a);
5945
+        _id -= 3;
5946
+    }
5947
+    return _id;
5948
+}
5869 5949
 static const uint qt_meta_data_AdvancedSettingsWidget[] = {
5870 5950
 
5871 5951
  // content:
@@ -9518,4 +9598,115 @@ int NewTypicaUser::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
9518 9598
     }
9519 9599
     return _id;
9520 9600
 }
9601
+static const uint qt_meta_data_RoastColorEdit[] = {
9602
+
9603
+ // content:
9604
+       6,       // revision
9605
+       0,       // classname
9606
+       0,    0, // classinfo
9607
+       4,   14, // methods
9608
+       1,   34, // properties
9609
+       0,    0, // enums/sets
9610
+       0,    0, // constructors
9611
+       0,       // flags
9612
+       0,       // signalCount
9613
+
9614
+ // slots: signature, parameters, type, tag, flags
9615
+      22,   16,   15,   15, 0x0a,
9616
+      40,   15,   15,   15, 0x08,
9617
+      52,   15,   15,   15, 0x08,
9618
+      70,   15,   15,   15, 0x08,
9619
+
9620
+ // properties: name, type, flags
9621
+      93,   85, 0x0a095103,
9622
+
9623
+       0        // eod
9624
+};
9625
+
9626
+static const char qt_meta_stringdata_RoastColorEdit[] = {
9627
+    "RoastColorEdit\0\0color\0setValue(QString)\0"
9628
+    "readColor()\0measureFinished()\0"
9629
+    "readFinished()\0QString\0value\0"
9630
+};
9631
+
9632
+void RoastColorEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
9633
+{
9634
+    if (_c == QMetaObject::InvokeMetaMethod) {
9635
+        Q_ASSERT(staticMetaObject.cast(_o));
9636
+        RoastColorEdit *_t = static_cast<RoastColorEdit *>(_o);
9637
+        switch (_id) {
9638
+        case 0: _t->setValue((*reinterpret_cast< const QString(*)>(_a[1]))); break;
9639
+        case 1: _t->readColor(); break;
9640
+        case 2: _t->measureFinished(); break;
9641
+        case 3: _t->readFinished(); break;
9642
+        default: ;
9643
+        }
9644
+    }
9645
+}
9646
+
9647
+const QMetaObjectExtraData RoastColorEdit::staticMetaObjectExtraData = {
9648
+    0,  qt_static_metacall 
9649
+};
9650
+
9651
+const QMetaObject RoastColorEdit::staticMetaObject = {
9652
+    { &QWidget::staticMetaObject, qt_meta_stringdata_RoastColorEdit,
9653
+      qt_meta_data_RoastColorEdit, &staticMetaObjectExtraData }
9654
+};
9655
+
9656
+#ifdef Q_NO_DATA_RELOCATION
9657
+const QMetaObject &RoastColorEdit::getStaticMetaObject() { return staticMetaObject; }
9658
+#endif //Q_NO_DATA_RELOCATION
9659
+
9660
+const QMetaObject *RoastColorEdit::metaObject() const
9661
+{
9662
+    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
9663
+}
9664
+
9665
+void *RoastColorEdit::qt_metacast(const char *_clname)
9666
+{
9667
+    if (!_clname) return 0;
9668
+    if (!strcmp(_clname, qt_meta_stringdata_RoastColorEdit))
9669
+        return static_cast<void*>(const_cast< RoastColorEdit*>(this));
9670
+    return QWidget::qt_metacast(_clname);
9671
+}
9672
+
9673
+int RoastColorEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
9674
+{
9675
+    _id = QWidget::qt_metacall(_c, _id, _a);
9676
+    if (_id < 0)
9677
+        return _id;
9678
+    if (_c == QMetaObject::InvokeMetaMethod) {
9679
+        if (_id < 4)
9680
+            qt_static_metacall(this, _c, _id, _a);
9681
+        _id -= 4;
9682
+    }
9683
+#ifndef QT_NO_PROPERTIES
9684
+      else if (_c == QMetaObject::ReadProperty) {
9685
+        void *_v = _a[0];
9686
+        switch (_id) {
9687
+        case 0: *reinterpret_cast< QString*>(_v) = value(); break;
9688
+        }
9689
+        _id -= 1;
9690
+    } else if (_c == QMetaObject::WriteProperty) {
9691
+        void *_v = _a[0];
9692
+        switch (_id) {
9693
+        case 0: setValue(*reinterpret_cast< QString*>(_v)); break;
9694
+        }
9695
+        _id -= 1;
9696
+    } else if (_c == QMetaObject::ResetProperty) {
9697
+        _id -= 1;
9698
+    } else if (_c == QMetaObject::QueryPropertyDesignable) {
9699
+        _id -= 1;
9700
+    } else if (_c == QMetaObject::QueryPropertyScriptable) {
9701
+        _id -= 1;
9702
+    } else if (_c == QMetaObject::QueryPropertyStored) {
9703
+        _id -= 1;
9704
+    } else if (_c == QMetaObject::QueryPropertyEditable) {
9705
+        _id -= 1;
9706
+    } else if (_c == QMetaObject::QueryPropertyUser) {
9707
+        _id -= 1;
9708
+    }
9709
+#endif // QT_NO_PROPERTIES
9710
+    return _id;
9711
+}
9521 9712
 QT_END_MOC_NAMESPACE

+ 6
- 6
src/scale.cpp Ver arquivo

@@ -1,4 +1,4 @@
1
-/*1093:*/
1
+/*1097:*/
2 2
 #line 135 "./scales.w"
3 3
 
4 4
 #include "scale.h"
@@ -10,7 +10,7 @@ QextSerialPort(port,QextSerialPort::EventDriven)
10 10
 connect(this,SIGNAL(readyRead()),this,SLOT(dataAvailable()));
11 11
 }
12 12
 
13
-/*:1093*//*1094:*/
13
+/*:1097*//*1098:*/
14 14
 #line 153 "./scales.w"
15 15
 
16 16
 void SerialScale::dataAvailable()
@@ -24,7 +24,7 @@ responseBuffer.clear();
24 24
 }
25 25
 else
26 26
 {
27
-/*1095:*/
27
+/*1099:*/
28 28
 #line 193 "./scales.w"
29 29
 
30 30
 QStringList responseParts= QString(responseBuffer.simplified()).split(' ');
@@ -53,7 +53,7 @@ unit= Units::Ounce;
53 53
 }
54 54
 emit newMeasurement(weight,unit);
55 55
 
56
-/*:1095*/
56
+/*:1099*/
57 57
 #line 165 "./scales.w"
58 58
 
59 59
 responseBuffer.clear();
@@ -61,7 +61,7 @@ responseBuffer.clear();
61 61
 }
62 62
 }
63 63
 
64
-/*:1094*//*1096:*/
64
+/*:1098*//*1100:*/
65 65
 #line 224 "./scales.w"
66 66
 
67 67
 void SerialScale::tare()
@@ -96,4 +96,4 @@ commandTerminator= "\x0A";
96 96
 }
97 97
 }
98 98
 
99
-/*:1096*/
99
+/*:1100*/

+ 2
- 2
src/scale.h Ver arquivo

@@ -1,4 +1,4 @@
1
-/*1092:*/
1
+/*1096:*/
2 2
 #line 103 "./scales.w"
3 3
 
4 4
 #ifndef TypicaScaleInclude
@@ -29,4 +29,4 @@ QByteArray commandTerminator;
29 29
 
30 30
 #endif
31 31
 
32
-/*:1092*/
32
+/*:1096*/

+ 1684
- 1464
src/typica.cpp
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


Carregando…
Cancelar
Salvar