aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/pages/page_soundtheme.h
blob: 5d3bed6645bd108e2dd10d0683af2b0cd6652b7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//===========================================
//  Lumina Desktop Source Code
//  Copyright (c) 2017, JT (q5sys)
//  Available under the 3-clause BSD license
//  See the LICENSE file for full details 
//===========================================
#ifndef _LUMINA_CONFIG_PAGE_SOUNDTHEME_H
#define _LUMINA_CONFIG_PAGE_SOUNDTHEME_H
#include "../globals.h"
#include "PageWidget.h"

namespace Ui{
    class page_soundtheme;
};

class page_soundtheme : public PageWidget{
	Q_OBJECT
public:
    page_soundtheme(QWidget *parent);
    ~page_soundtheme();

public slots:

    void SaveSettings();
    void LoadSettings(int screennum);


private:
    Ui::page_soundtheme *ui;
    QString startupsound, logoutsound, batterysound;
    QSettings *sessionsettings;

private slots:

    void on_pushButton_startup_clicked();
    void on_pushButton_logout_clicked();
    void on_pushButton_battery_clicked();
    void on_checkBox_startup_toggled(bool checked);
    void on_checkBox_logout_toggled(bool checked);
    void on_checkBox_battery_toggled(bool checked);
};
#endif
bgstack15