comparison SettingsDialog.h @ 8:21ce6187d32e

Minor changes done by automatic style checker
author Ideenmodellierer
date Mon, 12 Jan 2026 13:51:17 +0000
parents 0b3630a29ad8
children
comparison
equal deleted inserted replaced
7:0969ef86c42d 8:21ce6187d32e
39 // 2014-07-25 : [jDG] BSD 2-clause license. 39 // 2014-07-25 : [jDG] BSD 2-clause license.
40 40
41 ////////////////////////////////////////////////////////////////////////////// 41 //////////////////////////////////////////////////////////////////////////////
42 // Import Qt GUI 42 // Import Qt GUI
43 43
44 namespace Ui { class Settings; } 44 namespace Ui {
45 class Settings;
46 }
45 47
46 #include <QDialog> 48 #include <QDialog>
47 49
48 class HardwareOperations; 50 class HardwareOperations;
49 class QAbstractButton; 51 class QAbstractButton;
50 class QSettings; 52 class QSettings;
51 53
52 ////////////////////////////////////////////////////////////////////////////// 54 //////////////////////////////////////////////////////////////////////////////
53 /// \brief Implement preference dialog for OSTC Companion. 55 /// \brief Implement preference dialog for OSTC Companion.
54 class Settings 56 class Settings : public QDialog
55 : public QDialog
56 { 57 {
57 Q_OBJECT 58 Q_OBJECT
58 Ui::Settings* _ui; 59 Ui::Settings *_ui;
59 HardwareOperations* _op; 60 HardwareOperations *_op;
60 61
61 void changeEvent(QEvent *e); 62 void changeEvent(QEvent *e);
62 63
63 public: 64 public:
64 Settings(QWidget* parent, HardwareOperations *op); 65 Settings(QWidget *parent, HardwareOperations *op);
65 ~Settings(); 66 ~Settings();
66 67
67 static QString language; 68 static QString language;
68 static QString port; 69 static QString port;
69 static QString currentPath; 70 static QString currentPath;