From f37aaf794846121dd77e770b27c9c9eafb375c3f Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 27 Sep 2007 12:44:14 +0000 Subject: 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 --- src/pixmapviewer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pixmapviewer.h') 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; } -- cgit v1.3