kutils Library API Documentation

kcmoduleproxy.h

00001 /* This file is part of the KDE project 00002 Copyright (C) 2003 Matthias Kretz <kretz@kde.org> 00003 00004 This library is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU Library General Public 00006 License version 2 as published by the Free Software Foundation. 00007 00008 This library is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 Library General Public License for more details. 00012 00013 You should have received a copy of the GNU Library General Public License 00014 along with this library; see the file COPYING.LIB. If not, write to 00015 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00016 Boston, MA 02111-1307, USA. 00017 00018 */ 00019 00020 #ifndef KCMODULEPROXY_H 00021 #define KCMODULEPROXY_H 00022 00023 #include <qwidget.h> 00024 #include <qstringlist.h> 00025 00026 class KCModuleInfo; 00027 class KAboutData; 00028 class KInstance; 00029 class KCModule; 00030 00031 class KCModuleProxy : public QWidget 00032 { 00033 Q_OBJECT 00034 public: 00035 KCModuleProxy( const KCModuleInfo & info, bool withfallback = false, 00036 QWidget * parent = 0, const char * name = 0, 00037 const QStringList & args = QStringList() ); 00038 ~KCModuleProxy(); 00039 void load(); 00040 void save(); 00041 void defaults(); 00042 QString quickHelp() const; 00043 const KAboutData * aboutData() const; 00044 int buttons() const; 00045 QString rootOnlyMsg() const; 00046 bool useRootOnlyMsg() const; 00047 KInstance * instance() const; 00048 bool changed() const; 00049 KCModule * realModule() const; 00050 00051 signals: 00052 void changed( bool ); 00053 00054 protected: 00055 void showEvent( QShowEvent * ); 00056 00057 private slots: 00058 void moduleChanged( bool ); 00059 void moduleDestroyed(); 00060 00061 private: 00062 class KCModuleProxyPrivate; 00063 KCModuleProxyPrivate * d; 00064 }; 00065 00066 // vim: sw=4 ts=4 noet 00067 #endif // KCMODULEPROXY_H
KDE Logo
This file is part of the documentation for kutils Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 12 15:09:15 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003