digiKam
Digikam::BookmarksManager Class Reference
+ Inheritance diagram for Digikam::BookmarksManager:

Public Slots

void exportBookmarks ()
 
void importBookmarks ()
 

Signals

void entryAdded (BookmarkNode *item)
 
void entryChanged (BookmarkNode *item)
 
void entryRemoved (BookmarkNode *parent, int row, BookmarkNode *item)
 

Public Member Functions

void addBookmark (BookmarkNode *const parent, BookmarkNode *const node, int row=-1)
 
BookmarkNodebookmarks ()
 
 BookmarksManager (const QString &bookmarksFile, QObject *const parent=nullptr)
 
BookmarksModelbookmarksModel ()
 
void changeExpanded ()
 
void load ()
 
void removeBookmark (BookmarkNode *const node)
 
void save ()
 
void setComment (BookmarkNode *const node, const QString &newDesc)
 
void setTitle (BookmarkNode *const node, const QString &newTitle)
 
void setUrl (BookmarkNode *const node, const QString &newUrl)
 
QUndoStack * undoRedoStack () const
 
 ~BookmarksManager () override
 

Friends

class ChangeBookmarkCommand
 
class RemoveBookmarksCommand
 

Detailed Description

Bookmark manager, owner of the bookmarks, loads, saves and basic tasks

Constructor & Destructor Documentation

◆ BookmarksManager()

Digikam::BookmarksManager::BookmarksManager ( const QString &  bookmarksFile,
QObject *const  parent = nullptr 
)
explicit

References load().

◆ ~BookmarksManager()

Digikam::BookmarksManager::~BookmarksManager ( )
override

Member Function Documentation

◆ addBookmark()

void Digikam::BookmarksManager::addBookmark ( BookmarkNode *const  parent,
BookmarkNode *const  node,
int  row = -1 
)

Referenced by importBookmarks().

◆ bookmarks()

BookmarkNode * Digikam::BookmarksManager::bookmarks ( )

References load().

Referenced by importBookmarks().

◆ bookmarksModel()

BookmarksModel * Digikam::BookmarksManager::bookmarksModel ( )

◆ changeExpanded()

void Digikam::BookmarksManager::changeExpanded ( )

◆ entryAdded

void Digikam::BookmarksManager::entryAdded ( BookmarkNode item)
signal

◆ entryChanged

void Digikam::BookmarksManager::entryChanged ( BookmarkNode item)
signal

◆ entryRemoved

void Digikam::BookmarksManager::entryRemoved ( BookmarkNode parent,
int  row,
BookmarkNode item 
)
signal

◆ exportBookmarks

void Digikam::BookmarksManager::exportBookmarks ( )
slot

◆ importBookmarks

◆ load()

void Digikam::BookmarksManager::load ( )

◆ removeBookmark()

void Digikam::BookmarksManager::removeBookmark ( BookmarkNode *const  node)

◆ save()

void Digikam::BookmarksManager::save ( )

◆ setComment()

void Digikam::BookmarksManager::setComment ( BookmarkNode *const  node,
const QString &  newDesc 
)

◆ setTitle()

void Digikam::BookmarksManager::setTitle ( BookmarkNode *const  node,
const QString &  newTitle 
)

◆ setUrl()

void Digikam::BookmarksManager::setUrl ( BookmarkNode *const  node,
const QString &  newUrl 
)

◆ undoRedoStack()

QUndoStack * Digikam::BookmarksManager::undoRedoStack ( ) const

Friends And Related Function Documentation

◆ ChangeBookmarkCommand

friend class ChangeBookmarkCommand
friend

Referenced by setComment(), setTitle(), and setUrl().

◆ RemoveBookmarksCommand

friend class RemoveBookmarksCommand
friend

Referenced by removeBookmark().


The documentation for this class was generated from the following files: