• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/protocols/messenger/libpapillon

httpconnection.h

Go to the documentation of this file.
00001 /*
00002    httpconnection.h - HTTP connection over SSL
00003 
00004    Copyright (c) 2007 by Michaƫl Larouche <larouche@kde.org>
00005 
00006    *************************************************************************
00007    *                                                                       *
00008    * This library is free software; you can redistribute it and/or         *
00009    * modify it under the terms of the GNU Lesser General Public            *
00010    * License as published by the Free Software Foundation; either          *
00011    * version 2 of the License, or (at your option) any later version.      *
00012    *                                                                       *
00013    *************************************************************************
00014  */
00015 #ifndef HTTPCONNECTION_H
00016 #define HTTPCONNECTION_H
00017 
00018 #include <QtCore/QObject>
00019 #include <Papillon/Macros>
00020 
00021 namespace Papillon
00022 {
00023 
00024 class HttpTransfer;
00030 class PAPILLON_EXPORT HttpConnection : public QObject
00031 {
00032     Q_OBJECT
00033 public:
00038     HttpConnection(QObject *parent = 0);
00042     ~HttpConnection();
00043 
00050     void setCookie(const QString &cookie);
00051     
00056     QString cookie() const;
00057 
00058 public slots:
00063     void connectToServer(const QString &server);
00067     void disconnectFromServer();
00068 
00077     virtual HttpTransfer *read();
00078 
00086     virtual void write(HttpTransfer *transfer);
00087 
00088 signals:
00089     void connected();
00090     void disconnected();
00094     void readyRead();
00095 
00096 private slots:
00097     void streamReadyRead();
00098 
00099     void protocolOutgoingData(const QByteArray &data);
00100     void protocolIncomingData();
00101 
00102 private:
00103     class Private;
00104     Private *d;
00105 };
00106 
00107 }
00108 
00109 #endif

kopete/protocols/messenger/libpapillon

Skip menu "kopete/protocols/messenger/libpapillon"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal