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/dolphinmainwindow.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 81b8f02c1..6e6c4269b 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -60,14 +60,14 @@ public: * having a split view setup, the nonactive view * is usually shown in darker colors. */ - inline DolphinViewContainer* activeViewContainer() const; + DolphinViewContainer* activeViewContainer() const; /** * Returns true, if the main window contains two instances * of a view container. The active view constainer can be * accessed by DolphinMainWindow::activeViewContainer(). */ - inline bool isSplit() const; + bool isSplit() const; /** * If the main window contains two instances of a view container @@ -90,7 +90,7 @@ public: * Returns the 'Create New...' sub menu which also can be shared * with other menus (e. g. a context menu). */ - inline KNewMenu* newMenu() const; + KNewMenu* newMenu() const; public slots: /** @@ -110,7 +110,7 @@ public slots: /** * Returns the main window ID used through DBus. */ - inline int getId() const; + int getId() const; /** * Inform all affected dolphin components (sidebars, views) of an URL @@ -500,22 +500,22 @@ private: QList m_undoCommandTypes; }; -DolphinViewContainer* DolphinMainWindow::activeViewContainer() const +inline DolphinViewContainer* DolphinMainWindow::activeViewContainer() const { return m_activeViewContainer; } -bool DolphinMainWindow::isSplit() const +inline bool DolphinMainWindow::isSplit() const { return m_viewContainer[SecondaryView] != 0; } -KNewMenu* DolphinMainWindow::newMenu() const +inline KNewMenu* DolphinMainWindow::newMenu() const { return m_newMenu; } -int DolphinMainWindow::getId() const +inline int DolphinMainWindow::getId() const { return m_id; } -- cgit v1.3