KFilePlacesItem Class Reference
#include <kfileplacesitem_p.h>
Inheritance diagram for KFilePlacesItem:

Signals | |
| void | itemChanged (const QString &id) |
Public Member Functions | |
| KFilePlacesItem (KBookmarkManager *manager, const QString &address, const QString &udi=QString()) | |
| ~KFilePlacesItem () | |
| KBookmark | bookmark () const |
| QVariant | data (int role) const |
| Solid::Device | device () const |
| QString | id () const |
| bool | isDevice () const |
| void | setBookmark (const KBookmark &bookmark) |
Static Public Member Functions | |
| static KBookmark | createBookmark (KBookmarkManager *manager, const QString &label, const KUrl &url, const QString &iconName, KFilePlacesItem *after=0) |
| static KBookmark | createDeviceBookmark (KBookmarkManager *manager, const QString &udi) |
| static KBookmark | createSystemBookmark (KBookmarkManager *manager, const QString &untranslatedLabel, const QString &translatedLabel, const KUrl &url, const QString &iconName) |
Detailed Description
Definition at line 38 of file kfileplacesitem_p.h.
Constructor & Destructor Documentation
| KFilePlacesItem::KFilePlacesItem | ( | KBookmarkManager * | manager, |
| const QString & | address, | ||
| const QString & | udi = QString() |
||
| ) |
Definition at line 36 of file kfileplacesitem.cpp.
| KFilePlacesItem::~KFilePlacesItem | ( | ) |
Definition at line 66 of file kfileplacesitem.cpp.
Member Function Documentation
| KBookmark KFilePlacesItem::bookmark | ( | ) | const |
Definition at line 84 of file kfileplacesitem.cpp.
| KBookmark KFilePlacesItem::createBookmark | ( | KBookmarkManager * | manager, |
| const QString & | label, | ||
| const KUrl & | url, | ||
| const QString & | iconName, | ||
| KFilePlacesItem * | after = 0 |
||
| ) | [static] |
Definition at line 225 of file kfileplacesitem.cpp.
| KBookmark KFilePlacesItem::createDeviceBookmark | ( | KBookmarkManager * | manager, |
| const QString & | udi | ||
| ) | [static] |
Definition at line 268 of file kfileplacesitem.cpp.
| KBookmark KFilePlacesItem::createSystemBookmark | ( | KBookmarkManager * | manager, |
| const QString & | untranslatedLabel, | ||
| const QString & | translatedLabel, | ||
| const KUrl & | url, | ||
| const QString & | iconName | ||
| ) | [static] |
Definition at line 252 of file kfileplacesitem.cpp.
| QVariant KFilePlacesItem::data | ( | int | role | ) | const |
Definition at line 122 of file kfileplacesitem.cpp.
| Solid::Device KFilePlacesItem::device | ( | ) | const |
Definition at line 105 of file kfileplacesitem.cpp.
| QString KFilePlacesItem::id | ( | ) | const |
Definition at line 70 of file kfileplacesitem.cpp.
| bool KFilePlacesItem::isDevice | ( | ) | const |
Definition at line 79 of file kfileplacesitem.cpp.
| void KFilePlacesItem::itemChanged | ( | const QString & | id | ) | [signal] |
| void KFilePlacesItem::setBookmark | ( | const KBookmark & | bookmark | ) |
Definition at line 89 of file kfileplacesitem.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference