From 08fca6641ed02d76ea1d98646ab5c9192645e99a Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Sat, 28 Jul 2007 23:40:21 +0000 Subject: [PATCH] const fixes svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693768 --- widgets/layoutitem.cpp | 4 ++-- widgets/layoutitem.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/widgets/layoutitem.cpp b/widgets/layoutitem.cpp index 7a6b7b651..143adb218 100644 --- a/widgets/layoutitem.cpp +++ b/widgets/layoutitem.cpp @@ -86,7 +86,7 @@ void LayoutItem::setLayout(Layout* layout) d->layout = layout; } -Layout* LayoutItem::layout() +Layout* LayoutItem::layout() const { return d->layout; } @@ -107,7 +107,7 @@ void LayoutItem::unsetManagingLayout(Layout* layout) } } -Layout* LayoutItem::managingLayout() +Layout* LayoutItem::managingLayout() const { return d->managingLayout; } diff --git a/widgets/layoutitem.h b/widgets/layoutitem.h index d918a2ba8..748ffffcd 100644 --- a/widgets/layoutitem.h +++ b/widgets/layoutitem.h @@ -115,7 +115,7 @@ class PLASMA_EXPORT LayoutItem /** * @return the layout this item is currently associated with. */ - Layout* layout(); + Layout* layout() const; /** * Sets the layout that manages this item's geometry @@ -135,7 +135,7 @@ class PLASMA_EXPORT LayoutItem /** * @return the layout that manages this item's geometry, or 0 if none **/ - Layout* managingLayout(); + Layout* managingLayout() const; private: class Private;