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

krfb

  • sources
  • kde-4.12
  • kdenetwork
  • krfb
  • krfb
tubesrfbserver.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009-2011 Collabora Ltd. <info@collabora.co.uk>
3  @author George Goldberg <george.goldberg@collabora.co.uk>
4  @author George Kiagiadakis <george.kiagiadakis@collabora.co.uk>
5 
6  This program is free software; you can redistribute it and/or
7  modify it under the terms of the GNU General Public
8  License as published by the Free Software Foundation; either
9  version 2 of the License, or (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19 #ifndef TUBESRFBSERVER_H
20 #define TUBESRFBSERVER_H
21 
22 #include "rfbserver.h"
23 #include <QtNetwork/QHostAddress>
24 #include <TelepathyQt/Types>
25 
26 class TubesRfbServer : public RfbServer
27 {
28  Q_OBJECT
29 public:
30  static void init();
31 
32  virtual ~TubesRfbServer();
33 
34 protected:
35  TubesRfbServer(QObject *parent = 0);
36 
37  virtual PendingRfbClient* newClient(rfbClientPtr client);
38 
39 private Q_SLOTS:
40  void startAndCheck();
41 
42  void onTubeRequested();
43  void onTubeClosed();
44 
45  void onNewTcpConnection(
46  const QHostAddress &sourceAddress,
47  quint16 sourcePort,
48  const Tp::AccountPtr &account,
49  const Tp::ContactPtr &contact,
50  const Tp::OutgoingStreamTubeChannelPtr &tube);
51 
52  void onTcpConnectionClosed(
53  const QHostAddress &sourceAddress,
54  quint16 sourcePort,
55  const Tp::AccountPtr &account,
56  const Tp::ContactPtr &contact,
57  const QString &error,
58  const QString &message,
59  const Tp::OutgoingStreamTubeChannelPtr &tube);
60 
61 private:
62  struct Private;
63  Private *const d;
64 };
65 
66 #endif // TUBESRFBSERVER_H
RfbServer
Definition: rfbserver.h:27
rfbserver.h
QObject
_rfbClientRec
Definition: libvncserver/rfb/rfb.h:417
TubesRfbServer::newClient
virtual PendingRfbClient * newClient(rfbClientPtr client)
Definition: tubesrfbserver.cpp:182
TubesRfbServer::~TubesRfbServer
virtual ~TubesRfbServer()
Definition: tubesrfbserver.cpp:108
TubesRfbServer::init
static void init()
Definition: tubesrfbserver.cpp:43
PendingRfbClient
Definition: pendingrfbclient.h:24
TubesRfbServer::TubesRfbServer
TubesRfbServer(QObject *parent=0)
Definition: tubesrfbserver.cpp:49
TubesRfbServer
Definition: tubesrfbserver.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

krfb

Skip menu "krfb"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal