src/MainWindow.h

changeset 133
08635b028dcf
parent 131
0115b97e8c39
child 173
8514932b61aa
equal deleted inserted replaced
132:9ede9c75cb54 133:08635b028dcf
159 private: 159 private:
160 Ui::MainWindow *ui; 160 Ui::MainWindow *ui;
161 QWebSocket *webSocket; 161 QWebSocket *webSocket;
162 162
163 /** 163 /**
164 * @brief Load profile_setup record and set global variables.
165 */
166 void loadSetup();
167
168 /**
164 * @brief Open Websocket connection. 169 * @brief Open Websocket connection.
165 * @param develop Is true if connect to develop server, else production. 170 * @param develop Is true if connect to develop server, else production.
166 * @return Returns true if succes. 171 * @return Returns true if succes.
167 */ 172 */
168 bool openWS(bool develop); 173 bool openWS(bool develop);
173 178
174 void wsTextMessageReceived(QString message); 179 void wsTextMessageReceived(QString message);
175 180
176 /** 181 /**
177 * @brief Read user settings for the MySQL connection. 182 * @brief Read user settings for the MySQL connection.
183 * Settings in $HOME/.config/mbse/bmsapp.ini
178 */ 184 */
179 void readsettings(); 185 void readsettings();
180 186
181 /** 187 /**
182 * @brief Write or update the user settings for the MySQL connection. 188 * @brief Write or update the user settings for the MySQL connection.

mercurial