author | zautrix <zautrix> | 2005-06-10 22:09:05 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-10 22:09:05 (UTC) |
commit | e7ff7858eb79a452b65b77f8bf5ee108503f432a (patch) (side-by-side diff) | |
tree | 0d6146133a572b6236f9e9f4e3e5e2dc9629a88a /korganizer | |
parent | cdc55afb3d2c3ebd970843b7dce02acb1e6a189b (diff) | |
download | kdepimpi-e7ff7858eb79a452b65b77f8bf5ee108503f432a.zip kdepimpi-e7ff7858eb79a452b65b77f8bf5ee108503f432a.tar.gz kdepimpi-e7ff7858eb79a452b65b77f8bf5ee108503f432a.tar.bz2 |
fff
-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 @@ -25,6 +25,7 @@ #include <qcombobox.h> #include <qpushbutton.h> + #include <libkcal/calfilter.h> #include "kofilterview.h" @@ -93,3 +94,23 @@ 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 @@ -24,7 +24,7 @@ #define KOFILTERVIEW_H #include <qstring.h> - +#include <kconfig.h> #include "kofilterview_base.h" #include <libkcal/calfilter.h> @@ -54,4 +54,25 @@ class KOFilterView : public KOFilterView_base QPtrList<CalFilter> *mFilters; }; +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 |