mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42: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) {
|
if (!lay) {
|
||||||
lay = new QVBoxLayout;
|
lay = new QVBoxLayout();
|
||||||
dialog->setLayout(lay);
|
dialog->setLayout(lay);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -176,11 +176,11 @@ public:
|
||||||
QString themeVersion;
|
QString themeVersion;
|
||||||
QString themeMetadataPath;
|
QString themeMetadataPath;
|
||||||
|
|
||||||
bool isDefault : 1;
|
bool isDefault;
|
||||||
bool useGlobal : 1;
|
bool useGlobal;
|
||||||
bool hasWallpapers : 1;
|
bool hasWallpapers;
|
||||||
bool cacheTheme : 1;
|
bool cacheTheme;
|
||||||
bool useNativeWidgetStyle :1;
|
bool useNativeWidgetStyle;
|
||||||
};
|
};
|
||||||
|
|
||||||
PackageStructure::Ptr ThemePrivate::packageStructure(0);
|
PackageStructure::Ptr ThemePrivate::packageStructure(0);
|
||||||
|
|
|
@ -404,7 +404,7 @@ void View::setTrackContainmentChanges(bool trackChanges)
|
||||||
d->trackChanges = trackChanges;
|
d->trackChanges = trackChanges;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool View::trackContainmentChanges()
|
bool View::trackContainmentChanges() const
|
||||||
{
|
{
|
||||||
return d->trackChanges;
|
return d->trackChanges;
|
||||||
}
|
}
|
||||||
|
|
|
@ -148,7 +148,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @return whether or not the view tracks changes to the containment
|
* @return whether or not the view tracks changes to the containment
|
||||||
*/
|
*/
|
||||||
bool trackContainmentChanges();
|
bool trackContainmentChanges() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param pos the position in screen coordinates.
|
* @param pos the position in screen coordinates.
|
||||||
|
|
Loading…
Add table
Reference in a new issue