• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Applets

MenuLauncherApplet Class Reference

#include <simpleapplet.h>

Inheritance diagram for MenuLauncherApplet:

Inheritance graph
[legend]

List of all members.


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

enum MenuLauncherApplet::FormatType

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.

enum MenuLauncherApplet::ViewType

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]

Destructor.

Definition at line 173 of file simpleapplet.cpp.


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.

QList< QAction * > MenuLauncherApplet::contextualActions (  )  [virtual]

Returns a list of context-related QAction instances.

Definition at line 408 of file simpleapplet.cpp.

void MenuLauncherApplet::createConfigurationInterface ( KConfigDialog *  parent  )  [protected]

Create a configuration dialog.

Definition at line 253 of file simpleapplet.cpp.

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:
  • simpleapplet.h
  • simpleapplet.cpp

Applets

Skip menu "Applets"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal