-rw-r--r-- | korganizer/kofilterview.cpp | 21 | ||||
-rw-r--r-- | korganizer/kofilterview.h | 23 |
2 files changed, 43 insertions, 1 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp index 1479208..f0d17b5 100644 --- a/korganizer/kofilterview.cpp +++ b/korganizer/kofilterview.cpp @@ -27,2 +27,3 @@ + #include <libkcal/calfilter.h> @@ -95 +96,21 @@ void KOFilterView::setSelectedFilter( int fil ) + +KOCalEditView::KOCalEditView(QWidget* parent, + const char* name,WFlags fl ) + : QWidget(parent,name,fl) +{ + /* + connect(mSelectionCombo,SIGNAL(activated(int)),SIGNAL(filterChanged())); + connect(mEnabledCheck,SIGNAL(clicked()),SIGNAL(filterChanged())); + connect(mEditButton,SIGNAL(clicked()),SIGNAL(editCalEdits())); + */ +} + +KOCalEditView::~KOCalEditView() +{ + // no need to delete child widgets, Qt does it all for us +} +void KOCalEditView::readConfig( KConfig *) +{ + +} diff --git a/korganizer/kofilterview.h b/korganizer/kofilterview.h index 9ba2673..2ac4da1 100644 --- a/korganizer/kofilterview.h +++ b/korganizer/kofilterview.h @@ -26,3 +26,3 @@ #include <qstring.h> - +#include <kconfig.h> #include "kofilterview_base.h" @@ -56,2 +56,23 @@ class KOFilterView : public KOFilterView_base +class KOCalEditView : public QWidget +{ + Q_OBJECT + public: + KOCalEditView( QWidget* parent=0,const char* name=0, WFlags fl=0); + ~KOCalEditView(); + + void readConfig( KConfig *); + + signals: + void alarmEnabled ( int cal, bool enable ); + void calendarEnabled ( int cal, bool enable ); + void calendarReadonly ( int cal, bool readonly ); + void setCalendarDefault ( int cal ); + void removeCalendar ( int cal ); + + private: +}; + + + #endif // KOFILTERVIEW_H |