Warning, file /plasma/latte-dock/app/settings/actionsdialog/actionsdialog.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2021 Michail Vourlakos <mvourlakos@gmail.com>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef ACTIONSDIALOG_H
0007 #define ACTIONSDIALOG_H
0008 
0009 // local
0010 #include "../generic/genericdialog.h"
0011 
0012 // Qt
0013 #include <QDialog>
0014 
0015 namespace Ui {
0016 class ActionsDialog;
0017 }
0018 
0019 namespace Latte {
0020 namespace Settings {
0021 namespace Handler {
0022 class ActionsHandler;
0023 class TabPreferences;
0024 }
0025 }
0026 }
0027 
0028 namespace Latte {
0029 namespace Settings {
0030 namespace Dialog {
0031 
0032 class ActionsDialog : public GenericDialog
0033 {
0034     Q_OBJECT
0035 
0036 public:
0037     ActionsDialog(QDialog *parent, Handler::TabPreferences *handler);
0038     ~ActionsDialog();
0039 
0040     Ui::ActionsDialog *ui() const;
0041     Handler::TabPreferences *preferencesHandler() const;
0042 
0043 protected:
0044     void accept() override;
0045 
0046 private slots:
0047     void onCancel();
0048    // void onDataChanged();
0049     void onReset();
0050 
0051 private:
0052     void init();
0053 
0054 private:
0055     Ui::ActionsDialog *m_ui;
0056 
0057     Handler::TabPreferences *m_preferencesHandler{nullptr};
0058     Handler::ActionsHandler *m_actionsHandler{nullptr};
0059 };
0060 
0061 }
0062 }
0063 }
0064 
0065 #endif