diff options
Diffstat (limited to 'src/panels/places/placespanel.h')
| -rw-r--r-- | src/panels/places/placespanel.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/panels/places/placespanel.h b/src/panels/places/placespanel.h index c9ea7ba04..0b86ced1a 100644 --- a/src/panels/places/placespanel.h +++ b/src/panels/places/placespanel.h @@ -26,7 +26,9 @@ #include <KUrl> #include <panels/panel.h> +class KStandardItem; class KItemListController; +class PlacesItemEditDialog; class PlacesItemModel; /** @@ -61,6 +63,18 @@ private: void addEntry(); void editEntry(int index); + /** + * Selects the item that has the closest URL for the URL set + * for the panel (see Panel::setUrl()). + */ + void selectClosestItem(); + + /** + * @return New instance of a KStandardItem containing the properties that have + * been set in the places-dialog. + */ + KStandardItem* createStandardItemFromDialog(PlacesItemEditDialog* dialog) const; + private: KItemListController* m_controller; PlacesItemModel* m_model; |
