#include <widgetpluginbase.h>
Public Member Functions | |
WidgetPluginBase (QWidget *myself, const QString &instanceID, const QString &name, const QString &description) | |
virtual void | saveState (KConfigGroup &) const |
virtual void | restoreState (const KConfigGroup &) |
virtual void | restoreState (const KConfigGroup &, bool showByDefault) |
virtual void | startPlugin () |
virtual QWidget * | getWidget () |
virtual const QWidget * | getWidget () const |
virtual bool | isReallyVisible (const QWidget *w=NULL, bool ignore_mapping_state=false) const |
virtual bool | isAnywhereVisible (const QWidget *w=NULL) const |
virtual QAction * | getHideShowAction () |
virtual void | updateHideShowAction (bool show) |
virtual void | showOnOrgDesktop () |
Protected Member Functions | |
virtual void | toggleShown ()=0 |
virtual void | setVisible (bool)=0 |
virtual void | pShow () |
virtual void | pHide () |
virtual void | pSetVisible (bool v) |
virtual void | pToggleShown () |
virtual void | showEvent (QShowEvent *)=0 |
virtual void | pShowEvent (QShowEvent *) |
virtual void | hideEvent (QHideEvent *)=0 |
virtual void | pHideEvent (QHideEvent *) |
virtual void | notifyManager (bool shown) |
virtual void | getKWinState (const QWidget *w=NULL) const |
Protected Attributes | |
QWidget * | m_myself |
QAction | m_HideShowAction |
bool | m_restoreShow |
bool | m_geoRestoreFlag |
bool | m_ignoreHideShow |
bool | m_geoCacheValid |
bool | m_saveMinimized |
bool | m_saveMaximized |
bool | m_saveSticky |
int | m_saveDesktop |
QRect | m_saveGeometry |
Definition at line 33 of file widgetpluginbase.h.
WidgetPluginBase::WidgetPluginBase | ( | QWidget * | myself, | |
const QString & | instanceID, | |||
const QString & | name, | |||
const QString & | description | |||
) |
virtual QAction* WidgetPluginBase::getHideShowAction | ( | ) | [inline, virtual] |
Definition at line 49 of file widgetpluginbase.h.
virtual void WidgetPluginBase::getKWinState | ( | const QWidget * | w = NULL |
) | const [protected, virtual] |
virtual const QWidget* WidgetPluginBase::getWidget | ( | ) | const [inline, virtual] |
Definition at line 44 of file widgetpluginbase.h.
virtual QWidget* WidgetPluginBase::getWidget | ( | ) | [inline, virtual] |
Definition at line 43 of file widgetpluginbase.h.
virtual void WidgetPluginBase::hideEvent | ( | QHideEvent * | ) | [protected, pure virtual] |
Implemented in PluginConfigurationDialog.
virtual bool WidgetPluginBase::isAnywhereVisible | ( | const QWidget * | w = NULL |
) | const [virtual] |
virtual bool WidgetPluginBase::isReallyVisible | ( | const QWidget * | w = NULL , |
|
bool | ignore_mapping_state = false | |||
) | const [virtual] |
virtual void WidgetPluginBase::notifyManager | ( | bool | shown | ) | [protected, virtual] |
virtual void WidgetPluginBase::pHide | ( | ) | [protected, virtual] |
virtual void WidgetPluginBase::pHideEvent | ( | QHideEvent * | ) | [protected, virtual] |
virtual void WidgetPluginBase::pSetVisible | ( | bool | v | ) | [protected, virtual] |
virtual void WidgetPluginBase::pShow | ( | ) | [protected, virtual] |
virtual void WidgetPluginBase::pShowEvent | ( | QShowEvent * | ) | [protected, virtual] |
virtual void WidgetPluginBase::pToggleShown | ( | ) | [protected, virtual] |
Referenced by PluginConfigurationDialog::toggleShown().
virtual void WidgetPluginBase::restoreState | ( | const KConfigGroup & | , | |
bool | showByDefault | |||
) | [virtual] |
Reimplemented in PluginConfigurationDialog.
virtual void WidgetPluginBase::restoreState | ( | const KConfigGroup & | ) | [virtual] |
virtual void WidgetPluginBase::saveState | ( | KConfigGroup & | ) | const [virtual] |
virtual void WidgetPluginBase::setVisible | ( | bool | ) | [protected, pure virtual] |
Implemented in PluginConfigurationDialog.
virtual void WidgetPluginBase::showEvent | ( | QShowEvent * | ) | [protected, pure virtual] |
Implemented in PluginConfigurationDialog.
virtual void WidgetPluginBase::showOnOrgDesktop | ( | ) | [virtual] |
virtual void WidgetPluginBase::startPlugin | ( | ) | [virtual] |
Reimplemented from PluginBase.
virtual void WidgetPluginBase::toggleShown | ( | ) | [protected, pure virtual] |
Implemented in PluginConfigurationDialog.
virtual void WidgetPluginBase::updateHideShowAction | ( | bool | show | ) | [virtual] |
bool WidgetPluginBase::m_geoCacheValid [mutable, protected] |
Definition at line 81 of file widgetpluginbase.h.
bool WidgetPluginBase::m_geoRestoreFlag [protected] |
Definition at line 77 of file widgetpluginbase.h.
QAction WidgetPluginBase::m_HideShowAction [protected] |
Definition at line 75 of file widgetpluginbase.h.
bool WidgetPluginBase::m_ignoreHideShow [protected] |
Definition at line 78 of file widgetpluginbase.h.
QWidget* WidgetPluginBase::m_myself [protected] |
Definition at line 74 of file widgetpluginbase.h.
bool WidgetPluginBase::m_restoreShow [protected] |
Definition at line 76 of file widgetpluginbase.h.
int WidgetPluginBase::m_saveDesktop [mutable, protected] |
Definition at line 85 of file widgetpluginbase.h.
QRect WidgetPluginBase::m_saveGeometry [mutable, protected] |
Definition at line 86 of file widgetpluginbase.h.
bool WidgetPluginBase::m_saveMaximized [mutable, protected] |
Definition at line 83 of file widgetpluginbase.h.
bool WidgetPluginBase::m_saveMinimized [mutable, protected] |
Definition at line 82 of file widgetpluginbase.h.
bool WidgetPluginBase::m_saveSticky [mutable, protected] |
Definition at line 84 of file widgetpluginbase.h.