todosummarywidget.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
#ifndef TODO_SUMMARYWIDGET_H
00025
#define TODO_SUMMARYWIDGET_H
00026
00027
#include <qptrlist.h>
00028
#include <qwidget.h>
00029
00030
#include <libkcal/calendarresources.h>
00031
00032
#include "summary.h"
00033
00034
class QGridLayout;
00035
class QLabel;
00036
00037
class TodoPlugin;
00038
00039
class TodoSummaryWidget :
public Kontact::
Summary
00040 {
00041 Q_OBJECT
00042
00043
public:
00044 TodoSummaryWidget( TodoPlugin *plugin,
QWidget *parent,
00045
const char *name = 0 );
00046
00047
int summaryHeight()
const {
return 3; }
00048
QStringList configModules() const;
00049
00050 public slots:
00051
void updateSummary(
bool force = false ) { Q_UNUSED( force ); updateView(); }
00052
00053
private slots:
00054
void updateView();
00055
void selectEvent(
const QString &uid );
00056
00057
private:
00058 TodoPlugin *mPlugin;
00059
QGridLayout *mLayout;
00060
00061
QPtrList<QLabel> mLabels;
00062 KCal::CalendarResources *mCalendar;
00063 };
00064
00065
#endif
This file is part of the documentation for kontact Library Version 3.3.0.