changes for formeego, do not use
[googlelatitude] / libkqoauth / kqoauthauthreplyserver_p.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 // Note this class shouldn't be copied or used and the implementation might change later.
21 #ifndef KQOAUTHAUTHREPLYSERVER_P_H
22 #define KQOAUTHAUTHREPLYSERVER_P_H
23
24 #include "kqoauthauthreplyserver.h"
25 #include <QMultiMap>
26 #include <QString>
27
28 class KQOAUTH_EXPORT KQOAuthAuthReplyServerPrivate: public QObject
29 {
30     Q_OBJECT
31 public:
32     KQOAuthAuthReplyServerPrivate( KQOAuthAuthReplyServer * parent );
33     ~KQOAuthAuthReplyServerPrivate();
34     QMultiMap<QString, QString> parseQueryParams(QByteArray *sdata);
35
36 public Q_SLOTS:
37     void onIncomingConnection();
38     void onBytesReady();
39
40 public:
41     KQOAuthAuthReplyServer * q_ptr;
42     Q_DECLARE_PUBLIC(KQOAuthAuthReplyServer);
43     QTcpSocket *socket;
44
45 };
46
47 #endif // KQOAUTHAUTHREPLYSERVER_P_H