updateDecorationSize(dolphinView->showPreview());
updateBackground();
-
+
DolphinViewController* dolphinViewController = m_container->m_dolphinViewController;
m_extensionsFactory = new ViewExtensionsFactory(this, dolphinViewController, viewModeController);
m_extensionsFactory->fileItemDelegate()->setMinimizedNameColumn(true);
m_dirLister = 0; // deleted by m_dolphinModel
}
+
void DolphinColumnView::setActive(bool active)
{
if (m_active != active) {
}
}
+bool DolphinColumnView::isActive() const
+{
+ return m_active;
+}
+
+void DolphinColumnView::setChildUrl(const KUrl& url)
+{
+ m_childUrl = url;
+}
+
+KUrl DolphinColumnView::childUrl() const
+{
+ return m_childUrl;
+}
+
+void DolphinColumnView::setUrl(const KUrl& url)
+{
+ m_url = url;
+}
+
+KUrl DolphinColumnView::url() const
+{
+ return m_url;
+}
+
void DolphinColumnView::updateBackground()
{
// TODO: The alpha-value 150 is copied from DolphinView::setActive(). When
}
void DolphinColumnView::keyPressEvent(QKeyEvent* event)
-{
+{
DolphinTreeView::keyPressEvent(event);
DolphinViewController* controller = m_container->m_dolphinViewController;
selectionModel()->setCurrentIndex(current, QItemSelectionModel::NoUpdate);
connect(selectionModel(), SIGNAL(selectionChanged(QItemSelection, QItemSelection)),
this, SLOT(requestActivation()));
-
+
updateBackground();
}