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/dolphinview.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/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 25 |
1 files changed, 16 insertions, 9 deletions
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; }; |
