2
Copyright (c) 2007 Brad Hards <bradh@frogmouth.net>
4
Significant amounts of this code adapted from the openchange client utility,
5
which is Copyright (C) Julien Kerihuel 2007 <j.kerihuel@openchange.org>.
7
This program is free software; you can redistribute it and/or modify it
8
under the terms of the GNU General Public License as published by
9
the Free Software Foundation; either version 2 of the License, or (at your
10
option) any later version.
12
This program is distributed in the hope that it will be useful, but WITHOUT
13
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
15
License for more details.
17
You should have received a copy of the GNU General Public License
18
along with this program; if not, write to the Free Software
19
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23
#ifndef PROFILEDIALOG_H
24
#define PROFIDEDIALOG_H
27
#include <QListWidget>
28
#include <QPushButton>
32
class ProfileDialog : public QDialog
37
explicit ProfileDialog( OCResource *resource, QWidget *parent = 0 );
41
void deleteSelectedProfile();
42
void editExistingProfile();
43
void setAsDefaultProfile();
46
void fillProfileList();
47
QString selectedProfileName();
49
OCResource *m_resource;
50
QListWidget *m_listOfProfiles;
52
QPushButton *m_setAsDefaultButton;
53
QPushButton *m_editButton;
54
QPushButton *m_removeButton;