marble
#include <GeoDataItemIcon.h>
Public Types | |
enum | ItemIconState { Open = 1 << 0, Closed = 1 << 1, Error = 1 << 2, Fetching0 = 1 << 3, Fetching1 = 1 << 4, Fetching2 = 1 << 5 } |
Public Member Functions | |
GeoDataItemIcon () | |
GeoDataItemIcon (const GeoDataItemIcon &other) | |
~GeoDataItemIcon () | |
QImage | icon () const |
QString | iconPath () const |
virtual const char * | nodeType () const |
bool | operator!= (const GeoDataItemIcon &other) const |
GeoDataItemIcon & | operator= (const GeoDataItemIcon &other) |
bool | operator== (const GeoDataItemIcon &other) const |
void | setIcon (const QImage &icon) |
void | setIconPath (const QString &path) |
void | setState (const ItemIconStates &state) |
ItemIconStates | state () const |
Public Member Functions inherited from Marble::GeoDataObject | |
GeoDataObject () | |
GeoDataObject (const GeoDataObject &) | |
virtual | ~GeoDataObject () |
QString | id () const |
GeoDataObject & | operator= (const GeoDataObject &) |
virtual void | pack (QDataStream &stream) const |
virtual GeoDataObject * | parent () const |
QString | resolvePath (const QString &relativePath) const |
void | setId (const QString &value) |
virtual void | setParent (GeoDataObject *parent) |
void | setTargetId (const QString &value) |
QString | targetId () const |
virtual void | unpack (QDataStream &steam) |
Public Member Functions inherited from Marble::GeoNode | |
GeoNode () | |
virtual | ~GeoNode () |
Public Member Functions inherited from Marble::Serializable | |
virtual | ~Serializable () |
Additional Inherited Members | |
Protected Member Functions inherited from Marble::GeoDataObject | |
virtual bool | equals (const GeoDataObject &other) const |
Detailed Description
Definition at line 24 of file GeoDataItemIcon.h.
Member Enumeration Documentation
Enumerator | |
---|---|
Open | |
Closed | |
Error | |
Fetching0 | |
Fetching1 | |
Fetching2 |
Definition at line 41 of file GeoDataItemIcon.h.
Constructor & Destructor Documentation
Marble::GeoDataItemIcon::GeoDataItemIcon | ( | ) |
Definition at line 34 of file GeoDataItemIcon.cpp.
Marble::GeoDataItemIcon::GeoDataItemIcon | ( | const GeoDataItemIcon & | other | ) |
Definition at line 39 of file GeoDataItemIcon.cpp.
Marble::GeoDataItemIcon::~GeoDataItemIcon | ( | ) |
Definition at line 64 of file GeoDataItemIcon.cpp.
Member Function Documentation
QImage Marble::GeoDataItemIcon::icon | ( | ) | const |
Definition at line 99 of file GeoDataItemIcon.cpp.
QString Marble::GeoDataItemIcon::iconPath | ( | ) | const |
Definition at line 89 of file GeoDataItemIcon.cpp.
|
virtual |
Provides type information for downcasting a GeoNode.
Implements Marble::GeoDataObject.
Definition at line 69 of file GeoDataItemIcon.cpp.
bool Marble::GeoDataItemIcon::operator!= | ( | const GeoDataItemIcon & | other | ) | const |
Definition at line 59 of file GeoDataItemIcon.cpp.
GeoDataItemIcon & Marble::GeoDataItemIcon::operator= | ( | const GeoDataItemIcon & | other | ) |
Definition at line 44 of file GeoDataItemIcon.cpp.
bool Marble::GeoDataItemIcon::operator== | ( | const GeoDataItemIcon & | other | ) | const |
Definition at line 51 of file GeoDataItemIcon.cpp.
void Marble::GeoDataItemIcon::setIcon | ( | const QImage & | icon | ) |
Definition at line 84 of file GeoDataItemIcon.cpp.
void Marble::GeoDataItemIcon::setIconPath | ( | const QString & | path | ) |
Definition at line 94 of file GeoDataItemIcon.cpp.
void Marble::GeoDataItemIcon::setState | ( | const ItemIconStates & | state | ) |
Definition at line 79 of file GeoDataItemIcon.cpp.
GeoDataItemIcon::ItemIconStates Marble::GeoDataItemIcon::state | ( | ) | const |
Definition at line 74 of file GeoDataItemIcon.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.