kontact
kcmkontactsummary.h
Go to the documentation of this file.00001 /* 00002 This file is part of KDE Kontact. 00003 00004 Copyright (c) 2004 Tobias Koenig <tokoe@kde.org> 00005 Copyright (c) 2008 Allen Winter <winter@kde.org> 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation; either version 2 of the License, or 00010 (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 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License along 00018 with this program; if not, write to the Free Software Foundation, Inc., 00019 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00020 00021 As a special exception, permission is given to link this program 00022 with any edition of Qt, and distribute the resulting executable, 00023 without including the source code for Qt in the source distribution. 00024 */ 00025 00026 #ifndef KCMKONTACTSUMMARY_H 00027 #define KCMKONTACTSUMMARY_H 00028 00029 #include <kcmodule.h> 00030 #include <QTreeWidget> 00031 00032 class KPluginInfo; 00033 00034 class PluginView : public QTreeWidget 00035 { 00036 Q_OBJECT 00037 00038 public: 00039 PluginView( QWidget *parent ); 00040 ~PluginView(); 00041 }; 00042 00043 class KCMKontactSummary : public KCModule 00044 { 00045 Q_OBJECT 00046 00047 public: 00048 explicit KCMKontactSummary( const KComponentData &inst, QWidget *parent = 0 ); 00049 00050 void load(); 00051 void save(); 00052 00053 private: 00054 PluginView *mPluginView; 00055 }; 00056 00057 #endif
KDE 4.2 API Reference