Applets
Kickoff::Launcher Class Reference
#include <launcher.h>

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] |
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] |
Definition at line 724 of file launcher.cpp.
void Launcher::hideEvent | ( | QHideEvent * | event | ) | [protected, virtual] |
void Launcher::keyPressEvent | ( | QKeyEvent * | event | ) | [protected, virtual] |
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] |
void Launcher::mousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
void Launcher::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
void Launcher::moveEvent | ( | QMoveEvent * | event | ) | [protected, virtual] |
void Launcher::paintEvent | ( | QPaintEvent * | event | ) | [protected, virtual] |
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] |
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] |
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: