• 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
framebuffer.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2007 Alessandro Praduroux <pradu@pradu.it>
3 
4  This program is free software; you can redistribute it and/or
5  modify it under the terms of the GNU General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 */
9 
10 #ifndef FRAMEBUFFER_H
11 #define FRAMEBUFFER_H
12 
13 #include "rfb.h"
14 
15 #include <kdemacros.h>
16 
17 #include <QtCore/QObject>
18 #include <QtCore/QRect>
19 #include <QtCore/QList>
20 
21 #include <QtGui/QWidget>
22 
23 class FrameBuffer;
27 class KDE_EXPORT FrameBuffer : public QObject
28 {
29  Q_OBJECT
30 public:
31  explicit FrameBuffer(WId id, QObject *parent = 0);
32 
33  virtual ~FrameBuffer();
34 
35  char *data();
36 
37  virtual QList<QRect> modifiedTiles();
38  virtual int paddedWidth();
39  virtual int width();
40  virtual int height();
41  virtual int depth();
42  virtual void startMonitor();
43  virtual void stopMonitor();
44 
45  virtual void getServerFormat(rfbPixelFormat &format);
46 
47 protected:
48  WId win;
49  char *fb;
50  QList<QRect> tiles;
51 
52 private:
53  Q_DISABLE_COPY(FrameBuffer)
54 
55 };
56 
57 #endif
FrameBuffer
Definition: framebuffer.h:27
rfbPixelFormat
Definition: rfbproto.h:148
QObject
QList< QRect >
FrameBuffer::tiles
QList< QRect > tiles
Definition: framebuffer.h:50
rfb.h
FrameBuffer::win
WId win
Definition: framebuffer.h:48
FrameBuffer::fb
char * fb
Definition: framebuffer.h:49
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