1
/* This file is part of the KDE project
2
Copyright (C) 2009 Kevin Ottens <ervin@kde.org>
3
Copyright (C) 2006-2008 Omat Holding B.V. <info@omat.nl>
5
This program is free software; you can redistribute it and/or
6
modify it under the terms of the GNU General Public
7
License as published by the Free Software Foundation; either
8
version 2 of the License, or (at your option) any later version.
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 GNU
13
General Public License for more details.
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the Free Software
17
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23
#include <klineedit.h>
35
class SetupServerView;
38
namespace MailTransport
45
* These contain the account settings
46
* @author Tom Albers <tomalbers@kde.nl>
48
class SetupServer : public KDialog
55
* @param parent Parent WId
57
SetupServer( WId parent );
64
bool shouldClearCache() const;
68
* Call this if you want the settings saved from this page.
75
Ui::SetupServerView *m_ui;
76
MailTransport::ServerTest *m_serverTest;
77
bool m_subscriptionEnabled;
78
bool m_subscriptionsChanged;
79
bool m_shouldClearCache;
83
void slotFinished( QList<int> testResult );
84
void slotTestChanged();
86
void slotSafetyChanged();
87
void slotManageSubscriptions();