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

Public Types

enum  Type {
  Root , Folder , Bookmark , Separator ,
  RootFolder
}
 

Public Member Functions

void add (BookmarkNode *const child, int offset=-1)
 
 BookmarkNode (Type type=Root, BookmarkNode *const parent=nullptr)
 
QList< BookmarkNode * > children () const
 
bool operator== (const BookmarkNode &other) const
 
BookmarkNodeparent () const
 
void remove (BookmarkNode *const child)
 
void setType (Type type)
 
Type type () const
 
 ~BookmarkNode () override
 

Public Attributes

QDateTime dateAdded
 
QString desc
 
bool expanded
 
QString title
 
QString url
 

Member Enumeration Documentation

◆ Type

Enumerator
Root 
Folder 
Bookmark 
Separator 
RootFolder 

Constructor & Destructor Documentation

◆ BookmarkNode()

Digikam::BookmarkNode::BookmarkNode ( BookmarkNode::Type  type = Root,
BookmarkNode *const  parent = nullptr 
)
explicit

References add(), expanded, parent(), and type().

◆ ~BookmarkNode()

Digikam::BookmarkNode::~BookmarkNode ( )
override

Member Function Documentation

◆ add()

void Digikam::BookmarkNode::add ( BookmarkNode *const  child,
int  offset = -1 
)

◆ children()

◆ operator==()

bool Digikam::BookmarkNode::operator== ( const BookmarkNode other) const

References dateAdded, desc, expanded, title, and url.

◆ parent()

◆ remove()

void Digikam::BookmarkNode::remove ( BookmarkNode *const  child)

◆ setType()

void Digikam::BookmarkNode::setType ( Type  type)

◆ type()

Member Data Documentation

◆ dateAdded

QDateTime Digikam::BookmarkNode::dateAdded

◆ desc

QString Digikam::BookmarkNode::desc

◆ expanded

bool Digikam::BookmarkNode::expanded

Referenced by BookmarkNode(), and operator==().

◆ title

◆ url

QString Digikam::BookmarkNode::url

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