diff options
| author | Peter Penz <[email protected]> | 2008-05-07 20:02:37 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-05-07 20:02:37 +0000 |
| commit | d4287eb8e36ead543eb595bfcaa217fa0edd2654 (patch) | |
| tree | 63e8c87ed42e060b86df27d06c69f0f1f5c5ca2c /src/dolphinview.cpp | |
| parent | 9f60cbdb63d19b8698fea36c71b340bcf6c0930b (diff) | |
allow Konqueror to open also files inside a new tab, not only directories
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=805184
Diffstat (limited to 'src/dolphinview.cpp')
| -rw-r--r-- | src/dolphinview.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 5dd81426f..5a0f00bee 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -70,6 +70,7 @@ DolphinView::DolphinView(QWidget* parent, m_showPreview(false), m_loadingDirectory(false), m_storedCategorizedSorting(false), + m_tabsForFiles(false), m_isContextMenuOpen(false), m_mode(DolphinView::IconsView), m_topLayout(0), @@ -913,6 +914,16 @@ QPair<bool, QString> DolphinView::pasteInfo() const return ret; } +void DolphinView::setTabsForFilesEnabled(bool tabsForFiles) +{ + m_tabsForFiles = tabsForFiles; +} + +bool DolphinView::isTabsForFilesEnabled() const +{ + return m_tabsForFiles; +} + void DolphinView::emitContentsMoved() { // only emit the contents moved signal if: |
