Applets
MenuLauncherApplet Class Reference
The MenuLauncherApplet class implements an applet that provides the traditional aka classic KDE3 like KMenu application launcher using the Kickoff functionality. More...
#include <simpleapplet.h>

Public Types | |
enum | FormatType { Name = 0, Description, NameDescription, DescriptionName, NameDashDescription } |
enum | ViewType { Combined = 0, Favorites, Applications, Computer, RecentlyUsed, Bookmarks, 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) |
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.
Member Enumeration Documentation
How the text of the menuitems got formatted.
- Enumerator:
-
Name Name only. Description Description only. NameDescription Name Description. DescriptionName Description (Name). NameDashDescription Name - Description.
Definition at line 56 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. Bookmarks Bookmarks 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 203 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 271 of file simpleapplet.cpp.
Returns a list of context-related QAction instances.
Definition at line 504 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 228 of file simpleapplet.cpp.
void MenuLauncherApplet::startMenuEditor | ( | ) | [slot] |
Definition at line 297 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 289 of file simpleapplet.cpp.
The documentation for this class was generated from the following files: