diff options
| author | Peter Penz <[email protected]> | 2007-04-09 19:12:54 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-04-09 19:12:54 +0000 |
| commit | c8a4f1fd8d3c9b50e51b7234123b3fbe0b979552 (patch) | |
| tree | c8e29897fa7457cd31ffb51666c7e3cb8a5a2fea /src/dolphinmainwindow.h | |
| parent | 30161a7b3fe76578f43a61381c98a5ae475ed52a (diff) | |
adapt Dolphin to kdelibs coding style (http://techbase.kde.org/Policies/Kdelibs_Coding_Style) by using:
astyle --indent=spaces=4 --brackets=linux \
--indent-labels --pad=oper --unpad=paren \
--one-line=keep-statements --convert-tabs \
--indent-preprocessor \
`find -type f -name '*.cpp'` `find -type f -name '*.h'`
svn path=/trunk/KDE/kdebase/apps/; revision=651981
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index c6b46817f..4212a0987 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -51,19 +51,22 @@ class DolphinMainWindow: public KMainWindow public: virtual ~DolphinMainWindow(); - /** - * Activates the given view, which means that - * all menu actions are applied to this view. When - * having a split view setup the nonactive view - * is usually shown in darker colors. - */ + /** + * Activates the given view, which means that + * all menu actions are applied to this view. When + * having a split view setup the nonactive view + * is usually shown in darker colors. + */ void setActiveView(DolphinView* view); /** * Returns the currently active view. See * DolphinMainWindow::setActiveView() for more details. */ - DolphinView* activeView() const { return m_activeView; } + DolphinView* activeView() const + { + return m_activeView; + } /** Renames the item represented by \a oldUrl to \a newUrl. */ void rename(const KUrl& oldUrl, const KUrl& newUrl); @@ -78,7 +81,10 @@ public: * Returns the 'Create New...' sub menu which also can be shared * with other menus (e. g. a context menu). */ - KNewMenu* newMenu() const { return m_newMenu; } + KNewMenu* newMenu() const + { + return m_newMenu; + } public slots: /** @@ -98,7 +104,10 @@ public slots: /** * Returns the main window ID used through DBus. */ - int getId() const { return m_id; } + int getId() const + { + return m_id; + } /** * Inform all affected dolphin components (sidebars, views) of an URL @@ -425,7 +434,7 @@ private: * 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); |
