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/pixmapviewer.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/pixmapviewer.h')
| -rw-r--r-- | src/pixmapviewer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pixmapviewer.h b/src/pixmapviewer.h index ba0dda9cd..01d8cf1c1 100644 --- a/src/pixmapviewer.h +++ b/src/pixmapviewer.h @@ -64,7 +64,7 @@ public: virtual ~PixmapViewer(); void setPixmap(const QPixmap& pixmap); - inline const QPixmap& pixmap() const; + const QPixmap& pixmap() const; protected: virtual void paintEvent(QPaintEvent* event); @@ -81,7 +81,7 @@ private: int m_animationStep; }; -const QPixmap& PixmapViewer::pixmap() const +inline const QPixmap& PixmapViewer::pixmap() const { return m_pixmap; } |
