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 );
 
   46     QString toolTip() const;
 
   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 );
 
   74     virtual 
void setSettings( const QHash<QString, QVariant>& settings );
 
   79     virtual QAction *action();
 
   84     virtual QString itemType() const = 0;
 
   86     virtual 
bool initialized() const = 0;
 
   88     virtual 
void addDownloadedFile( const QString& url, const QString& type );
 
   90     virtual 
bool operator<( const AbstractDataPluginItem *other ) const = 0;
 
   92     virtual QList<QAction*> actions();
 
   97     void favoriteChanged( const QString& 
id, 
bool favorite );
 
  101    void toggleFavorite();
 
  104     AbstractDataPluginItemPrivate * const d;
 
Base class for all 2D labels (a.k.a. 
 
  
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:48 by
doxygen 1.8.7 written
by 
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.