diff options
| author | Peter Penz <[email protected]> | 2009-03-01 12:20:23 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-03-01 12:20:23 +0000 |
| commit | 3b98165a3f028987356200c4ecfad49be95c7585 (patch) | |
| tree | fa501dc2c29614b57d901700933e13152e10a520 /src/dolphinmainwindow.cpp | |
| parent | dd89f93181f136c485b42de240feccd5b24e9579 (diff) | |
don't make the struct ClosedTab accessible for other classes
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=933589
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index fc68191b1..8a7cda1dd 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -86,6 +86,19 @@ #include <QSplitter> #include <QDockWidget> +/* + * Remembers the tab configuration if a tab has been closed. + * Each closed tab can be restored by the menu + * "Go -> Recently Closed Tabs". + */ +struct ClosedTab +{ + KUrl primaryUrl; + KUrl secondaryUrl; + bool isSplit; +}; +Q_DECLARE_METATYPE(ClosedTab) + DolphinMainWindow::DolphinMainWindow(int id) : KXmlGuiWindow(0), m_newMenu(0), |
