┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-01-25 07:58:24 +0000
committerPeter Penz <[email protected]>2010-01-25 07:58:24 +0000
commite5eae108ca4511be9dae5f8bb4a4e1fbb0d89c7a (patch)
tree5bdda6c86079466368486a5e89a5f7105d114461 /src/dolphinview.h
parent0ad9abf7b1621a834d272c55d3989e53b6abf30e (diff)
* Adjust code to use the improved KUrlNavigator API.
* Open a new tab if the URL navigator requests it. * Get rid of a cyclic dependency between DolphinViewContainer and DolphinMainWindow. BUG: 181223 svn path=/trunk/KDE/kdebase/apps/; revision=1079843
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h40
1 files changed, 2 insertions, 38 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index 17f1395ac..6c2f9aaf2 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -209,23 +209,6 @@ public:
QItemSelectionModel* selectionModel() const;
/**
- * Sets the upper left position of the view content
- * to (x,y). The content of the view might be larger than the visible area
- * and hence a scrolling must be done.
- */
- void setContentsPosition(int x, int y);
-
- /**
- * Sets the upper left position of the view content
- * to (x,y) after the directory loading is finished.
- * This is useful when going back or forward in history.
- */
- void setRestoredContentsPosition(const QPoint& pos);
-
- /** Returns the upper left position of the view content. */
- QPoint contentsPosition() const;
-
- /**
* Sets the zoom level to \a level. It is assured that the used
* level is adjusted to be inside the range ZoomLevelInfo::minimumLevel() and
* ZoomLevelInfo::maximumLevel().
@@ -280,16 +263,6 @@ public:
void refresh();
/**
- * Changes the directory of the view to \a url. If \a rootUrl is empty, the view
- * properties from \a url are used for adjusting the view mode and the other properties.
- * If \a rootUrl is not empty, the view properties from the root URL are considered
- * instead. Specifying a root URL is only required if a view having a different root URL
- * (e. g. the column view) should be restored. Usually using DolphinView::setUrl()
- * is enough for changing the current URL.
- */
- void updateView(const KUrl& url, const KUrl& rootUrl);
-
- /**
* Filters the currently shown items by \a nameFilter. All items
* which contain the given filter string will be shown.
*/
@@ -356,12 +329,12 @@ public:
/**
* Restores the view state (current item, contents position, details view expansion state)
*/
- void restoreState(QDataStream &stream);
+ void restoreState(QDataStream& stream);
/**
* Saves the view state (current item, contents position, details view expansion state)
*/
- void saveState(QDataStream &stream);
+ void saveState(QDataStream& stream);
public slots:
/**
@@ -523,9 +496,6 @@ signals:
*/
void requestItemInfo(const KFileItem& item);
- /** Is emitted if the contents has been moved to \a x, \a y. */
- void contentsMoved(int x, int y);
-
/**
* Is emitted whenever the selection has been changed.
*/
@@ -648,12 +618,6 @@ private slots:
void updateAdditionalInfo(const KFileItemDelegate::InformationList& info);
/**
- * Emits the signal contentsMoved with the current coordinates
- * of the viewport as parameters.
- */
- void emitContentsMoved();
-
- /**
* Updates the status bar to show hover information for the
* item \a item. If currently other items are selected,
* no hover information is shown.