mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
plasma: mark Plasma::View::trackContainmentChanges() as const
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
5ae3cd4ede
commit
3b22af1d92
4 changed files with 8 additions and 8 deletions
|
@ -142,7 +142,7 @@ void PopupApplet::setWidget(QWidget *widget)
|
|||
}
|
||||
|
||||
if (!lay) {
|
||||
lay = new QVBoxLayout;
|
||||
lay = new QVBoxLayout();
|
||||
dialog->setLayout(lay);
|
||||
}
|
||||
|
||||
|
|
|
@ -176,11 +176,11 @@ public:
|
|||
QString themeVersion;
|
||||
QString themeMetadataPath;
|
||||
|
||||
bool isDefault : 1;
|
||||
bool useGlobal : 1;
|
||||
bool hasWallpapers : 1;
|
||||
bool cacheTheme : 1;
|
||||
bool useNativeWidgetStyle :1;
|
||||
bool isDefault;
|
||||
bool useGlobal;
|
||||
bool hasWallpapers;
|
||||
bool cacheTheme;
|
||||
bool useNativeWidgetStyle;
|
||||
};
|
||||
|
||||
PackageStructure::Ptr ThemePrivate::packageStructure(0);
|
||||
|
|
|
@ -404,7 +404,7 @@ void View::setTrackContainmentChanges(bool trackChanges)
|
|||
d->trackChanges = trackChanges;
|
||||
}
|
||||
|
||||
bool View::trackContainmentChanges()
|
||||
bool View::trackContainmentChanges() const
|
||||
{
|
||||
return d->trackChanges;
|
||||
}
|
||||
|
|
|
@ -148,7 +148,7 @@ public:
|
|||
/**
|
||||
* @return whether or not the view tracks changes to the containment
|
||||
*/
|
||||
bool trackContainmentChanges();
|
||||
bool trackContainmentChanges() const;
|
||||
|
||||
/**
|
||||
* @param pos the position in screen coordinates.
|
||||
|
|
Loading…
Add table
Reference in a new issue