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

marble

  • sources
  • kde-4.12
  • 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 <bastianholst@gmx.de>
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 = 0 );
46  virtual ~PluginAboutDialog();
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 
71  void setAuthors( const QList<PluginAuthor>& authors );
72 
77  void setAuthorsText( const QString& authors );
78 
83  void setDataText( const QString& data );
84 
88  void setLicense( PluginAboutDialog::LicenseKey license );
89 
97  void setLicenseAgreementText( const QString& license );
98 
99  private:
100  Q_DISABLE_COPY( PluginAboutDialog )
101 
102  PluginAboutDialogPrivate * const d;
103 };
104 
105 } // namespace Marble
106 
107 #endif
PluginInterface.h
QDialog
QWidget
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::PluginAboutDialog
Definition: PluginAboutDialog.h:26
marble_export.h
Marble::PluginAboutDialog::LicenseKey
LicenseKey
Definition: PluginAboutDialog.h:31
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:52 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   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