• 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
  • framebuffers
  • qt
qtframebuffer.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 KRFB_FRAMEBUFFER_QT_QTFRAMEBUFFER_H
11 #define KRFB_FRAMEBUFFER_QT_QTFRAMEBUFFER_H
12 
13 #include <QImage>
14 #include "framebuffer.h"
15 
16 class QTimer;
20 class QtFrameBuffer : public FrameBuffer
21 {
22  Q_OBJECT
23 public:
24  explicit QtFrameBuffer(WId id, QObject *parent = 0);
25 
26  ~QtFrameBuffer();
27 
28  virtual int depth();
29  virtual int height();
30  virtual int width();
31  virtual int paddedWidth();
32  virtual void getServerFormat(rfbPixelFormat &format);
33  virtual void startMonitor();
34  virtual void stopMonitor();
35 
36 public Q_SLOTS:
37  void updateFrameBuffer();
38 
39 private:
40  QImage fbImage;
41  QTimer *t;
42 };
43 
44 #endif
QtFrameBuffer::paddedWidth
virtual int paddedWidth()
Definition: qtframebuffer.cpp:102
framebuffer.h
QtFrameBuffer::QtFrameBuffer
QtFrameBuffer(WId id, QObject *parent=0)
Definition: qtframebuffer.cpp:21
FrameBuffer
Definition: framebuffer.h:27
QtFrameBuffer::height
virtual int height()
Definition: qtframebuffer.cpp:42
QtFrameBuffer::depth
virtual int depth()
Definition: qtframebuffer.cpp:37
QtFrameBuffer::~QtFrameBuffer
~QtFrameBuffer()
Definition: qtframebuffer.cpp:31
rfbPixelFormat
Definition: rfbproto.h:148
QTimer
QtFrameBuffer::stopMonitor
virtual void stopMonitor()
Definition: qtframebuffer.cpp:112
QObject
QImage
QtFrameBuffer::updateFrameBuffer
void updateFrameBuffer()
Definition: qtframebuffer.cpp:67
QtFrameBuffer::startMonitor
virtual void startMonitor()
Definition: qtframebuffer.cpp:107
QtFrameBuffer::getServerFormat
virtual void getServerFormat(rfbPixelFormat &format)
Definition: qtframebuffer.cpp:52
QObject::parent
QObject * parent() const
QtFrameBuffer::width
virtual int width()
Definition: qtframebuffer.cpp:47
QtFrameBuffer
Definition: qtframebuffer.h:20
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