Kontact Plugin Interface Library
#include <summary.h>
Inherits QWidget.
Public Slots | |
virtual void | configChanged () |
virtual void | updateSummary (bool force=false) |
Signals | |
void | message (const QString &message) |
void | summaryWidgetDropped (QWidget *target, QWidget *widget, int alignment) |
Public Member Functions | |
Summary (QWidget *parent) | |
virtual | ~Summary () |
virtual QStringList | configModules () const |
QWidget * | createHeader (QWidget *parent, const QString &icon, const QString &heading) |
virtual int | summaryHeight () const |
Detailed Description
Base class for summary widgets in Kontact.
This class should be used as base class when creating new summary widgets for the Summary View plugin in Kontact.
Constructor & Destructor Documentation
|
explicit |
Creates a new summary widget.
- Parameters
-
parent The parent widget.
Definition at line 68 of file summary.cpp.
|
virtual |
Destroys the summary widget.
Definition at line 75 of file summary.cpp.
Member Function Documentation
|
virtualslot |
This method is called whenever the configuration has been changed.
Definition at line 118 of file summary.cpp.
|
virtual |
Returns a list of names identifying configuration modules for this summary widget.
- Note
- The names have to be suitable for being passed to KCMultiDialog::addModule().
Definition at line 113 of file summary.cpp.
QWidget * Summary::createHeader | ( | QWidget * | parent, |
const QString & | icon, | ||
const QString & | heading | ||
) |
Creates a heading for a typical summary view with an icon and a heading.
- Parameters
-
parent The parent widget. icon The name of the icon. heading The text of the header.
Definition at line 85 of file summary.cpp.
|
signal |
This signal can be emitted to signaling that an action is going on.
The message
will be shown in the status bar.
|
virtual |
Returns the logical height of summary widget.
This is used to calculate how much vertical space relative to other summary widgets this widget will use in the summary view.
Definition at line 80 of file summary.cpp.
|
signal |
This signal is emitted whenever a summary widget has been dropped on this summary widget.
|
virtualslot |
This method is called if the displayed information should be updated.
- Parameters
-
force true if the update was requested by the user
Definition at line 122 of file summary.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Nov 26 2013 09:03:07 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.