marble
Go to the documentation of this file.
11 #ifndef MARBLE_ABSTRACTDATAPLUGINITEM_H
12 #define MARBLE_ABSTRACTDATAPLUGINITEM_H
26 class AbstractDataPluginItemPrivate;
32 Q_PROPERTY(
QString identifier READ
id WRITE setId NOTIFY idChanged )
33 Q_PROPERTY(
bool favorite READ isFavorite WRITE setFavorite NOTIFY favoriteChanged )
34 Q_PROPERTY(
bool sticky READ isSticky WRITE setSticky NOTIFY stickyChanged )
41 void setTarget( const
QString& target );
51 void setToolTip( const
QString& toolTip );
54 void setId( const
QString&
id );
56 bool isFavorite() const;
57 virtual
void setFavorite(
bool favorite );
59 bool isSticky() const;
60 void setSticky(
bool sticky );
66 qreal addedAngularResolution() const;
67 void setAddedAngularResolution( qreal resolution );
81 virtual
bool initialized() const = 0;
83 virtual
void addDownloadedFile( const QString& url, const QString& type );
85 virtual
bool operator<( const AbstractDataPluginItem *other ) const = 0;
92 void favoriteChanged( const QString&
id,
bool favorite );
96 void toggleFavorite();
99 AbstractDataPluginItemPrivate * const d;
Base class for all 2D labels (a.k.a.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:38 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.