From ab464bc6849dd000b2d0258ececb78ef1eb1a685 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 26 Jan 2008 22:32:24 +0000 Subject: reset the selection manager when the URL has been changed (otherwise the selection toggle button would stay visible) svn path=/trunk/KDE/kdebase/apps/; revision=766918 --- src/selectionmanager.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/selectionmanager.h') diff --git a/src/selectionmanager.h b/src/selectionmanager.h index 1bf4f8b8c..82e505eb6 100644 --- a/src/selectionmanager.h +++ b/src/selectionmanager.h @@ -43,6 +43,13 @@ public: SelectionManager(QAbstractItemView* parent); virtual ~SelectionManager(); +public slots: + /** + * Resets the selection manager so that the toggle button gets + * invisible. + */ + void reset(); + signals: /** Is emitted if the selection has been changed by the toggle button. */ void selectionChanged(); @@ -50,7 +57,6 @@ signals: private slots: void slotEntered(const QModelIndex& index); void slotViewportEntered(); - void slotSelectionChanged(); void setItemSelected(bool selected); private: -- cgit v1.3