#include <UrlItem.h>
Public Types | |
enum | Type { Scheme, Host, Path } |
Public Member Functions | |
UrlItem * | addChild (size_t row, Type type, const QModelIndex &index) |
UrlItem * | getChild (size_t row) const |
const QModelIndex & | getIndex () const |
QModelIndex | getIndex (Type type) const |
size_t | getNumChildren () const |
UrlItem * | getParent () const |
int | getRow () const |
UrlScheme * | getScheme () const |
Type | getType () const |
void | setIndex (const QModelIndex &index) |
void | setScheme (UrlScheme *scheme) |
void | setType (Type type) |
UrlItem (UrlScheme *scheme=0, Type type=Scheme, const QModelIndex &index=QModelIndex(), UrlItem *parent=0) | |
~UrlItem () | |
Private Attributes | |
QMap< size_t, UrlItem * > | children_ |
QModelIndex | index_ |
UrlItem * | parent_ |
UrlScheme * | scheme_ |
Type | type_ |
rqt_multiplot::UrlItem::UrlItem | ( | UrlScheme * | scheme = 0 , |
Type | type = Scheme , |
||
const QModelIndex & | index = QModelIndex() , |
||
UrlItem * | parent = 0 |
||
) |
Definition at line 27 of file UrlItem.cpp.
Definition at line 35 of file UrlItem.cpp.
UrlItem * rqt_multiplot::UrlItem::addChild | ( | size_t | row, |
Type | type, | ||
const QModelIndex & | index | ||
) |
Definition at line 115 of file UrlItem.cpp.
UrlItem * rqt_multiplot::UrlItem::getChild | ( | size_t | row | ) | const |
Definition at line 53 of file UrlItem.cpp.
const QModelIndex & rqt_multiplot::UrlItem::getIndex | ( | ) | const |
Definition at line 94 of file UrlItem.cpp.
QModelIndex rqt_multiplot::UrlItem::getIndex | ( | Type | type | ) | const |
Definition at line 98 of file UrlItem.cpp.
size_t rqt_multiplot::UrlItem::getNumChildren | ( | ) | const |
Definition at line 49 of file UrlItem.cpp.
UrlItem * rqt_multiplot::UrlItem::getParent | ( | ) | const |
Definition at line 45 of file UrlItem.cpp.
int rqt_multiplot::UrlItem::getRow | ( | ) | const |
Definition at line 62 of file UrlItem.cpp.
UrlScheme * rqt_multiplot::UrlItem::getScheme | ( | ) | const |
Definition at line 78 of file UrlItem.cpp.
UrlItem::Type rqt_multiplot::UrlItem::getType | ( | ) | const |
Definition at line 86 of file UrlItem.cpp.
void rqt_multiplot::UrlItem::setIndex | ( | const QModelIndex & | index | ) |
Definition at line 90 of file UrlItem.cpp.
void rqt_multiplot::UrlItem::setScheme | ( | UrlScheme * | scheme | ) |
Definition at line 74 of file UrlItem.cpp.
void rqt_multiplot::UrlItem::setType | ( | Type | type | ) |
Definition at line 82 of file UrlItem.cpp.
QMap<size_t, UrlItem*> rqt_multiplot::UrlItem::children_ [private] |
QModelIndex rqt_multiplot::UrlItem::index_ [private] |
UrlItem* rqt_multiplot::UrlItem::parent_ [private] |
UrlScheme* rqt_multiplot::UrlItem::scheme_ [private] |
Type rqt_multiplot::UrlItem::type_ [private] |