File indexing completed on 2024-04-21 08:48:28
0001 /* 0002 This file is part of the KDE project 0003 0004 Copyright (C) 2010 Collabora Ltd. 0005 @author George Kiagiadakis <george.kiagiadakis@collabora.co.uk> 0006 Copyright (C) 2007 Alessandro Praduroux <pradu@pradu.it> 0007 Copyright (C) 2001-2003 by Tim Jansen <tim@tjansen.de> 0008 0009 This program is free software; you can redistribute it and/or 0010 modify it under the terms of the GNU General Public 0011 License as published by the Free Software Foundation; either 0012 version 2 of the License, or (at your option) any later version. 0013 0014 This program is distributed in the hope that it will be useful, 0015 but WITHOUT ANY WARRANTY; without even the implied warranty of 0016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0017 General Public License for more details. 0018 0019 You should have received a copy of the GNU General Public License 0020 along with this program; see the file COPYING. If not, write to 0021 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0022 Boston, MA 02110-1301, USA. 0023 */ 0024 0025 #include "events.h" 0026 0027 EventHandler::EventHandler(QObject *parent) 0028 : QObject(parent) 0029 { 0030 } 0031 0032 void EventHandler::setFrameBufferPlugin(const QSharedPointer<FrameBuffer> &frameBuffer) 0033 { 0034 fb = frameBuffer; 0035 } 0036 0037 QSharedPointer<FrameBuffer> EventHandler::frameBuffer() 0038 { 0039 return fb; 0040 }