┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/pixmapviewer.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-09-27 12:44:14 +0000
committerPeter Penz <[email protected]>2007-09-27 12:44:14 +0000
commitf37aaf794846121dd77e770b27c9c9eafb375c3f (patch)
tree61881d62e7d09ff9ff2db9dc4340193d38db9368 /src/pixmapviewer.h
parent384ee037c2f58ca58f3274249f3b44d840af8ef9 (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.h4
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;
}