28#include <libkcal/event.h>
29#include <libkcal/todo.h>
30#include "koeventviewer.h"
32#include "kocounterdialog.h"
33#include "kocounterdialog.moc"
35KOCounterDialog::KOCounterDialog( Calendar *calendar, TQWidget *parent, const char *name )
36 : KDialogBase( parent, name, false, i18n( "Counter-Event Viewer"),
37 User1 | User2, User1, false, i18n( "Decline"), i18n( "Accept") )
40 setMainWidget( mEventViewer );
42 connect( this, TQ_SIGNAL( user1Clicked() ), TQ_SLOT( slotCancel() ) );
43 connect( this, TQ_SIGNAL( user2Clicked() ), TQ_SLOT( slotOk( ) ) );
46 setMinimumSize( 300, 200 );
50KOCounterDialog::~KOCounterDialog()
54void KOCounterDialog::setIncidence( Incidence *incidence )
59void KOCounterDialog::addIncidence( Incidence *incidence )
61 mEventViewer->appendIncidence( incidence );
64void KOCounterDialog::addText( const TQString &text )
Viewer widget for events.
void setIncidence(Incidence *incidence, const TQDate &date) Show given incidence in viewer.
void addText(const TQString &text) Add given text to currently shown content.
|