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.
10 #ifndef QTFRAMEBUFFER_H
11 #define QTFRAMEBUFFER_H
14 #include "framebuffer.h"
18 @author Alessandro Praduroux <pradu@pradu.it>
20 class QtFrameBuffer
: public FrameBuffer
24 explicit QtFrameBuffer(WId id
, QObject
*parent
= 0);
31 virtual int paddedWidth();
32 virtual void getServerFormat(rfbPixelFormat
& format
);
33 virtual void startMonitor();
34 virtual void stopMonitor();
37 void updateFrameBuffer();