blob: 792f6549de1386a6657448188006be47da930cb5 [file] [log] [blame]
Olivier SOLDANOcc28a0d2017-07-21 13:53:31 -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 DELETECONTACTDIALOG_H
20#define DELETECONTACTDIALOG_H
21
22#include <QDialog>
23
24// LRC
25#include "contactmethod.h"
26
27namespace Ui {
28class DeleteContactDialog;
29}
30
31class DeleteContactDialog : public QDialog
32{
33 Q_OBJECT
34
35public:
36 explicit DeleteContactDialog(ContactMethod* cm, Account *ac, QWidget *parent = 0);
37 ~DeleteContactDialog();
38
39private slots:
40 void on_deleteCancelBtn_clicked();
41 void on_deleteAcceptBtn_clicked();
42 void on_deleteBanBtn_clicked();
43
44private:
45 Ui::DeleteContactDialog *ui;
46 ContactMethod* contactMethod_;
47 Account* account_;
48};
49
50#endif // DELETECONTACTDIALOG_H