const fixes

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693768
This commit is contained in:
Aaron J. Seigo 2007-07-28 23:40:21 +00:00
parent 36649f248d
commit 08fca6641e
2 changed files with 4 additions and 4 deletions

View File

@ -86,7 +86,7 @@ void LayoutItem::setLayout(Layout* layout)
d->layout = layout; d->layout = layout;
} }
Layout* LayoutItem::layout() Layout* LayoutItem::layout() const
{ {
return d->layout; return d->layout;
} }
@ -107,7 +107,7 @@ void LayoutItem::unsetManagingLayout(Layout* layout)
} }
} }
Layout* LayoutItem::managingLayout() Layout* LayoutItem::managingLayout() const
{ {
return d->managingLayout; return d->managingLayout;
} }

View File

@ -115,7 +115,7 @@ class PLASMA_EXPORT LayoutItem
/** /**
* @return the layout this item is currently associated with. * @return the layout this item is currently associated with.
*/ */
Layout* layout(); Layout* layout() const;
/** /**
* Sets the layout that manages this item's geometry * 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 * @return the layout that manages this item's geometry, or 0 if none
**/ **/
Layout* managingLayout(); Layout* managingLayout() const;
private: private:
class Private; class Private;