1 /* This file is part of the KDE project
2 Copyright (C) 2007 Alessandro Praduroux <pradu@pradu.it>
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.
9 #ifndef X11FRAMEBUFFER_H
10 #define X11FRAMEBUFFER_H
12 #include <framebuffer.h>
17 class EvWidget
: public QWidget
{
21 EvWidget(X11FrameBuffer
*x11fb
);
24 bool x11Event ( XEvent
* event
);
32 @author Alessandro Praduroux <pradu@pradu.it>
34 class X11FrameBuffer
: public FrameBuffer
38 X11FrameBuffer(WId id
, QObject
* parent
);
42 virtual QList
<QRect
> modifiedTiles();
46 virtual int paddedWidth();
47 virtual void getServerFormat(rfbPixelFormat
& format
);
48 virtual void startMonitor();
49 virtual void stopMonitor();
52 void handleXDamage( XEvent
*event
);