Marble::SearchRunnerPlugin
#include <SearchRunnerPlugin.h>
Protected Member Functions | |
void | setCanWorkOffline (bool canWorkOffline) |
void | setSupportedCelestialBodies (const QStringList &celestialBodies) |
Protected Member Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Detailed Description
A plugin for Marble to execute a placemark search.
Definition at line 20 of file SearchRunnerPlugin.h.
Constructor & Destructor Documentation
◆ SearchRunnerPlugin()
Constructor with optional parent object.
Definition at line 31 of file SearchRunnerPlugin.cpp.
◆ ~SearchRunnerPlugin()
|
override |
Destructor.
Definition at line 37 of file SearchRunnerPlugin.cpp.
Member Function Documentation
◆ canWork()
|
virtual |
Returns.
if the plugin is able to perform its claimed task.
The default implementation returns
. This method can be overridden for example to indicate an incomplete installation.
Definition at line 71 of file SearchRunnerPlugin.cpp.
◆ canWorkOffline()
bool Marble::SearchRunnerPlugin::canWorkOffline | ( | ) | const |
True if the plugin can execute its tasks without network access.
Definition at line 66 of file SearchRunnerPlugin.cpp.
◆ guiString()
Returns the string that should appear in the user interface.
For example, "Nominatim" should be returned for the Nominatim search plugin.
◆ icon()
|
overridevirtual |
Returns an icon for the plugin.
Implements Marble::PluginInterface.
Definition at line 42 of file SearchRunnerPlugin.cpp.
◆ newRunner()
|
pure virtual |
Plugin factory method to create a new runner instance.
Method caller gets ownership of the returned object
◆ setCanWorkOffline()
|
protected |
Definition at line 61 of file SearchRunnerPlugin.cpp.
◆ setSupportedCelestialBodies()
|
protected |
Definition at line 56 of file SearchRunnerPlugin.cpp.
◆ supportsCelestialBody()
True if the plugin supports its tasks on the given planet.
Definition at line 47 of file SearchRunnerPlugin.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:18 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.