CCMAIL: predator106@gmail.com
svn path=/trunk/KDE/kdebase/apps/; revision=933589
#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),
public:
virtual ~DolphinMainWindow();
- //TODO: This struct should be private, but I couldn't figure out how to make it that way
- //when using Q_DECLARE_METATYPE(), which is a needed macro.
- struct ClosedTab
- {
- KUrl primaryUrl;
- KUrl secondaryUrl;
- bool isSplit;
- };
/**
* Returns the currently active view.
QPointer<DolphinSettingsDialog> m_settingsDialog;
};
-Q_DECLARE_METATYPE(DolphinMainWindow::ClosedTab)
inline DolphinViewContainer* DolphinMainWindow::activeViewContainer() const
{