Applets
Kickoff::Launcher Class Reference
The main window class for the Kickoff launcher. More...
#include <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) | |
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] |
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] |
Definition at line 640 of file launcher.cpp.
void Launcher::hideEvent | ( | QHideEvent * | event | ) | [protected, virtual] |
void Launcher::keyPressEvent | ( | QKeyEvent * | event | ) | [protected, virtual] |
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] |
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: