summaryrefslogtreecommitdiffabout
path: root/korganizer/kofilterview.h
Unidiff
Diffstat (limited to 'korganizer/kofilterview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kofilterview.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/kofilterview.h b/korganizer/kofilterview.h
index 1849e36..e2ebdd4 100644
--- a/korganizer/kofilterview.h
+++ b/korganizer/kofilterview.h
@@ -20,16 +20,17 @@
20 with any edition of Qt, and distribute the resulting executable, 20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
22*/ 22*/
23#ifndef KOFILTERVIEW_H 23#ifndef KOFILTERVIEW_H
24#define KOFILTERVIEW_H 24#define KOFILTERVIEW_H
25 25
26#include <qstring.h> 26#include <qstring.h>
27#include <qcheckbox.h> 27#include <qcheckbox.h>
28#include <qscrollview.h>
28#include <qpushbutton.h> 29#include <qpushbutton.h>
29#include <kconfig.h> 30#include <kconfig.h>
30#include "kofilterview_base.h" 31#include "kofilterview_base.h"
31 32
32#include <libkcal/calfilter.h> 33#include <libkcal/calfilter.h>
33 34
34class QGridLayout; 35class QGridLayout;
35 36
@@ -105,17 +106,17 @@ class KOFilterView : public KOFilterView_base
105 signals: 106 signals:
106 void filterChanged(); 107 void filterChanged();
107 void editFilters(); 108 void editFilters();
108 109
109 private: 110 private:
110 QPtrList<CalFilter> *mFilters; 111 QPtrList<CalFilter> *mFilters;
111}; 112};
112 113
113class KOCalEditView : public QWidget 114class KOCalEditView : public QScrollView
114{ 115{
115 Q_OBJECT 116 Q_OBJECT
116 public: 117 public:
117 KOCalEditView( QWidget* parent=0,const char* name=0); 118 KOCalEditView( QWidget* parent=0,const char* name=0);
118 ~KOCalEditView(); 119 ~KOCalEditView();
119 120
120 public slots: 121 public slots:
121 void addCal(); 122 void addCal();
@@ -136,17 +137,16 @@ class KOCalEditView : public QWidget
136 void calendarEnabled ( int cal, bool enable ); 137 void calendarEnabled ( int cal, bool enable );
137 void calendarReadonly ( int cal, bool readonly ); 138 void calendarReadonly ( int cal, bool readonly );
138 void setCalendarDefault ( int cal ); 139 void setCalendarDefault ( int cal );
139 void removeCalendar ( int cal ); 140 void removeCalendar ( int cal );
140 void calendarAdded( int ); 141 void calendarAdded( int );
141 void needsUpdate(); 142 void needsUpdate();
142 143
143 private: 144 private:
144 QVBoxLayout* ml;
145 QWidget *mw; 145 QWidget *mw;
146 void toggleList ( QPtrList<KOCalCheckButton> ); 146 void toggleList ( QPtrList<KOCalCheckButton> );
147 QPtrList<KOCalCheckButton> mStdandardB; 147 QPtrList<KOCalCheckButton> mStdandardB;
148 QPtrList<KOCalCheckButton> mEnabledB; 148 QPtrList<KOCalCheckButton> mEnabledB;
149 QPtrList<KOCalCheckButton> mAlarmB; 149 QPtrList<KOCalCheckButton> mAlarmB;
150 QPtrList<KOCalCheckButton> mROB; 150 QPtrList<KOCalCheckButton> mROB;
151 QGridLayout* mainLayout; 151 QGridLayout* mainLayout;
152}; 152};