~feng-kylin/youker-assistant/youker-assistant

« back to all changes in this revision

Viewing changes to component/settingaction.h

  • Committer: lixiang
  • Date: 2018-03-06 03:13:06 UTC
  • Revision ID: lixiang@kylinos.cn-20180306031306-fd7qnru3vm4a1xjd
Rewrite with Qt5, and add system monitor

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
{
35
35
    Q_OBJECT
36
36
public:
 
37
    /*enum SettingModuleID{
 
38
        ThemePage = 0,
 
39
        IconPage,
 
40
        MousePage,
 
41
        SoundPage,
 
42
        PanelPage,
 
43
        MenuPage,
 
44
        WindowPage,
 
45
        FontPage,
 
46
        TouchPadPage,
 
47
        EnergyPage,
 
48
        FMPage
 
49
    };*/
 
50
 
37
51
    explicit SettingAction(QString cur_dekstop = "", QWidget *parent = 0);
38
52
    ~SettingAction();
39
53
//    void setParentWindow(MainWindow* window) { p_mainwindow = window;}
40
54
    void setLanguage(int index);
41
55
 
 
56
//    QString getModuleName() const;
 
57
//    void setModuleName(const QString &name);
 
58
    QString getModuleName();
 
59
    void setModuleName(QString name);
 
60
 
 
61
 
 
62
//    SettingModuleID getModuleNameID() const;
 
63
//    void setModuleNameID(const SettingModuleID &id);
 
64
 
42
65
signals:
43
66
    void showSettingMainWidget();
44
67
 
49
72
//    QLabel *description_label;
50
73
//    MainWindow *p_mainwindow;
51
74
    QString desktop;
 
75
    QString m_moduleName;
 
76
//    SettingModuleID m_id;
52
77
};
53
78
 
54
79
#endif // SETTINGACTION_H