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

marble

Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | Properties | List of all members
MapThemeModel Class Reference

#include <MapThemeModel.h>

Inherits QSortFilterProxyModel.

Public Types

enum  MapThemeFilter {
  AnyTheme = 0x0, Terrestrial = 0x1, Extraterrestrial = 0x2, LowZoom = 0x4,
  HighZoom = 0x8
}
 

Public Slots

void setMapThemeFilter (MapThemeFilters filters)
 

Signals

void countChanged ()
 
void mapThemeFilterChanged ()
 

Public Member Functions

 MapThemeModel (QObject *parent=0)
 
int count () const
 
Q_INVOKABLE int indexOf (const QString &id) const
 
Q_INVOKABLE MapThemeFilters mapThemeFilter () const
 
Q_INVOKABLE QString name (const QString &id) const
 

Protected Member Functions

virtual bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const
 

Properties

int count
 
MapThemeFilters mapThemeFilter
 

Detailed Description

Definition at line 18 of file MapThemeModel.h.

Member Enumeration Documentation

enum MapThemeModel::MapThemeFilter
Enumerator
AnyTheme 
Terrestrial 
Extraterrestrial 
LowZoom 
HighZoom 

Definition at line 25 of file MapThemeModel.h.

Constructor & Destructor Documentation

MapThemeModel::MapThemeModel ( QObject *  parent = 0)
explicit

Definition at line 22 of file MapThemeModel.cpp.

Member Function Documentation

int MapThemeModel::count ( ) const
Todo:
FIXME https://bugreports.qt-project.org/browse/QTCOMPONENTS-1206
void MapThemeModel::countChanged ( )
signal
bool MapThemeModel::filterAcceptsRow ( int  sourceRow,
const QModelIndex &  sourceParent 
) const
protectedvirtual

Definition at line 85 of file MapThemeModel.cpp.

int MapThemeModel::indexOf ( const QString &  id) const

Definition at line 62 of file MapThemeModel.cpp.

Q_INVOKABLE MapThemeFilters MapThemeModel::mapThemeFilter ( ) const
void MapThemeModel::mapThemeFilterChanged ( )
signal
QString MapThemeModel::name ( const QString &  id) const

Definition at line 52 of file MapThemeModel.cpp.

void MapThemeModel::setMapThemeFilter ( MapThemeFilters  filters)
slot

Definition at line 77 of file MapThemeModel.cpp.

Property Documentation

int MapThemeModel::count
read

Definition at line 22 of file MapThemeModel.h.

MapThemeModel::MapThemeFilters MapThemeModel::mapThemeFilter
readwrite

Definition at line 37 of file MapThemeModel.h.


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