blob: c247cc997443b4c0ebb12b63b3a4087328fdd7fa [file] [log] [blame]
Olivier SOLDANO9b7e80d2017-05-04 16:06:01 -04001/***************************************************************************
2 * Copyright (C) 2015-2017 by Savoir-faire Linux *
3 * Author: Olivier Soldano <olivier.soldano@savoirfairelinux.com> *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 3 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
17 **************************************************************************/
18
19#ifndef DELETEACCOUNTDIALOG_H
20#define DELETEACCOUNTDIALOG_H
21
22#include <QDialog>
23#include <QModelIndex>
24
25namespace Ui {
26class DeleteAccountDialog;
27}
28
29class DeleteAccountDialog : public QDialog
30{
31 Q_OBJECT
32
33public:
34 DeleteAccountDialog(const QModelIndex & idx, QWidget *parent = 0);
35 ~DeleteAccountDialog();
36
37signals:
38 deleteAcceptClicked();
39
40private slots:
41 void on_deleteCancelBtn_clicked();
42
43 void on_deleteAcceptBtn_clicked();
44
45private:
46 Ui::DeleteAccountDialog *ui;
47 QModelIndex index_;
48};
49
50#endif // DELETEACCOUNTDIALOG_H