2 Copyright (c) 2000,2001 Matthias Elter <elter@kde.org>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License along
15 with this program; if not, write to the Free Software Foundation, Inc.,
16 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 #ifndef __aboutwidget_h__
20 #define __aboutwidget_h__
23 #include <Qt3Support/Q3CheckListItem>
33 class AboutWidget
: public KHBox
38 explicit AboutWidget(QWidget
*parent
, Q3ListViewItem
* category
=0, const QString
&caption
=QString());
41 * Set a new category without creating a new AboutWidget if there is
42 * one visible already (reduces flicker)
44 void setCategory( Q3ListViewItem
* category
, const QString
& caption
);
47 void moduleSelected(ConfigModule
*);
50 void slotModuleLinkClicked( const KUrl
& );
54 * Update the pixmap to be shown. Called from resizeEvent and from
60 Q3ListViewItem
* _category
;
63 QMap
<QString
,ConfigModule
*> _moduleMap
;