![]() |
Falkon Develop
Cross-platform Qt-based web browser
|
#include <historyitem.h>
Public Member Functions | |
HistoryItem (HistoryItem *parent=nullptr) | |
~HistoryItem () | |
void | changeParent (HistoryItem *parent) |
HistoryItem * | parent () const |
HistoryItem * | child (int row) const |
int | childCount () const |
void | prependChild (HistoryItem *child) |
void | appendChild (HistoryItem *child) |
void | insertChild (int row, HistoryItem *child) |
void | removeChild (int row) |
void | removeChild (HistoryItem *child) |
int | row () |
int | indexOfChild (HistoryItem *child) |
bool | isTopLevel () const |
QIcon | icon () const |
void | setIcon (const QIcon &icon) |
void | setStartTimestamp (qint64 start) |
qint64 | startTimestamp () const |
void | setEndTimestamp (qint64 end) |
qint64 | endTimestamp () const |
Public Attributes | |
HistoryEntry | historyEntry |
QString | title |
bool | canFetchMore |
Definition at line 26 of file historyitem.h.
|
explicit |
Definition at line 21 of file historyitem.cpp.
HistoryItem::~HistoryItem | ( | ) |
Definition at line 158 of file historyitem.cpp.
void HistoryItem::appendChild | ( | HistoryItem * | child | ) |
Definition at line 60 of file historyitem.cpp.
void HistoryItem::changeParent | ( | HistoryItem * | parent | ) |
Definition at line 32 of file historyitem.cpp.
HistoryItem * HistoryItem::child | ( | int | row | ) | const |
Definition at line 94 of file historyitem.cpp.
int HistoryItem::childCount | ( | ) | const |
Definition at line 103 of file historyitem.cpp.
qint64 HistoryItem::endTimestamp | ( | ) | const |
Definition at line 153 of file historyitem.cpp.
QIcon HistoryItem::icon | ( | ) | const |
Definition at line 123 of file historyitem.cpp.
int HistoryItem::indexOfChild | ( | HistoryItem * | child | ) |
Definition at line 113 of file historyitem.cpp.
void HistoryItem::insertChild | ( | int | row, |
HistoryItem * | child | ||
) |
Definition at line 70 of file historyitem.cpp.
bool HistoryItem::isTopLevel | ( | ) | const |
Definition at line 118 of file historyitem.cpp.
HistoryItem * HistoryItem::parent | ( | ) | const |
Definition at line 45 of file historyitem.cpp.
void HistoryItem::prependChild | ( | HistoryItem * | child | ) |
Definition at line 50 of file historyitem.cpp.
void HistoryItem::removeChild | ( | HistoryItem * | child | ) |
Definition at line 89 of file historyitem.cpp.
void HistoryItem::removeChild | ( | int | row | ) |
Definition at line 82 of file historyitem.cpp.
int HistoryItem::row | ( | ) |
Definition at line 108 of file historyitem.cpp.
void HistoryItem::setEndTimestamp | ( | qint64 | end | ) |
Definition at line 147 of file historyitem.cpp.
void HistoryItem::setIcon | ( | const QIcon & | icon | ) |
Definition at line 128 of file historyitem.cpp.
void HistoryItem::setStartTimestamp | ( | qint64 | start | ) |
Definition at line 133 of file historyitem.cpp.
qint64 HistoryItem::startTimestamp | ( | ) | const |
Definition at line 138 of file historyitem.cpp.
bool HistoryItem::canFetchMore |
Definition at line 61 of file historyitem.h.
HistoryEntry HistoryItem::historyEntry |
Definition at line 59 of file historyitem.h.
QString HistoryItem::title |
Definition at line 60 of file historyitem.h.