┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-01-26 00:55:49 +0000
committerPeter Penz <[email protected]>2007-01-26 00:55:49 +0000
commit5840fcede7178c80d137f589110d09ee20a99483 (patch)
tree5c746f68645608d051dce82f7bdf77d6d7427d17 /src/dolphinmainwindow.h
parentd52282f8a2a727ad332d4cceeeaa6b79af9267c1 (diff)
Do a custom error handling in for the 'Create New...' submenu. Thanks to David for adjusting KNewMenu :-)
svn path=/trunk/playground/utils/dolphin/; revision=627220
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index 6052ec5ba..2d11480a9 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -351,10 +351,6 @@ private:
void connectViewSignals(int viewIndex);
private:
- KNewMenu* m_newMenu;
- QSplitter* m_splitter;
- DolphinView* m_activeView;
-
/**
* DolphinMainWindowsupports only one or two views, which
* are handled internally as primary and secondary view.
@@ -364,17 +360,14 @@ private:
PrimaryIdx = 0,
SecondaryIdx = 1
};
- DolphinView* m_view[SecondaryIdx + 1];
-
- /// remember pending undo operations until they are finished
- QList<KonqOperations::Operation> m_undoOperations;
/**
* Implements a custom error handling for the undo manager. This
* assures that all errors are shown in the status bar of Dolphin
* instead as modal error dialog with an OK button.
*/
- class UndoUiInterface : public KonqUndoManager::UiInterface {
+ class UndoUiInterface : public KonqUndoManager::UiInterface
+ {
public:
UndoUiInterface(DolphinMainWindow* mainWin);
virtual ~UndoUiInterface();
@@ -383,6 +376,15 @@ private:
private:
DolphinMainWindow* m_mainWin;
};
+
+ KNewMenu* m_newMenu;
+ QSplitter* m_splitter;
+ DolphinView* m_activeView;
+
+ DolphinView* m_view[SecondaryIdx + 1];
+
+ /// remember pending undo operations until they are finished
+ QList<KonqOperations::Operation> m_undoOperations;
};
#endif // _DOLPHIN_H_