summaryrefslogtreecommitdiffabout
path: root/korganizer/interfaces/korganizer/calendarviewbase.h
Unidiff
Diffstat (limited to 'korganizer/interfaces/korganizer/calendarviewbase.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/interfaces/korganizer/calendarviewbase.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/korganizer/interfaces/korganizer/calendarviewbase.h b/korganizer/interfaces/korganizer/calendarviewbase.h
index 3c715b1..1f49357 100644
--- a/korganizer/interfaces/korganizer/calendarviewbase.h
+++ b/korganizer/interfaces/korganizer/calendarviewbase.h
@@ -14,42 +14,44 @@
14 14
15 You should have received a copy of the GNU Library General Public License 15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to 16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. 18 Boston, MA 02111-1307, USA.
19*/ 19*/
20#ifndef KORG_CALENDARVIEWBASE_H 20#ifndef KORG_CALENDARVIEWBASE_H
21#define KORG_CALENDARVIEWBASE_H 21#define KORG_CALENDARVIEWBASE_H
22// $Id$ 22// $Id$
23 23
24#include <qwidget.h> 24#include <qwidget.h>
25#include <qlayout.h> 25#include <qlayout.h>
26//Added by qt3to4:
27#include <Q3VBoxLayout>
26 28
27 29
28#include <libkcal/calendar.h> 30#include <libkcal/calendar.h>
29 31
30#include <korganizer/baseview.h> 32#include <korganizer/baseview.h>
31 33
32namespace KOrg { 34namespace KOrg {
33 35
34/** 36/**
35 @short interface for main calendar view widget 37 @short interface for main calendar view widget
36 @author Cornelius Schumacher 38 @author Cornelius Schumacher
37*/ 39*/
38class CalendarViewBase : public QWidget 40class CalendarViewBase : public QWidget
39{ 41{
40 Q_OBJECT 42 Q_OBJECT
41 public: 43 public:
42 CalendarViewBase(QWidget *parent, const char *name) : 44 CalendarViewBase(QWidget *parent, const char *name) :
43 QWidget(parent,name) {new QVBoxLayout(this);} 45 QWidget(parent,name) {new Q3VBoxLayout(this);}
44 virtual ~CalendarViewBase() {}; 46 virtual ~CalendarViewBase() {};
45 47
46 virtual KCal::Calendar *calendar() = 0; 48 virtual KCal::Calendar *calendar() = 0;
47 49
48 virtual QDate startDate() = 0; 50 virtual QDate startDate() = 0;
49 virtual QDate endDate() = 0; 51 virtual QDate endDate() = 0;
50 52
51 virtual Incidence *currentSelection() = 0; 53 virtual Incidence *currentSelection() = 0;
52 54
53 virtual void addView(KOrg::BaseView *) = 0; 55 virtual void addView(KOrg::BaseView *) = 0;
54 56
55 /** changes the view to be the currently selected view */ 57 /** changes the view to be the currently selected view */