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/dolphincontroller.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/dolphincontroller.h')
| -rw-r--r-- | src/dolphincontroller.h | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h index af5ac3517..f9f4f4e47 100644 --- a/src/dolphincontroller.h +++ b/src/dolphincontroller.h @@ -54,8 +54,14 @@ public: explicit DolphinController(QObject* parent); virtual ~DolphinController(); - void setUrl(const KUrl& url) { m_url = url; } - const KUrl& url() const { return m_url; } + void setUrl(const KUrl& url) + { + m_url = url; + } + const KUrl& url() const + { + return m_url; + } void triggerContextMenuRequest(const QPoint& pos); @@ -70,15 +76,30 @@ public: void indicateSortOrderChange(Qt::SortOrder order); void setShowPreview(bool showPreview); - bool showPreview() const { return m_showPreview; } + bool showPreview() const + { + return m_showPreview; + } void triggerZoomIn(); - void setZoomInPossible(bool possible) { m_zoomInPossible = possible; } - bool isZoomInPossible() const { return m_zoomInPossible; } + void setZoomInPossible(bool possible) + { + m_zoomInPossible = possible; + } + bool isZoomInPossible() const + { + return m_zoomInPossible; + } void triggerZoomOut(); - void setZoomOutPossible(bool possible) { m_zoomOutPossible = possible; } - bool isZoomOutPossible() const { return m_zoomOutPossible; } + void setZoomOutPossible(bool possible) + { + m_zoomOutPossible = possible; + } + bool isZoomOutPossible() const + { + return m_zoomOutPossible; + } public slots: void triggerItem(const QModelIndex& index); |
