SVN_SILENT made messages (.desktop file)
[kdeartwork.git] / kwin-styles / riscos / CloseButton.h
blob6bc170fea9b1f3d24508883407383a2fb07c693e
1 /*
2 RISC OS KWin client
4 Copyright 2000
5 Rik Hemsley <rik@kde.org>
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA.
23 #ifndef RISC_OS_CLOSE_BUTTON_H
24 #define RISC_OS_CLOSE_BUTTON_H
26 #include "Button.h"
27 //Added by qt3to4:
28 #include <QMouseEvent>
30 namespace RiscOS
33 class CloseButton : public Button
35 Q_OBJECT
37 public:
39 CloseButton(QWidget *parent);
41 signals:
43 void closeWindow();
45 protected:
47 void mouseReleaseEvent(QMouseEvent *);
50 } // End namespace;
52 #endif
54 // vim:ts=2:sw=2:tw=78