Changeset View
Changeset View
Standalone View
Standalone View
testclient/mainwindow.h
Show All 37 Lines | |||||
38 | class SerialLayer; | 38 | class SerialLayer; | ||
39 | 39 | | |||
40 | class MainWindow: public QMainWindow | 40 | class MainWindow: public QMainWindow | ||
41 | { | 41 | { | ||
42 | Q_OBJECT | 42 | Q_OBJECT | ||
43 | 43 | | |||
44 | public: | 44 | public: | ||
45 | explicit MainWindow(QWidget *parent = nullptr); | 45 | explicit MainWindow(QWidget *parent = nullptr); | ||
46 | ~MainWindow() override; | 46 | ~MainWindow() override = default; | ||
47 | 47 | | |||
48 | public slots: | 48 | public slots: | ||
49 | /** | 49 | /** | ||
50 | * @brief Check temperature | 50 | * @brief Check temperature | ||
51 | * | 51 | * | ||
52 | * @param sensorType : type of sensor | 52 | * @param sensorType : type of sensor | ||
53 | * @param number : index of sensor | 53 | * @param number : index of sensor | ||
54 | * @param temp : temperature | 54 | * @param temp : temperature | ||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | 90 | private: | |||
97 | * @brief Locate serial port | 97 | * @brief Locate serial port | ||
98 | * | 98 | * | ||
99 | */ | 99 | */ | ||
100 | void locateSerialPort(const QStringList &ports); | 100 | void locateSerialPort(const QStringList &ports); | ||
101 | 101 | | |||
102 | /** | 102 | /** | ||
103 | * @brief pluginCB index changed | 103 | * @brief pluginCB index changed | ||
104 | */ | 104 | */ | ||
105 | void pluginCBChanged(QString currentText); | 105 | void pluginCBChanged(const QString ¤tText); | ||
106 | 106 | | |||
107 | /** | 107 | /** | ||
108 | * @brief setupActions for KXMLGui | 108 | * @brief setupActions for KXMLGui | ||
109 | */ | 109 | */ | ||
110 | void setupActions(); | 110 | void setupActions(); | ||
111 | 111 | | |||
112 | /** | 112 | /** | ||
113 | * @brief Populate comboboxes | 113 | * @brief Populate comboboxes | ||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |