00001 /* This file is part of the KDE project 00002 Copyright (C) 2004 Dag Andersen <danders@get2net.dk> 00003 00004 This library is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU Library General Public 00006 License as published by the Free Software Foundation; 00007 version 2 of the License. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Library General Public License for more details. 00013 00014 You should have received a copy of the GNU Library General Public License 00015 along with this library; see the file COPYING.LIB. If not, write to 00016 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00017 * Boston, MA 02110-1301, USA. 00018 */ 00019 00020 #ifndef KPTCALENDAREDITBASE_H 00021 #define KPTCALENDAREDITBASE_H 00022 00023 #include <QVariant> 00024 #include <QWidget> 00025 //Added by qt3to4: 00026 #include <Q3VBoxLayout> 00027 #include <Q3HBoxLayout> 00028 #include <QLabel> 00029 #include <Q3GridLayout> 00030 #include <QTreeWidget> 00031 00032 class Q3VBoxLayout; 00033 class Q3HBoxLayout; 00034 class Q3GridLayout; 00035 class Q3GroupBox; 00036 class QLabel; 00037 class QComboBox; 00038 class Q3ButtonGroup; 00039 class QPushButton; 00040 class Q3ListView; 00041 class Q3ListViewItem; 00042 class Q3TimeEdit; 00043 00044 namespace KPlato 00045 { 00046 00047 class CalendarPanel; 00048 00049 class CalendarEditBase : public QWidget 00050 { 00051 Q_OBJECT 00052 00053 public: 00054 CalendarEditBase( QWidget* parent = 0, Qt::WFlags fl = 0 ); 00055 ~CalendarEditBase(); 00056 00057 Q3GroupBox* groupBox2; 00058 CalendarPanel* calendarPanel; 00059 Q3ButtonGroup* day; 00060 QComboBox* state; 00061 QPushButton* bApply; 00062 Q3GroupBox* groupBox4; 00063 QTreeWidget* intervalList; 00064 Q3TimeEdit* startTime; 00065 Q3TimeEdit* endTime; 00066 QPushButton* bClear; 00067 QPushButton* bAddInterval; 00068 00069 protected: 00070 Q3HBoxLayout* CalendarEditBaseLayout; 00071 Q3GridLayout* groupBox2Layout; 00072 Q3HBoxLayout* layout10; 00073 Q3VBoxLayout* dayLayout; 00074 Q3HBoxLayout* layout8; 00075 Q3VBoxLayout* groupBox4Layout; 00076 Q3HBoxLayout* layout6; 00077 Q3HBoxLayout* layout5; 00078 00079 protected slots: 00080 virtual void languageChange(); 00081 00082 }; 00083 00084 } //KPlato namespace 00085 00086 #endif // CALENDAREDITBASE_H