┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.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/dolphinmainwindow.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/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h16
1 files changed, 8 insertions, 8 deletions
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<KonqUndoManager::CommandType> 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;
}