• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDEUI

  • sources
  • kde-4.14
  • kdelibs
  • kdeui
  • dialogs
kaboutapplicationdialog.h
Go to the documentation of this file.
1 /* This file is part of the KDE libraries
2  Copyright (C) 2007 Urs Wolfer <uwolfer at kde.org>
3 
4  Parts of this class have been take from the KAboutApplication class, which was
5  Copyright (C) 2000 Waldo Bastian (bastian@kde.org) and Espen Sand (espen@kde.org)
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public
9  License version 2 as published by the Free Software Foundation.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  along with this library; see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 */
21 
22 #ifndef KABOUT_APPLICATION_DIALOG_H
23 #define KABOUT_APPLICATION_DIALOG_H
24 
25 #include "kdialog.h"
26 
27 #include <QtCore/QFlags>
28 
29 class KAboutData;
30 
48 class KDEUI_EXPORT KAboutApplicationDialog : public KDialog
49 {
50  Q_OBJECT
51  Q_FLAGS( Options )
52  public:
53 
59  enum Option {
60  NoOptions = 0x0,
61  HideTranslators = 0x1,
62  HideKdeVersion = 0x2
63  };
64  Q_DECLARE_FLAGS( Options, Option )
65 
66 
78  explicit KAboutApplicationDialog(const KAboutData *aboutData, Options opts, QWidget *parent = 0);
79 
88  explicit KAboutApplicationDialog(const KAboutData *aboutData, QWidget *parent = 0);
89 
90  virtual ~KAboutApplicationDialog();
91 
92  private:
93  class Private;
94  Private* const d;
95 
96  Q_PRIVATE_SLOT( d, void _k_showLicense(const QString&) )
97 
98  Q_DISABLE_COPY( KAboutApplicationDialog )
99 };
100 
101 Q_DECLARE_OPERATORS_FOR_FLAGS( KAboutApplicationDialog::Options )
102 
103 #endif
kdialog.h
QWidget
KAboutApplicationDialog
Standard "About Application" dialog box.
Definition: kaboutapplicationdialog.h:48
KDialog
A dialog base class with standard buttons and predefined layouts.
Definition: kdialog.h:128
KAboutApplicationDialog::Option
Option
Defines some options which can be applied to the about dialog.
Definition: kaboutapplicationdialog.h:59
NoOptions
KAboutData
QString
Option
Option
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal