kalarm

templatepickdlg.h
1 /*
2  * templatepickdlg.h - dialogue to choose an alarm template
3  * Program: kalarm
4  * Copyright (C) 2004 by David Jarvie <software@astrojar.org.uk>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19  */
20 #ifndef TEMPLATEPICKDLG_H
21 #define TEMPLATEPICKDLG_H
22 
23 #include <kdialogbase.h>
24 
25 class TemplateListView;
26 class KAEvent;
27 
28 
29 class TemplatePickDlg : public KDialogBase
30 {
31  TQ_OBJECT
32 
33  public:
34  TemplatePickDlg(TQWidget* parent = 0, const char* name = 0);
35  const KAEvent* selectedTemplate() const;
36  protected:
37  virtual void resizeEvent(TQResizeEvent*);
38  private slots:
39  void slotSelectionChanged();
40  private:
41  TemplateListView* mTemplateList;
42 };
43 
44 #endif // TEMPLATEPICKDLG_H
KAEvent corresponds to a KCal::Event instance.
Definition: alarmevent.h:232