a little control in the toolbar to switch form factors

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670533
This commit is contained in:
Aaron J. Seigo 2007-06-01 22:06:19 +00:00
parent 0de27801c9
commit 5a7134ba21

View File

@ -51,6 +51,12 @@ public:
*/
Plasma::Location location() const;
/**
* The current form factor for this Corona. @see Plasma::FormFactor
**/
Plasma::FormFactor formFactor() const;
public Q_SLOTS:
/**
* Informs the Corona as to what position it is in. This is informational
* only, as the Corona doesn't change it's actual location. This is,
@ -58,21 +64,15 @@ public:
*
* @param location the new location of this Corona
*/
void setLocation(Location location);
/**
* The current form factor for this Corona. @see Plasma::FormFactor
**/
Plasma::FormFactor formFactor() const;
void setLocation(Plasma::Location location);
/**
* Sets the form factor for this Corona. This may cause changes in both
* the arrangement of Applets as well as the display choices of individual
* Applets.
*/
void setFormFactor(FormFactor formFactor);
void setFormFactor(Plasma::FormFactor formFactor);
public Q_SLOTS:
/**
* Adds a plasmoid applet to the scene
*