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

marble

  • kde-4.x
  • kdeedu
  • marble
  • src
  • lib
  • marble
PluginAboutDialog.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2009 Bastian Holst <[email protected]>
9 //
10 
11 #ifndef MARBLE_PLUGINABOUTDIALOG_H
12 #define MARBLE_PLUGINABOUTDIALOG_H
13 
14 #include <QDialog>
15 #include <QList>
16 
17 // Marble
18 #include "marble_export.h"
19 #include "PluginInterface.h"
20 
21 namespace Marble
22 {
23 
24 class PluginAboutDialogPrivate;
25 
26 class MARBLE_EXPORT PluginAboutDialog : public QDialog
27 {
28  Q_OBJECT
29 
30  public:
31  enum LicenseKey {
32 // License_Unknown = 0,
33 // License_GPL = 1,
34 // License_GPL_V2 = 1,
35 // License_LGPL = 2,
36  License_LGPL_V2 = 2
37 // License_BSD = 3,
38 // License_Artistic = 4,
39 // License_QPL = 5,
40 // License_QPL_V1_0 = 5,
41 // License_GPL_V3 = 6,
42 // License_LGPL_V3 = 7
43  };
44 
45  explicit PluginAboutDialog( QWidget *parent = nullptr );
46  ~PluginAboutDialog() override;
47 
51  void setName( const QString& name );
52 
56  void setVersion( const QString& version );
57 
61  void setIcon( const QIcon& icon );
62 
66  void setAboutText( const QString& about );
67 
72  void setAuthors(const QVector<PluginAuthor>& authors);
73 
78  void setAuthorsText( const QString& authors );
79 
84  void setDataText( const QString& data );
85 
89  void setLicense( PluginAboutDialog::LicenseKey license );
90 
98  void setLicenseAgreementText( const QString& license );
99 
100  private:
101  Q_DISABLE_COPY( PluginAboutDialog )
102 
103  PluginAboutDialogPrivate * const d;
104 };
105 
106 } // namespace Marble
107 
108 #endif
PluginInterface.h
QWidget
QString
Marble::PluginAboutDialog
Definition: PluginAboutDialog.h:26
QVector
Marble::PluginAboutDialog::LicenseKey
LicenseKey
Definition: PluginAboutDialog.h:31
QDialog
QIcon
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sat Dec 14 2019 01:10:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  •   KmPlot
  • libkeduvocdocument
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   src
  •   stepcore

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