kontact
Kontact::Summary Class Reference
#include <summary.h>
Inheritance diagram for Kontact::Summary:

Detailed Description
Summary widget for display in the Summary View plugin.
Definition at line 36 of file summary.h.
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, const char *name=0) | |
virtual | ~Summary () |
virtual int | summaryHeight () const |
QWidget * | createHeader (QWidget *parent, const QPixmap &icon, const QString &heading) |
virtual QStringList | configModules () const |
Protected Member Functions | |
virtual void | mousePressEvent (QMouseEvent *) |
virtual void | mouseMoveEvent (QMouseEvent *) |
virtual void | dragEnterEvent (QDragEnterEvent *) |
virtual void | dropEvent (QDropEvent *) |
Member Function Documentation
virtual int Kontact::Summary::summaryHeight | ( | ) | const [inline, virtual] |
Return 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.
Reimplemented in SummaryWidget, SummaryWidget, TodoSummaryWidget, SummaryWidget, and SummaryWidget.
QWidget * Summary::createHeader | ( | QWidget * | parent, | |
const QPixmap & | icon, | |||
const QString & | heading | |||
) |
Creates a heading for a typical summary view with an icon and a heading.
Definition at line 47 of file summary.cpp.
virtual QStringList Kontact::Summary::configModules | ( | ) | const [inline, virtual] |
Return list of strings identifying configuration modules for this summary part.
The string has to be suitable for being passed to KCMultiDialog::addModule().
Reimplemented in SummaryWidget, SummaryWidget, TodoSummaryWidget, SummaryWidget, SummaryWidget, SDSummaryWidget, and SummaryWidget.
virtual void Kontact::Summary::updateSummary | ( | bool | force = false |
) | [inline, virtual, slot] |
This is called if the displayed information should be updated.
- Parameters:
-
force true if the update was requested by the user
Reimplemented in SummaryWidget, KNotesSummaryWidget, SummaryWidget, TodoSummaryWidget, SummaryWidget, SDSummaryWidget, and SummaryWidget.
The documentation for this class was generated from the following files: