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

marble

Public Slots | Public Member Functions | Properties | List of all members
MarbleDeclarativeObject Class Reference

#include <MarbleDeclarativeObject.h>

Inheritance diagram for MarbleDeclarativeObject:
Inheritance graph
[legend]

Public Slots

bool canExecute (const QString &program) const
 
QString resolvePath (const QString &path) const
 

Public Member Functions

 MarbleDeclarativeObject (QObject *parent=0)
 
 ~MarbleDeclarativeObject ()
 
QString version () const
 

Properties

QString version
 

Detailed Description

Provides access to global Marble related properties and methods to QML (intended to be registered as a global QML object)

Definition at line 22 of file MarbleDeclarativeObject.h.

Constructor & Destructor Documentation

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

Definition at line 24 of file MarbleDeclarativeObject.cpp.

MarbleDeclarativeObject::~MarbleDeclarativeObject ( )

Definition at line 31 of file MarbleDeclarativeObject.cpp.

Member Function Documentation

bool MarbleDeclarativeObject::canExecute ( const QString &  program) const
slot

canExecute Check whether a given program is found in the path

Parameters
programThe name of the program
Returns
Returns true iff the given program is found in one of directories defined by the PATH environment variable (as reported by QProcessEnvironment) and has the executable bit set

Definition at line 46 of file MarbleDeclarativeObject.cpp.

QString MarbleDeclarativeObject::resolvePath ( const QString &  path) const
slot

resolvePath Resolves files in the marble data path

Parameters
pathRelative path to a file installed in Marble's data path
Returns
The absolute path to the given file, or an empty string if the relative path cannot be resolved
See also
#MarbleDirs

Definition at line 41 of file MarbleDeclarativeObject.cpp.

QString MarbleDeclarativeObject::version ( ) const

Returns the Marble library version.

Property Documentation

QString MarbleDeclarativeObject::version
read

Definition at line 26 of file MarbleDeclarativeObject.h.


The documentation for this class was generated from the following files:
  • MarbleDeclarativeObject.h
  • MarbleDeclarativeObject.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