Remove unused slot
[kdepim.git] / accountwizard / setupautoconfigkolabldap.h
blob3ea3bf5d0e5235e689e5997a00ddb6eb68f643f7
1 /*
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
17 02110-1301, USA.
20 #ifndef SETUPAUTOCONFIGKOLABLDAPDB_H
21 #define SETUPAUTOCONFIGKOLABLDAPDB_H
23 #include "setupobject.h"
25 class AutoconfigKolabLdap;
27 class SetupAutoconfigKolabLdap : public SetupObject
29 Q_OBJECT
30 public:
31 /** Constructor */
32 explicit SetupAutoconfigKolabLdap(QObject *parent = Q_NULLPTR);
33 ~SetupAutoconfigKolabLdap();
35 void create() Q_DECL_OVERRIDE;
36 void destroy() Q_DECL_OVERRIDE;
38 public Q_SLOTS:
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 &);
47 Q_SIGNALS:
48 void ispdbFinished(bool);
50 private Q_SLOTS:
51 void onIspdbFinished(bool);
53 private :
54 AutoconfigKolabLdap *mIspdb;
58 #endif