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.h | |
| 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.h')
| -rw-r--r-- | src/dolphinview.h | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h index 1fcdaa087..9af9aab8d 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -316,6 +316,15 @@ public: */ QPair<bool, QString> pasteInfo() const; + /** + * If \a tabsForFiles is true, the signal tabRequested() will also + * emitted also for files. Per default tabs for files is disabled + * and hence the signal tabRequested() will only be emitted for + * directories. + */ + void setTabsForFilesEnabled(bool tabsForFiles); + bool isTabsForFilesEnabled() const; + public slots: /** * Changes the directory to \a url. If the current directory is equal to @@ -641,11 +650,13 @@ private: } private: - bool m_active; - bool m_showPreview; - bool m_loadingDirectory; - bool m_storedCategorizedSorting; - bool m_isContextMenuOpen; // TODO: workaround for Qt-issue xxxxxx + bool m_active : 1; + bool m_showPreview : 1; + bool m_loadingDirectory : 1; + bool m_storedCategorizedSorting : 1; + bool m_tabsForFiles : 1; + bool m_isContextMenuOpen : 1; // TODO: workaround for Qt-issue xxxxxx + Mode m_mode; DolphinMainWindow* m_mainWindow; |
