From c8a4f1fd8d3c9b50e51b7234123b3fbe0b979552 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 9 Apr 2007 19:12:54 +0000 Subject: 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 --- src/dolphinview.h | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 2118aaf56..4f78f050b 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -72,12 +72,12 @@ class DolphinView : public QWidget Q_OBJECT public: - /** - * Defines the view mode for a directory. The view mode - * can be defined when constructing a DolphinView. The - * view mode is automatically updated if the directory itself - * defines a view mode (see class ViewProperties for details). - */ + /** + * Defines the view mode for a directory. The view mode + * can be defined when constructing a DolphinView. The + * view mode is automatically updated if the directory itself + * defines a view mode (see class ViewProperties for details). + */ enum Mode { /** @@ -307,7 +307,10 @@ public: KFileItemDelegate::AdditionalInformation additionalInfo() const; /** Returns the KUrlNavigator of the view for read access. */ - const KUrlNavigator* urlNavigator() const { return m_urlNavigator; } + const KUrlNavigator* urlNavigator() const + { + return m_urlNavigator; + } /** * Triggers to request user information for the item given @@ -550,14 +553,18 @@ private: * requires some special handling for iterating through directories, * this method has been introduced for convenience. */ - bool isColumnViewActive() const { return m_columnView != 0; } + bool isColumnViewActive() const + { + return m_columnView != 0; + } private: /** * Remembers the original pixmap for an item before * the cut effect is applied. */ - struct CutItem { + struct CutItem + { KUrl url; QPixmap pixmap; }; -- cgit v1.3