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

Applets

Kickoff::Launcher

Kickoff::Launcher Class Reference

#include <launcher.h>

Inheritance diagram for Kickoff::Launcher:

Inheritance graph
[legend]

List of all members.


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.


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)
QPoint launcherOrigin () const
virtual QSize minimumSizeHint () const
void reset ()
void setApplet (Plasma::Applet *applet)
void setAutoHide (bool autoHide)
void setLauncherOrigin (QPoint pos, 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 mouseMoveEvent (QMouseEvent *e)
virtual void mousePressEvent (QMouseEvent *e)
virtual void mouseReleaseEvent (QMouseEvent *e)
virtual void moveEvent (QMoveEvent *event)
virtual void paintEvent (QPaintEvent *event)
virtual void resizeEvent (QResizeEvent *e)
virtual void showEvent (QShowEvent *event)

Constructor & Destructor Documentation

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

Construct a new Launcher with the specified parent.

Definition at line 520 of file launcher.cpp.

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

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

Definition at line 527 of file launcher.cpp.

Launcher::~Launcher (  ) 

Definition at line 700 of file launcher.cpp.


Member Function Documentation

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

bool Launcher::autoHide (  )  const

Definition at line 657 of file launcher.cpp.

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

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

Definition at line 724 of file launcher.cpp.

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

Reimplemented from QWidget.

Definition at line 852 of file launcher.cpp.

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

Reimplemented from QWidget.

Definition at line 798 of file launcher.cpp.

QPoint Launcher::launcherOrigin (  )  const

Definition at line 972 of file launcher.cpp.

QSize Launcher::minimumSizeHint (  )  const [virtual]

Definition at line 605 of file launcher.cpp.

void Launcher::mouseMoveEvent ( QMouseEvent *  e  )  [protected, virtual]

Reimplemented from QWidget.

Definition at line 1008 of file launcher.cpp.

void Launcher::mousePressEvent ( QMouseEvent *  e  )  [protected, virtual]

Reimplemented from QWidget.

Definition at line 983 of file launcher.cpp.

void Launcher::mouseReleaseEvent ( QMouseEvent *  e  )  [protected, virtual]

Reimplemented from QWidget.

Definition at line 991 of file launcher.cpp.

void Launcher::moveEvent ( QMoveEvent *  event  )  [protected, virtual]

Reimplemented from QWidget.

Definition at line 814 of file launcher.cpp.

void Launcher::paintEvent ( QPaintEvent *  event  )  [protected, virtual]

Reimplemented from QWidget.

Definition at line 858 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 692 of file launcher.cpp.

void Launcher::resizeEvent ( QResizeEvent *  e  )  [protected, virtual]

Reimplemented from QWidget.

Definition at line 977 of file launcher.cpp.

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

Specifies the plasma applet the launcher is working on.

Definition at line 682 of file launcher.cpp.

void Launcher::setAutoHide ( bool  autoHide  ) 

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

Definition at line 652 of file launcher.cpp.

void Launcher::setLauncherOrigin ( QPoint  pos,
Plasma::Location  location 
)

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

Definition at line 878 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 662 of file launcher.cpp.

void Launcher::setVisibleItemCount ( int  count  ) 

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

Definition at line 672 of file launcher.cpp.

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

Reimplemented from QWidget.

Definition at line 845 of file launcher.cpp.

QSize Launcher::sizeHint (  )  const [virtual]

Definition at line 632 of file launcher.cpp.

bool Launcher::switchTabsOnHover (  )  const

Definition at line 667 of file launcher.cpp.

int Launcher::visibleItemCount (  )  const

Definition at line 677 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
  •   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