kplato

kptcalendareditbase.h
1/* This file is part of the KDE project
2 Copyright (C) 2004 Dag Andersen <danders@get2net.dk>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation;
7 version 2 of the License.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18*/
19
20#ifndef KPTCALENDAREDITBASE_H
21#define KPTCALENDAREDITBASE_H
22
23#include <tqvariant.h>
24#include <tqwidget.h>
25
26class TQVBoxLayout;
27class TQHBoxLayout;
28class TQGridLayout;
29class TQGroupBox;
30class TQLabel;
31class TQComboBox;
32class TQButtonGroup;
33class TQPushButton;
34class TQListView;
35class TQListViewItem;
36class TQTimeEdit;
37
38namespace KPlato
39{
40
41class CalendarPanel;
42
43class CalendarEditBase : public TQWidget
44{
45 TQ_OBJECT
46
47
48public:
49 CalendarEditBase( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
50 ~CalendarEditBase();
51
52 TQGroupBox* groupBox2;
53 CalendarPanel* calendarPanel;
54 TQButtonGroup* day;
55 TQComboBox* state;
56 TQPushButton* bApply;
57 TQGroupBox* groupBox4;
58 TQListView* intervalList;
59 TQTimeEdit* startTime;
60 TQTimeEdit* endTime;
61 TQPushButton* bClear;
62 TQPushButton* bAddInterval;
63
64protected:
65 TQHBoxLayout* CalendarEditBaseLayout;
66 TQGridLayout* groupBox2Layout;
67 TQHBoxLayout* layout10;
68 TQVBoxLayout* dayLayout;
69 TQHBoxLayout* layout8;
70 TQVBoxLayout* groupBox4Layout;
71 TQHBoxLayout* layout6;
72 TQHBoxLayout* layout5;
73
74protected slots:
75 virtual void languageChange();
76
77};
78
79} //KPlato namespace
80
81#endif // CALENDAREDITBASE_H