Applets
MenuLauncherApplet Class Reference
#include <simpleapplet.h>

Detailed Description
The MenuLauncherApplet class implements an applet that provides the traditional aka classic KDE3 like KMenu application launcher using the Kickoff functionality.Definition at line 33 of file simpleapplet.h.
Public Types | |
enum | FormatType { Name = 0, Description, NameDescription, DescriptionName } |
enum | ViewType { Combined = 0, Favorites, Applications, Computer, RecentlyUsed, Leave } |
Public Slots | |
void | startMenuEditor () |
void | switchMenuStyle () |
Public Member Functions | |
void | constraintsEvent (Plasma::Constraints constraints) |
virtual QList< QAction * > | contextualActions () |
void | init () |
MenuLauncherApplet (QObject *parent, const QVariantList &args) | |
virtual | ~MenuLauncherApplet () |
Protected Member Functions | |
void | createConfigurationInterface (KConfigDialog *parent) |
Member Enumeration Documentation
How the text of the menuitems got formatted.
- Enumerator:
-
Name Name only. Description Description only. NameDescription Name Description. DescriptionName Description (Name).
Definition at line 55 of file simpleapplet.h.
The menu we like to display.
- Enumerator:
-
Combined Standard Menu. Favorites Favorites Menu. Applications Applications Menu. Computer Computer Menu. RecentlyUsed Recently Used Menu. Leave Leave Menu.
Definition at line 43 of file simpleapplet.h.
Constructor & Destructor Documentation
MenuLauncherApplet::MenuLauncherApplet | ( | QObject * | parent, | |
const QVariantList & | args | |||
) |
Constructor.
- Parameters:
-
parent The parent QObject. args The optional list of arguments.
Definition at line 153 of file simpleapplet.cpp.
MenuLauncherApplet::~MenuLauncherApplet | ( | ) | [virtual] |
Member Function Documentation
void MenuLauncherApplet::constraintsEvent | ( | Plasma::Constraints | constraints | ) |
Called when any of the geometry constraints have been updated.
- Parameters:
-
constraints the type of constraints that were updated
Definition at line 222 of file simpleapplet.cpp.
Returns a list of context-related QAction instances.
Definition at line 408 of file simpleapplet.cpp.
void MenuLauncherApplet::createConfigurationInterface | ( | KConfigDialog * | parent | ) | [protected] |
void MenuLauncherApplet::init | ( | ) |
This method is called once the applet is loaded and added to a Corona.
Definition at line 178 of file simpleapplet.cpp.
void MenuLauncherApplet::startMenuEditor | ( | ) | [slot] |
Definition at line 248 of file simpleapplet.cpp.
void MenuLauncherApplet::switchMenuStyle | ( | ) | [slot] |
Switch the menu style from the traditional aka classic KDE3 like KMenu to the new Kickoff menu.
Definition at line 240 of file simpleapplet.cpp.
The documentation for this class was generated from the following files: