┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/selectionmanager.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-01-26 22:32:24 +0000
committerPeter Penz <[email protected]>2008-01-26 22:32:24 +0000
commitab464bc6849dd000b2d0258ececb78ef1eb1a685 (patch)
tree7d04c168e7ac04a44c3349cbd453fa7d637e596c /src/selectionmanager.h
parentf6c7b90edf05a52fba6e2a06caa0247e909b43e8 (diff)
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
Diffstat (limited to 'src/selectionmanager.h')
-rw-r--r--src/selectionmanager.h8
1 files changed, 7 insertions, 1 deletions
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: