#include <KUrl>
#include <panels/panel.h>
+class KStandardItem;
class KItemListController;
+class PlacesItemEditDialog;
class PlacesItemModel;
/**
signals:
void placeActivated(const KUrl& url);
void placeMiddleClicked(const KUrl& url);
+ void errorMessage(const QString& error);
protected:
virtual bool urlChanged();
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;