From 5a7134ba217f8927462a4b6336d2eba36a6850cf Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Fri, 1 Jun 2007 22:06:19 +0000 Subject: [PATCH] a little control in the toolbar to switch form factors svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670533 --- corona.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/corona.h b/corona.h index ee8519489..129e8e46c 100644 --- a/corona.h +++ b/corona.h @@ -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 *