2 kopeteinfodialog.h - A dialog to display and configure information
4 Copyright (c) 2007 by Gustavo Pichorim Boiko <gustavo.boiko@kdemail.net>
6 Kopete (c) 2002-2007 by the Kopete developers <kopete-devel@kde.org>
8 *************************************************************************
10 * This library is free software; you can redistribute it and/or *
11 * modify it under the terms of the GNU Lesser General Public *
12 * License as published by the Free Software Foundation; either *
13 * version 2 of the License, or (at your option) any later version. *
15 *************************************************************************
18 #ifndef KOPETEINFODIALOG_H
19 #define KOPETEINFODIALOG_H
21 #include <KDE/KDialog>
22 #include "kopete_export.h"
31 * \brief a dialog for displaying and configuring information
33 * @author Gustavo Pichorim Boiko <gustavo.boiko AT kdemail.net>
35 class KOPETE_EXPORT InfoDialog
: public KDialog
43 * @param parent the parent of this widget
44 * @param title the title to be shown in the dialog
45 * @param icon the name of the icon to be used
47 InfoDialog(QWidget
*parent
,
48 const QString
&title
= QString(), const QString
&icon
= QString());
52 * @param parent the parent of this widget
53 * @param title the title to be shown in the dialog
54 * @param icon the icon to be used
56 InfoDialog(QWidget
*parent
,
57 const QString
&title
, const KIcon
&icon
);
64 void setTitle(const QString
&title
);
65 void setIcon(const QString
&icon
);
66 void setIcon(const KIcon
&icon
);
68 void addWidget(QWidget
*w
, const QString
&caption
);
72 * This should be reimplemented in derived dialogs to enable saving info
74 virtual void slotSave();
87 // vim: set noet ts=4 sts=4 sw=4: