22#include <tqcombobox.h>
25#include <tdemessagebox.h>
26#include <tdeapplication.h>
28#include <tdestandarddirs.h>
29#include <ksimpleconfig.h>
31#include "exchangedialog.h"
33ExchangeDialog::ExchangeDialog( const TQDate &_start, const TQDate &_end, TQWidget *parent)
34 : KDialogBase(Plain,i18n( "Exchange Plugin"),Ok|Cancel,Ok,parent)
36 TQFrame *topFrame = plainPage();
37 TQGridLayout *topLayout = new TQGridLayout( topFrame, 2, 2, 3 );
39 TQLabel *label = new TQLabel(i18n( "Start date:"),topFrame);
40 topLayout->addWidget(label, 0, 0);
42 m_start = new KDateWidget( _start, topFrame );
43 topLayout->addWidget( m_start, 0, 1 );
45 m_end = new KDateWidget( _end, topFrame );
46 topLayout->addWidget( new TQLabel( i18n( "End date:" ), topFrame ), 1, 0 );
47 topLayout->addWidget( m_end, 1, 1 );
50ExchangeDialog::~ExchangeDialog()
54void ExchangeDialog::slotOk()
58#include "exchangedialog.moc"
|