2 Copyright (c) 2014 Sandro Knauß <knauss@kolabsys.com>
4 This library is free software; you can redistribute it and/or modify it
5 under the terms of the GNU Library General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or (at your
7 option) any later version.
9 This library is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12 License for more details.
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to the
16 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 #ifndef SETUPAUTOCONFIGKOLABLDAPDB_H
21 #define SETUPAUTOCONFIGKOLABLDAPDB_H
23 #include "setupobject.h"
25 class AutoconfigKolabLdap
;
27 class SetupAutoconfigKolabLdap
: public SetupObject
32 explicit SetupAutoconfigKolabLdap(QObject
*parent
= Q_NULLPTR
);
33 ~SetupAutoconfigKolabLdap();
35 void create() Q_DECL_OVERRIDE
;
36 void destroy() Q_DECL_OVERRIDE
;
39 Q_SCRIPTABLE
void fillLdapServer(int i
, QObject
*) const;
40 Q_SCRIPTABLE
int countLdapServers() const;
42 Q_SCRIPTABLE
void start();
44 Q_SCRIPTABLE
void setEmail(const QString
&);
45 Q_SCRIPTABLE
void setPassword(const QString
&);
48 void ispdbFinished(bool);
51 void onIspdbFinished(bool);
54 AutoconfigKolabLdap
*mIspdb
;