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

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>

Inheritance diagram for MenuLauncherApplet:

Inheritance graph
[legend]

List of all members.


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

enum MenuLauncherApplet::FormatType

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.

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.
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]

Destructor.

Definition at line 223 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 271 of file simpleapplet.cpp.

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

Returns a list of context-related QAction instances.

Definition at line 504 of file simpleapplet.cpp.

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

Create a configuration dialog.

Definition at line 302 of file simpleapplet.cpp.

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:
  • 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
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
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