home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / kaboutkde.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-10-10  |  2.2 KB  |  63 lines

  1. /*
  2.  * This file is part of the KDE Libraries
  3.  * Copyright (C) 2000 Espen Sand (espen@kde.org)
  4.  *
  5.  * This library is free software; you can redistribute it and/or
  6.  * modify it under the terms of the GNU Library General Public
  7.  * License as published by the Free Software Foundation; either
  8.  * version 2 of the License, or (at your option) any later version.
  9.  *
  10.  * This library is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.  * Library General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU Library General Public License
  16.  * along with this library; see the file COPYING.LIB.  If not, write to
  17.  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  18.  * Boston, MA 02110-1301, USA.
  19.  *
  20.  */
  21.  
  22. #ifndef _KABOUT_KDE_H_
  23. #define _KABOUT_KDE_H_
  24.  
  25. #include <kaboutdialog.h>
  26.  
  27. /**
  28.  * @short Standard "About KDE" dialog box,
  29.  *
  30.  * This class provides the standard "About KDE" dialog box that is used
  31.  * KHelpMenu Normally you should not use this class directly but
  32.  * rather the KHelpMenu class or even better just subclass your
  33.  * toplevel window from KMainWindow. If you do the latter, the help
  34.  * menu and thereby this dialog box is available through the
  35.  * KMainWindow::helpMenu() function.
  36.  *
  37.  * @author Espen Sand (espen@kde.org)
  38.  */
  39.  
  40. class KDEUI_EXPORT KAboutKDE : public KAboutDialog
  41. {
  42.   public:
  43.     /**
  44.      * Constructor. Creates a fully featured "About KDE" dialog box.
  45.      * Note that this dialog is made modeless in the KHelpMenu class so
  46.      * the users may expect a modeless dialog.
  47.      *
  48.      * @param parent The parent of the dialog box. You should use the
  49.      *        toplevel window so that the dialog becomes centered.
  50.      * @param name Internal name of the widget. This name in not used in the
  51.      *        caption.
  52.      * @param modal If false, this widget will be modeless and must be
  53.      *        made visible using QWidget::show(). Otherwise it will be
  54.      *        modal and must be made visible using QWidget::exec()
  55.      */
  56.     KAboutKDE( QWidget *parent=0, const char *name=0, bool modal=true );
  57. };
  58.  
  59.  
  60. #endif
  61.  
  62.  
  63.