25 #ifndef SDSUMMARYWIDGET_H
26 #define SDSUMMARYWIDGET_H
28 #include <tqptrlist.h>
32 #include <libkholidays/kholidays.h>
50 const char *name = 0 );
54 void updateSummary(
bool force =
false ) { Q_UNUSED( force ); updateView(); }
57 virtual bool eventFilter( TQObject *obj, TQEvent* e );
61 void popupMenu(
const TQString &uid );
62 void mailContact(
const TQString &uid );
63 void viewContact(
const TQString &uid );
67 int dayof(
KCal::Event *event,
const TQDate &date );
69 void dateDiff(
const TQDate &date,
int &days,
int &years );
70 TQGridLayout *mLayout;
71 TQPtrList<TQLabel> mLabels;
75 bool mShowBirthdaysFromKAB;
76 bool mShowBirthdaysFromCal;
77 bool mShowAnniversariesFromKAB;
78 bool mShowAnniversariesFromCal;
80 bool mShowSpecialsFromCal;
Summary widget for display in the Summary View plugin.
Base class for all Plugins in Kontact.
virtual TQStringList configModules() const
Return list of strings identifying configuration modules for this summary part.
virtual void updateSummary(bool force=false)
This is called if the displayed information should be updated.