marble
#include <MarbleDeclarativeObject.h>
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
|
explicit |
Definition at line 24 of file MarbleDeclarativeObject.cpp.
MarbleDeclarativeObject::~MarbleDeclarativeObject | ( | ) |
Definition at line 31 of file MarbleDeclarativeObject.cpp.
Member Function Documentation
|
slot |
canExecute Check whether a given program is found in the path
- Parameters
-
program The 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.
|
slot |
resolvePath Resolves files in the marble data path
- Parameters
-
path Relative 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
|
read |
Definition at line 26 of file MarbleDeclarativeObject.h.
The documentation for this class was generated from the following files:
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.