• 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
framebuffermanager.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2009 Collabora Ltd <info@collabora.co.uk>
3  @author George Goldberg <george.goldberg@collabora.co.uk>
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program; see the file COPYING. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef KRFB_FRAMEBUFFERMANAGER_H
22 #define KRFB_FRAMEBUFFERMANAGER_H
23 
24 #include "framebuffer.h"
25 
26 #include <kdemacros.h>
27 
28 #include <QtCore/QMap>
29 #include <QtCore/QObject>
30 #include <QtCore/QSharedPointer>
31 #include <QtCore/QWeakPointer>
32 
33 #include <QtGui/QWidget>
34 
35 class FrameBufferPlugin;
36 class KPluginFactory;
37 
38 class KDE_EXPORT FrameBufferManager : public QObject
39 {
40  Q_OBJECT
41  friend class FrameBufferManagerStatic;
42 
43 public:
44  static FrameBufferManager *instance();
45 
46  virtual ~FrameBufferManager();
47 
48  QSharedPointer<FrameBuffer> frameBuffer(WId id);
49 
50 private:
51  Q_DISABLE_COPY(FrameBufferManager)
52 
53  FrameBufferManager();
54 
55  void loadPlugins();
56 
57  QMap<QString, FrameBufferPlugin *> m_plugins;
58  QMap<WId, QWeakPointer<FrameBuffer> > m_frameBuffers;
59 };
60 
61 
62 #endif // Header guard
63 
framebuffer.h
FrameBuffer
Definition: framebuffer.h:27
FrameBufferPlugin
Definition: framebufferplugin.h:32
QMap
QSharedPointer< FrameBuffer >
QObject
FrameBufferManager
Definition: framebuffermanager.h:38
QString
QWeakPointer
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