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

Applets

Kickoff::Launcher

Kickoff::Launcher Class Reference

The main window class for the Kickoff launcher. More...

#include <launcher.h>

Inheritance diagram for Kickoff::Launcher:

Inheritance graph
[legend]

List of all members.


Signals

void aboutToHide ()
void configNeedsSaving ()

Public Member Functions

bool autoHide () const
virtual bool eventFilter (QObject *object, QEvent *event)
 Launcher (Plasma::Applet *applet=0)
 Launcher (QWidget *parent=0)
virtual QSize minimumSizeHint () const
void reset ()
void setApplet (Plasma::Applet *applet)
void setAutoHide (bool autoHide)
void setLauncherOrigin (const Plasma::PopupPlacement placement, Plasma::Location location)
void setSwitchTabsOnHover (bool switchOnHover)
void setVisibleItemCount (int count)
virtual QSize sizeHint () const
bool switchTabsOnHover () const
int visibleItemCount () const
 ~Launcher ()

Protected Member Functions

virtual void hideEvent (QHideEvent *event)
virtual void keyPressEvent (QKeyEvent *event)
virtual void showEvent (QShowEvent *event)

Detailed Description

The main window class for the Kickoff launcher.

This class is responsible for creating the various tabs, views and models which make up the launcher's user interface.

Definition at line 37 of file launcher.h.


Constructor & Destructor Documentation

Launcher::Launcher ( QWidget *  parent = 0  )  [explicit]

Construct a new Launcher with the specified parent.

Definition at line 432 of file launcher.cpp.

Launcher::Launcher ( Plasma::Applet *  applet = 0  )  [explicit]

Construct a new Launcher associated with the specified Plasma::Applet.

Definition at line 439 of file launcher.cpp.

Launcher::~Launcher (  ) 

Definition at line 616 of file launcher.cpp.


Member Function Documentation

void Kickoff::Launcher::aboutToHide (  )  [signal]

bool Launcher::autoHide (  )  const

Definition at line 570 of file launcher.cpp.

void Kickoff::Launcher::configNeedsSaving (  )  [signal]

bool Launcher::eventFilter ( QObject *  object,
QEvent *  event 
) [virtual]

Definition at line 640 of file launcher.cpp.

void Launcher::hideEvent ( QHideEvent *  event  )  [protected, virtual]

Reimplemented from QWidget.

Definition at line 714 of file launcher.cpp.

void Launcher::keyPressEvent ( QKeyEvent *  event  )  [protected, virtual]

Reimplemented from QWidget.

Definition at line 720 of file launcher.cpp.

QSize Launcher::minimumSizeHint (  )  const [virtual]

Definition at line 535 of file launcher.cpp.

void Launcher::reset (  ) 

Reset the launcher.

This is called e.g. by the Kickoff-applet before shown to be sure we don't display old searches and switch back to the favorite-view.

Definition at line 607 of file launcher.cpp.

void Launcher::setApplet ( Plasma::Applet *  applet  ) 

Specifies the plasma applet the launcher is working on.

Definition at line 595 of file launcher.cpp.

void Launcher::setAutoHide ( bool  autoHide  ) 

Specifies whether the launcher should hide itself when an item is activated.

Definition at line 565 of file launcher.cpp.

void Launcher::setLauncherOrigin ( const Plasma::PopupPlacement  placement,
Plasma::Location  location 
)

Specifies the direction the launcher is popping up in relative to its icon.

Definition at line 749 of file launcher.cpp.

void Launcher::setSwitchTabsOnHover ( bool  switchOnHover  ) 

Specifies whether hovering switches between tabs or if a click is required to switch the tabs.

Definition at line 575 of file launcher.cpp.

void Launcher::setVisibleItemCount ( int  count  ) 

Specifies the number of visible items used to determinate the visible height.

Definition at line 585 of file launcher.cpp.

void Launcher::showEvent ( QShowEvent *  event  )  [protected, virtual]

Reimplemented from QWidget.

Definition at line 736 of file launcher.cpp.

QSize Launcher::sizeHint (  )  const [virtual]

Definition at line 560 of file launcher.cpp.

bool Launcher::switchTabsOnHover (  )  const

Definition at line 580 of file launcher.cpp.

int Launcher::visibleItemCount (  )  const

Definition at line 590 of file launcher.cpp.


The documentation for this class was generated from the following files:
  • launcher.h
  • launcher.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