742de2ae9eccd8cb7e5da5a12a56840b9dc97917
[googlelatitude] / libkqoauth / kqoauthauthreplyserver.h
1 /**
2  * KQOAuth - An OAuth authentication library for Qt.
3  *
4  * Author: Johan Paul (johan.paul@d-pointer.com)
5  *         http://www.d-pointer.com
6  *
7  *  KQOAuth is free software: you can redistribute it and/or modify
8  *  it under the terms of the GNU Lesser General Public License as published by
9  *  the Free Software Foundation, either version 3 of the License, or
10  *  (at your option) any later version.
11  *
12  *  KQOAuth is distributed in the hope that it will be useful,
13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  *  GNU Lesser General Public License for more details.
16  *
17  *  You should have received a copy of the GNU Lesser General Public License
18  *  along with KQOAuth.  If not, see <http://www.gnu.org/licenses/>.
19  */
20 #ifndef KQOAUTHAUTHREPLYSERVER_H
21 #define KQOAUTHAUTHREPLYSERVER_H
22
23 #include <QTcpServer>
24
25 #include "kqoauthglobals.h"
26
27 class KQOAuthAuthReplyServerPrivate;
28 class KQOAUTH_EXPORT KQOAuthAuthReplyServer : public QTcpServer
29 {
30     Q_OBJECT
31 public:
32     explicit KQOAuthAuthReplyServer(QObject *parent);
33     ~KQOAuthAuthReplyServer();
34
35 Q_SIGNALS:
36     void verificationReceived(QMultiMap<QString, QString>);
37
38
39 private:
40     KQOAuthAuthReplyServerPrivate * const d_ptr;
41     Q_DECLARE_PRIVATE(KQOAuthAuthReplyServer);
42     Q_DISABLE_COPY(KQOAuthAuthReplyServer);
43
44
45 };
46
47 #endif // KQOAUTHAUTHREPLYSERVER_H