Back to index

kdeartwork  4.3.2
AboveButton.h
Go to the documentation of this file.
00001 /*
00002   RISC OS KWin client
00003 
00004   Copyright 2004
00005    Carsten Clever <clushkou@gmx.net>
00006 
00007   This program is free software; you can redistribute it and/or
00008   modify it under the terms of the GNU General Public
00009   License as published by the Free Software Foundation; either
00010   version 2 of the License, or (at your option) any later version.
00011 
00012   This program is distributed in the hope that it will be useful,
00013   but WITHOUT ANY WARRANTY; without even the implied warranty of
00014   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015   General Public License for more details.
00016 
00017   You should have received a copy of the GNU General Public License
00018   along with this program; see the file COPYING.  If not, write to
00019   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00020   Boston, MA 02110-1301, USA.
00021 */
00022 
00023 #ifndef RISC_OS_ABOVE_BUTTON_H
00024 #define RISC_OS_ABOVE_BUTTON_H
00025 
00026 #include "Button.h"
00027 //Added by qt3to4:
00028 #include <QMouseEvent>
00029 
00030 namespace RiscOS
00031 {
00032 
00033 class AboveButton : public Button
00034 {
00035    Q_OBJECT
00036 
00037    public:
00038 
00039       AboveButton(QWidget *parent);
00040 
00041    signals:
00042 
00043       void above();
00044 
00045    protected:
00046 
00047       void mouseReleaseEvent(QMouseEvent*);
00048 };
00049 
00050 } // End namespace
00051 
00052 #endif