kpilot/lib
uiDialog.h
00001 #ifndef _KPILOT_UIDIALOG_H 00002 #define _KPILOT_UIDIALOG_H 00003 /* 00004 ** 00005 ** Copyright (C) 2001 by Dan Pilone 00006 ** Copyright (C) 2004 by Adriaan de Groot 00007 ** 00008 ** This class defines a way to add an "about widget" to a tab widget. 00009 ** 00010 */ 00011 00012 /* 00013 ** This program is free software; you can redistribute it and/or modify 00014 ** it under the terms of the GNU Lesser General Public License as published by 00015 ** the Free Software Foundation; either version 2.1 of the License, or 00016 ** (at your option) any later version. 00017 ** 00018 ** This program is distributed in the hope that it will be useful, 00019 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 ** GNU Lesser General Public License for more details. 00022 ** 00023 ** You should have received a copy of the GNU Lesser General Public License 00024 ** along with this program in a file called COPYING; if not, write to 00025 ** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 00026 ** MA 02110-1301, USA. 00027 */ 00028 00029 /* 00030 ** Bug reports and questions can be sent to kde-pim@kde.org 00031 */ 00032 00033 class QTabWidget; 00034 class QPushButton; 00035 class QWidget; 00036 class KAboutData; 00037 00044 class KDE_EXPORT UIDialog 00045 { 00046 public: 00061 static void addAboutPage(QTabWidget *w, 00062 KAboutData *data=0L, 00063 bool aboutbutton=false); 00064 00077 static QWidget *aboutPage(QWidget *parent, KAboutData *data=0L); 00078 } ; 00079 00080 #endif