• 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
  • plugins
  • designer
  • navigator
MarbleNavigatorPlugin.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 2005-2007 Torsten Rahn <tackat@kde.org>
9 // Copyright 2007 Inge Wallin <ingwa@kde.org>
10 //
11 
12 //
13 // This class is responsible for offering plugin capabilities.
14 //
15 
16 #ifndef MARBLENAVIGATORPLUGIN_H
17 #define MARBLENAVIGATORPLUGIN_H
18 
19 #include <marble_export.h>
20 
21 // Workaround: moc on osx is unable to find this file, when prefix with QtDesigner/
22 // moc also doesn't respect Q_OS_* macros, otherwise I could ifdef this.
23 #include <QDesignerCustomWidgetInterface>
24 
25 class MarbleNavigatorPlugin : public QObject, public QDesignerCustomWidgetInterface
26 {
27  Q_OBJECT
28  Q_PLUGIN_METADATA( IID "org.kde.edu.marble.MarbleNavigatorPlugin" )
29  Q_INTERFACES(QDesignerCustomWidgetInterface)
30 
31 public:
32  explicit MarbleNavigatorPlugin(QObject *parent = 0);
33  virtual ~MarbleNavigatorPlugin();
34 
35  bool isContainer() const;
36  bool isInitialized() const;
37  QIcon icon() const;
38  QString domXml() const;
39  QString name() const;
40  QString group() const;
41  QString includeFile() const;
42  QString toolTip() const;
43  QString whatsThis() const;
44  QWidget *createWidget(QWidget *parent);
45 
46  void initialize(QDesignerFormEditorInterface *core);
47 
48 private:
49  bool initialized;
50 };
51 
52 #endif
MarbleNavigatorPlugin::group
QString group() const
Definition: MarbleNavigatorPlugin.cpp:52
QDesignerCustomWidgetInterface
MarbleNavigatorPlugin::~MarbleNavigatorPlugin
virtual ~MarbleNavigatorPlugin()
Definition: MarbleNavigatorPlugin.cpp:24
MarbleNavigatorPlugin
Definition: MarbleNavigatorPlugin.h:25
QWidget
MarbleNavigatorPlugin::isContainer
bool isContainer() const
Definition: MarbleNavigatorPlugin.cpp:72
MarbleNavigatorPlugin::includeFile
QString includeFile() const
Definition: MarbleNavigatorPlugin.cpp:97
QObject
MarbleNavigatorPlugin::isInitialized
bool isInitialized() const
Definition: MarbleNavigatorPlugin.cpp:36
MarbleNavigatorPlugin::icon
QIcon icon() const
Definition: MarbleNavigatorPlugin.cpp:57
MarbleNavigatorPlugin::initialize
void initialize(QDesignerFormEditorInterface *core)
Definition: MarbleNavigatorPlugin.cpp:28
marble_export.h
MarbleNavigatorPlugin::toolTip
QString toolTip() const
Definition: MarbleNavigatorPlugin.cpp:62
MarbleNavigatorPlugin::whatsThis
QString whatsThis() const
Definition: MarbleNavigatorPlugin.cpp:67
MarbleNavigatorPlugin::MarbleNavigatorPlugin
MarbleNavigatorPlugin(QObject *parent=0)
Definition: MarbleNavigatorPlugin.cpp:18
MarbleNavigatorPlugin::createWidget
QWidget * createWidget(QWidget *parent)
Definition: MarbleNavigatorPlugin.cpp:41
MarbleNavigatorPlugin::domXml
QString domXml() const
Definition: MarbleNavigatorPlugin.cpp:77
MarbleNavigatorPlugin::name
QString name() const
Definition: MarbleNavigatorPlugin.cpp:47
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:51 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