kontact
- kontact
- plugins
- specialdates
25#ifndef SDSUMMARYWIDGET_H
26#define SDSUMMARYWIDGET_H
32#include <libkholidays/kholidays.h>
49 SDSummaryWidget( Kontact::Plugin *plugin, TQWidget *parent,
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 );
66 int span( KCal::Event *event );
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;
72 Kontact::Plugin *mPlugin;
73 KCal::CalendarResources *mCalendar;
75 bool mShowBirthdaysFromKAB;
76 bool mShowBirthdaysFromCal;
77 bool mShowAnniversariesFromKAB;
78 bool mShowAnniversariesFromCal;
80 bool mShowSpecialsFromCal;
Base class for all Plugins in Kontact.
Summary widget for display in the Summary View plugin.
virtual TQStringList configModules() const Return list of strings identifying configuration modules for this summary part.
|