* of the shown directory, it does not trigger a loading of the model.
*/
void setChildUrl(const KUrl& url);
- const KUrl& childUrl() const;
+ KUrl childUrl() const;
/** Sets the directory URL that is shown inside the column widget. */
void setUrl(const KUrl& url);
/** Returns the directory URL that is shown inside the column widget. */
- const KUrl& url() const;
+ KUrl url() const;
/**
* Updates the background color dependent from the activation state
*/
KFileItem itemAt(const QPoint& pos) const;
+ virtual void setSelectionModel(QItemSelectionModel* model);
+
protected:
virtual QStyleOptionViewItem viewOptions() const;
virtual void startDrag(Qt::DropActions supportedActions);
virtual void contextMenuEvent(QContextMenuEvent* event);
virtual void wheelEvent(QWheelEvent* event);
virtual void leaveEvent(QEvent* event);
- virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected);
virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous);
private slots:
- void setNameFilter(const QString& nameFilter);
void setZoomLevel(int level);
void slotEntered(const QModelIndex& index);
m_childUrl = url;
}
-inline const KUrl& DolphinColumnView::childUrl() const
+inline KUrl DolphinColumnView::childUrl() const
{
return m_childUrl;
}
}
}
-inline const KUrl& DolphinColumnView::url() const
+inline KUrl DolphinColumnView::url() const
{
return m_url;
}