diff options
| author | Peter Penz <[email protected]> | 2007-09-27 12:44:14 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-09-27 12:44:14 +0000 |
| commit | f37aaf794846121dd77e770b27c9c9eafb375c3f (patch) | |
| tree | 61881d62e7d09ff9ff2db9dc4340193d38db9368 /src/dolphincontroller.h | |
| parent | 384ee037c2f58ca58f3274249f3b44d840af8ef9 (diff) | |
use inline keyword as suggested at http://www.parashift.com/c%2B%2B-faq-lite/inline-functions.html#faq-9.9
svn path=/trunk/KDE/kdebase/apps/; revision=717738
Diffstat (limited to 'src/dolphincontroller.h')
| -rw-r--r-- | src/dolphincontroller.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h index a7f227306..d17f34c75 100644 --- a/src/dolphincontroller.h +++ b/src/dolphincontroller.h @@ -59,7 +59,7 @@ public: /** Sets the URL to \a url and emits the signal urlChanged(). */ void setUrl(const KUrl& url); - inline const KUrl& url() const; + const KUrl& url() const; void triggerContextMenuRequest(const QPoint& pos); @@ -75,18 +75,18 @@ public: void indicateSortOrderChange(Qt::SortOrder order); void setShowPreview(bool show); - inline bool showPreview() const; + bool showPreview() const; void setShowAdditionalInfo(bool show); - inline bool showAdditionalInfo() const; + bool showAdditionalInfo() const; void triggerZoomIn(); - inline void setZoomInPossible(bool possible); - inline bool isZoomInPossible() const; + void setZoomInPossible(bool possible); + bool isZoomInPossible() const; void triggerZoomOut(); - inline void setZoomOutPossible(bool possible); - inline bool isZoomOutPossible() const; + void setZoomOutPossible(bool possible); + bool isZoomOutPossible() const; // TODO: remove this method when the issue #160611 is solved in Qt 4.4 static void drawHoverIndication(QWidget* widget, @@ -194,37 +194,37 @@ private: KUrl m_url; }; -const KUrl& DolphinController::url() const +inline const KUrl& DolphinController::url() const { return m_url; } -bool DolphinController::showPreview() const +inline bool DolphinController::showPreview() const { return m_showPreview; } -bool DolphinController::showAdditionalInfo() const +inline bool DolphinController::showAdditionalInfo() const { return m_showAdditionalInfo; } -void DolphinController::setZoomInPossible(bool possible) +inline void DolphinController::setZoomInPossible(bool possible) { m_zoomInPossible = possible; } -bool DolphinController::isZoomInPossible() const +inline bool DolphinController::isZoomInPossible() const { return m_zoomInPossible; } -void DolphinController::setZoomOutPossible(bool possible) +inline void DolphinController::setZoomOutPossible(bool possible) { m_zoomOutPossible = possible; } -bool DolphinController::isZoomOutPossible() const +inline bool DolphinController::isZoomOutPossible() const { return m_zoomOutPossible; } |
