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

KDEUI

  • 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
29class KAboutData;
30
48class 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
101Q_DECLARE_OPERATORS_FOR_FLAGS( KAboutApplicationDialog::Options )
102
103#endif
KAboutApplicationDialog
Standard "About Application" dialog box.
Definition: kaboutapplicationdialog.h:49
KAboutApplicationDialog::Option
Option
Defines some options which can be applied to the about dialog.
Definition: kaboutapplicationdialog.h:59
KAboutData
KDialog
A dialog base class with standard buttons and predefined layouts.
Definition: kdialog.h:129
QWidget
kdialog.h
Option
Option
NoOptions
NoOptions
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 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
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