mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-12-15 15:13:40 +00:00
more refactoring
This commit is contained in:
@ -20,7 +20,6 @@
|
||||
|
||||
#include <QKeyEvent>
|
||||
#include <QMainWindow>
|
||||
#include <QPushButton>
|
||||
|
||||
|
||||
class MainWindow;
|
||||
@ -45,6 +44,7 @@ public slots:
|
||||
void showWindow();
|
||||
|
||||
private slots:
|
||||
void addLanguages();
|
||||
void saveSettings();
|
||||
// buttons
|
||||
void selectIfaceDir();
|
||||
@ -59,14 +59,11 @@ private:
|
||||
MainWindow *parent;
|
||||
QString file;
|
||||
Ui::SettingsWindow *ui;
|
||||
QPushButton *cancelButton;
|
||||
QPushButton *defaultButton;
|
||||
QPushButton *okButton;
|
||||
void createActions();
|
||||
// ESC pressed event
|
||||
void keyPressEvent(QKeyEvent *pressedKey);
|
||||
void keyPressEvent(const QKeyEvent *pressedKey);
|
||||
QMap<QString, QString> readSettings();
|
||||
void setSettings(QMap<QString, QString> settings);
|
||||
void setSettings(const QMap<QString, QString> settings);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user