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

krfb

  • sources
  • kde-4.14
  • kdenetwork
  • krfb
  • krfb
rfbservermanager.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009-2010 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  Copyright (C) 2007 Alessandro Praduroux <pradu@pradu.it>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public
9  License as published by the Free Software Foundation; either
10  version 2 of the License, or (at your option) any later version.
11 
12  This program 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 General Public License for more details.
16 
17  You should have received a copy of the GNU Lesser General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20 #ifndef RFBSERVERMANAGER_H
21 #define RFBSERVERMANAGER_H
22 
23 #include "rfb.h"
24 #include <QtCore/QObject>
25 
26 class RfbClient;
27 class RfbServerManagerStatic;
28 class RfbServer;
29 
30 class RfbServerManager : public QObject
31 {
32  Q_OBJECT
33 public:
34  static RfbServerManager *instance();
35 
36 Q_SIGNALS:
37  void clientConnected(RfbClient *cc);
38  void clientDisconnected(RfbClient *cc);
39 
40 private Q_SLOTS:
41  void init();
42  void updateScreens();
43  void cleanup();
44 
45 private:
46  void registerServer(RfbServer *server);
47  void unregisterServer(RfbServer *server);
48 
49  rfbScreenInfoPtr newScreen();
50 
51  void addClient(RfbClient *cc);
52  void removeClient(RfbClient *cc);
53 
54  RfbServerManager();
55  virtual ~RfbServerManager();
56  Q_DISABLE_COPY(RfbServerManager)
57 
58  friend class RfbServer;
59  friend class RfbServerManagerStatic;
60 
61  struct Private;
62  Private *const d;
63 };
64 
65 #endif // RFBSERVERMANAGER_H
RfbServer
Definition: rfbserver.h:27
RfbServerManager::RfbServerManagerStatic
friend class RfbServerManagerStatic
Definition: rfbservermanager.h:59
RfbServerManager::clientConnected
void clientConnected(RfbClient *cc)
RfbServerManager
Definition: rfbservermanager.h:30
QObject
RfbServerManager::clientDisconnected
void clientDisconnected(RfbClient *cc)
rfb.h
_rfbScreenInfo
Per-screen (framebuffer) structure.
Definition: libvncserver/rfb/rfb.h:226
RfbClient
Definition: krfb/rfbclient.h:26
RfbServerManager::instance
static RfbServerManager * instance()
Definition: rfbservermanager.cpp:87
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:40 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
  • Namespace List
  • 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