add more spacing
[personal-kdebase.git] / apps / kinfocenter / proxywidget.h
blobdf4c40ba1fbd7275c51f9add46b1dc24ebc30417
1 /*
3 Copyright (c) 1999 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License along
16 with this program; if not, write to the Free Software Foundation, Inc.,
17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef __PROXYWIDGET_H__
21 #define __PROXYWIDGET_H__
23 class QPushButton;
25 class KSeparator;
26 class KCModule;
27 class KAboutData;
29 #include "dockcontainer.h"
31 #include <QPointer>
34 class ProxyWidget : public QWidget {
35 Q_OBJECT
37 public:
39 ProxyWidget(KCModule *client);
40 ~ProxyWidget();
42 QString quickHelp() const;
43 const KAboutData *aboutData() const;
45 bool isChanged() {
46 return _changed;
48 void setChanged(bool changed) {
49 _changed = changed;
53 private:
55 bool _changed;
57 // Just in case the module was deleted from outside (i.e. by unloading the module)
58 QPointer<KCModule> _client;
62 #endif