added
bool invertedLayout() const; returns if the layout of the icons should appear inverted or not svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755891
This commit is contained in:
parent
75f6e84d59
commit
bef6adb720
@ -1128,6 +1128,11 @@ void Icon::invertLayout(bool invert)
|
||||
d->invertLayout = invert;
|
||||
}
|
||||
|
||||
bool Icon::invertedLayout() const
|
||||
{
|
||||
return d->invertLayout;
|
||||
}
|
||||
|
||||
QSizeF Icon::sizeFromIconSize(const qreal iconWidth) const
|
||||
{
|
||||
//no text, less calculations
|
||||
|
@ -158,6 +158,11 @@ public:
|
||||
*/
|
||||
void invertLayout(bool invert);
|
||||
|
||||
/**
|
||||
* @return if the layout of the icons should appear inverted or not
|
||||
*/
|
||||
bool invertedLayout() const;
|
||||
|
||||
/**
|
||||
* @return optimal size given a size for the icon
|
||||
* @param iconWidth desidered width of the icon
|
||||
|
Loading…
Reference in New Issue
Block a user