marble
BookmarkManager.cpp
  
Go to the documentation of this file.
  118         Q_ASSERT( d->m_bookmarkDocument && "d->m_bookmarkDocument is 0 but must not be. Please report a bug at http://bugs.kde.org" );
  127 void BookmarkManager::addBookmark( GeoDataContainer *container, const GeoDataPlacemark &placemark )
QString m_bookmarkFileRelativePath
Definition: BookmarkManager_p.h:38
int addFeature(GeoDataContainer *parent, GeoDataFeature *feature, int row=-1)
Definition: GeoDataTreeModel.cpp:566
A container for Features, Styles and in the future Schemas. 
Definition: GeoDataDocument.h:64
void renameBookmarkFolder(GeoDataFolder *folder, const QString &name)
Definition: BookmarkManager.cpp:197
bool loadFile(const QString &relativeFilePath)
load bookmark file as GeoDataDocument and return true if loaded successfully else false ...
Definition: BookmarkManager.cpp:87
The representation of GeoData in a model This class represents all available data given by kml-data f...
Definition: GeoDataTreeModel.h:32
void addBookmark(GeoDataContainer *folder, const GeoDataPlacemark &bookmark)
add bookmark in a folder 
Definition: BookmarkManager.cpp:127
void setDocumentRole(DocumentRole role)
Definition: GeoDataDocument.cpp:62
static QString path(const QString &relativePath)
Definition: MarbleDirs.cpp:53
void setVisualCategory(GeoDataVisualCategory category)
Sets the symbol index of the placemark. 
Definition: GeoDataFeature.cpp:680
void updateBookmark(GeoDataPlacemark *bookmark)
Definition: BookmarkManager.cpp:137
bool removeFeature(GeoDataContainer *parent, int index)
Definition: GeoDataTreeModel.cpp:600
bool isVisible() const 
Return whether this feature is visible or not. 
Definition: GeoDataFeature.cpp:581
GeoDataDocument * document() const 
Definition: BookmarkManager.cpp:149
A base class that can hold GeoDataFeatures. 
Definition: GeoDataContainer.h:47
GeoDataDocument * m_bookmarkDocument
Definition: BookmarkManager_p.h:36
Definition: GeoDataDocument.h:44
int addDocument(GeoDataDocument *document)
Definition: GeoDataTreeModel.cpp:595
void bookmarksChanged()
One or more bookmarks were added or removed. 
void setShowBookmarks(bool visible)
Definition: BookmarkManager.cpp:159
Definition: GeoDataParser.h:36
~BookmarkManagerPrivate()
Definition: BookmarkManager.cpp:37
static void setVisualCategory(GeoDataContainer *container)
Definition: BookmarkManager.cpp:60
void removeBookmark(GeoDataPlacemark *bookmark)
Definition: BookmarkManager.cpp:142
void setName(const QString &value)
Set a new name for this feature. 
Definition: GeoDataFeature.cpp:485
void removeAllBookmarks()
remove all folders and bookmarks except default folder 
Definition: BookmarkManager.cpp:209
void removeDocument(int index)
Definition: GeoDataTreeModel.cpp:646
QVector< GeoDataFolder * > folders() const 
return Vector of folders 
Definition: BookmarkManager.cpp:165
QVector< GeoDataFolder * > folderList() const 
A convenience function that returns all folders in this container. 
Definition: GeoDataContainer.cpp:90
Standard Marble way of writing XML This class is intended to be a standardised way of writing XML for...
Definition: GeoWriter.h:28
GeoDataTreeModel *const m_treeModel
Definition: BookmarkManager_p.h:34
void updateFeature(GeoDataFeature *feature)
Definition: GeoDataTreeModel.cpp:638
Definition: GeoDataFolder.h:50
void setDocumentType(const QString &documentType)
Set the current document type. 
Definition: GeoWriter.cpp:79
BookmarkManager(GeoDataTreeModel *treeModel, QObject *parent=0)
Definition: BookmarkManager.cpp:71
BookmarkManagerPrivate(GeoDataTreeModel *treeModel)
Definition: BookmarkManager.cpp:29
void resetBookmarkDocument()
Definition: BookmarkManager.cpp:43
bool write(QIODevice *device, const GeoNode *feature)
The main API call to use the XML writer. 
Definition: GeoWriter.cpp:28
void setZoomLevel(int index)
Sets the popularity index of the placemark. 
Definition: GeoDataFeature.cpp:712
void removeBookmarkFolder(GeoDataFolder *folder)
Definition: BookmarkManager.cpp:203
a class representing a point of interest on the map 
Definition: GeoDataPlacemark.h:54
bool showBookmarks() const 
Definition: BookmarkManager.cpp:154
void addNewBookmarkFolder(GeoDataContainer *folder, const QString &name)
add a folder 
Definition: BookmarkManager.cpp:170
QVector< GeoDataPlacemark * > placemarkList() const 
A convenience function that returns all placemarks in this container. 
Definition: GeoDataContainer.cpp:107
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
            Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference