diff options
Diffstat (limited to 'src/panels/places/placesitem.h')
| -rw-r--r-- | src/panels/places/placesitem.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/panels/places/placesitem.h b/src/panels/places/placesitem.h index fc6a5f078..81fbe5c60 100644 --- a/src/panels/places/placesitem.h +++ b/src/panels/places/placesitem.h @@ -38,6 +38,14 @@ class PlacesItem : public KStandardItem { public: + enum GroupType + { + PlacesType, + SearchForType, + RecentlyAccessedType, + DevicesType + }; + explicit PlacesItem(const KBookmark& bookmark, PlacesItem* parent = 0); explicit PlacesItem(const PlacesItem& item); virtual ~PlacesItem(); @@ -59,6 +67,8 @@ public: void setBookmark(const KBookmark& bookmark); KBookmark bookmark() const; + GroupType groupType() const; + static KBookmark createBookmark(KBookmarkManager* manager, const QString& text, const KUrl& url, |
