summarywidget.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 SUMMARYWIDGET_H
00025
#define SUMMARYWIDGET_H
00026
00027
#include <qptrlist.h>
00028
#include <qwidget.h>
00029
00030
#include <libkcal/calendarresources.h>
00031
00032
#include "summary.h"
00033
00034
namespace Kontact {
00035
class Plugin;
00036
class Core;
00037 }
00038
00039
class QGridLayout;
00040
class QLabel;
00041
00042
class SummaryWidget :
public Kontact::
Summary
00043 {
00044 Q_OBJECT
00045
00046
public:
00047 SummaryWidget(
Kontact::Plugin *plugin, QWidget *parent,
00048
const char *name = 0 );
00049
00050
int summaryHeight()
const {
return 3; }
00051
00052
private slots:
00053
void updateView();
00054
void selectEvent(
const QString &uid );
00055
00056
private:
00057
Kontact::Plugin *mPlugin;
00058 QVBoxLayout *mMainLayout;
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.2.2.