diff options
| author | Peter Penz <[email protected]> | 2008-01-26 22:32:24 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-01-26 22:32:24 +0000 |
| commit | ab464bc6849dd000b2d0258ececb78ef1eb1a685 (patch) | |
| tree | 7d04c168e7ac04a44c3349cbd453fa7d637e596c /src/selectionmanager.h | |
| parent | f6c7b90edf05a52fba6e2a06caa0247e909b43e8 (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.h | 8 |
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: |
