#ifndef DOLPHIN_MAINWINDOW_H
#define DOLPHIN_MAINWINDOW_H
-#include <config-nepomuk.h>
+#include <config-baloo.h>
#include <KFileItemDelegate>
#include <kio/fileundomanager.h>
#include <ksortablelist.h>
#include <kxmlguiwindow.h>
#include <KActionMenu>
-#include <KIcon>
#include <QList>
#include <QWeakPointer>
class QSplitter;
class QToolButton;
class QVBoxLayout;
+class QIcon;
/**
* @short Main window for Dolphin.
*/
void slotPanelErrorMessage(const QString& error);
+ /**
+ * Is called if the user clicked an item in the Places Panel.
+ * Reloads the view if \a url is the current URL already, and changes the
+ * current URL otherwise.
+ */
+ void slotPlaceActivated(const KUrl& url);
+
private:
/**
* Activates the given view, which means that
* as the action for toggling the dock visibility is done by Qt which
* is no KAction instance.
*/
- void createPanelAction(const KIcon& icon,
+ void createPanelAction(const QIcon &icon,
const QKeySequence& shortcut,
QAction* dockAction,
const QString& actionName);