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

krfb

x11framebuffer.h

Go to the documentation of this file.
00001 /* This file is part of the KDE project
00002    Copyright (C) 2007 Alessandro Praduroux <pradu@pradu.it>
00003 
00004    This program is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU General Public
00006    License as published by the Free Software Foundation; either
00007    version 2 of the License, or (at your option) any later version.
00008 */
00009 #ifndef X11FRAMEBUFFER_H
00010 #define X11FRAMEBUFFER_H
00011 
00012 #include <framebuffer.h>
00013 #include <QWidget>
00014 
00015 class X11FrameBuffer;
00016 
00017 class EvWidget: public QWidget {
00018     Q_OBJECT
00019 
00020 public:
00021     EvWidget(X11FrameBuffer *x11fb);
00022 
00023 protected:
00024     bool x11Event ( XEvent * event );
00025 
00026 private:
00027     X11FrameBuffer *fb;
00028     int xdamageBaseEvent;
00029 };
00030 
00034 class X11FrameBuffer : public FrameBuffer
00035 {
00036 Q_OBJECT
00037 public:
00038     X11FrameBuffer(WId id, QObject* parent);
00039 
00040     ~X11FrameBuffer();
00041 
00042     virtual QList<QRect> modifiedTiles();
00043     virtual int depth();
00044     virtual int height();
00045     virtual int width();
00046     virtual int paddedWidth();
00047     virtual void getServerFormat(rfbPixelFormat& format);
00048     virtual void startMonitor();
00049     virtual void stopMonitor();
00050 
00051 
00052     void handleXDamage( XEvent *event);
00053 private:
00054     void cleanupRects();
00055     void acquireEvents();
00056 
00057     class P;
00058     P * const d;
00059 };
00060 
00061 #endif

krfb

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

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal