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

marble

  • Marble
  • RenderPluginModel
Public Types | Public Slots | Public Member Functions | List of all members
Marble::RenderPluginModel Class Reference

#include <RenderPluginModel.h>

Inherits QStandardItemModel.

Public Types

enum  ItemDataRole {
  Name = Qt::DisplayRole, Icon = Qt::DecorationRole, Description = Qt::ToolTipRole, NameId = Qt::UserRole + 2,
  ConfigurationDialogAvailable, BackendTypes, Version, AboutDataText,
  CopyrightYears
}
 

Public Slots

void applyPluginState ()
 
void retrievePluginState ()
 

Public Member Functions

 RenderPluginModel (QObject *parent=0)
 
 ~RenderPluginModel ()
 
QList< PluginAuthor > pluginAuthors (const QModelIndex &index) const
 
DialogConfigurationInterface * pluginDialogConfigurationInterface (const QModelIndex &index)
 
void setRenderPlugins (const QList< RenderPlugin * > &renderPlugins)
 

Detailed Description

Provides common access to various kinds of plugins without having to know about their details.

Definition at line 30 of file RenderPluginModel.h.

Member Enumeration Documentation

enum Marble::RenderPluginModel::ItemDataRole

This enum contains the data roles for the QStandardItems.

Enumerator
Name 
Icon 
Description 
NameId 
ConfigurationDialogAvailable 
BackendTypes 
Version 
AboutDataText 
CopyrightYears 

Definition at line 38 of file RenderPluginModel.h.

Constructor & Destructor Documentation

Marble::RenderPluginModel::RenderPluginModel ( QObject *  parent = 0)
explicit

Definition at line 38 of file RenderPluginModel.cpp.

Marble::RenderPluginModel::~RenderPluginModel ( )

Definition at line 44 of file RenderPluginModel.cpp.

Member Function Documentation

void Marble::RenderPluginModel::applyPluginState ( )
slot

Apply the plugin state from the user interface.

Definition at line 100 of file RenderPluginModel.cpp.

QList< PluginAuthor > Marble::RenderPluginModel::pluginAuthors ( const QModelIndex &  index) const

Definition at line 70 of file RenderPluginModel.cpp.

DialogConfigurationInterface * Marble::RenderPluginModel::pluginDialogConfigurationInterface ( const QModelIndex &  index)

Definition at line 81 of file RenderPluginModel.cpp.

void Marble::RenderPluginModel::retrievePluginState ( )
slot

Retrieve the current plugin state for the user interface.

Definition at line 93 of file RenderPluginModel.cpp.

void Marble::RenderPluginModel::setRenderPlugins ( const QList< RenderPlugin * > &  renderPlugins)

Set the RenderPlugins the model should manage.

The given plugins must not be deleted as long as the model has a hold on them, i.e. until the model is deleted or a different set of plugins is assigned.

Parameters
renderPluginsthe RenderPlugins to be managed

Definition at line 54 of file RenderPluginModel.cpp.


The documentation for this class was generated from the following files:
  • RenderPluginModel.h
  • RenderPluginModel.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:57 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