summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-06-10 22:09:05 (UTC)
committer zautrix <zautrix>2005-06-10 22:09:05 (UTC)
commite7ff7858eb79a452b65b77f8bf5ee108503f432a (patch) (side-by-side diff)
tree0d6146133a572b6236f9e9f4e3e5e2dc9629a88a
parentcdc55afb3d2c3ebd970843b7dce02acb1e6a189b (diff)
downloadkdepimpi-e7ff7858eb79a452b65b77f8bf5ee108503f432a.zip
kdepimpi-e7ff7858eb79a452b65b77f8bf5ee108503f432a.tar.gz
kdepimpi-e7ff7858eb79a452b65b77f8bf5ee108503f432a.tar.bz2
fff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kofilterview.cpp21
-rw-r--r--korganizer/kofilterview.h23
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
@@ -22,12 +22,13 @@
*/
#include <qcheckbox.h>
#include <qcombobox.h>
#include <qpushbutton.h>
+
#include <libkcal/calfilter.h>
#include "kofilterview.h"
KOFilterView::KOFilterView(QPtrList<CalFilter> *filterList,QWidget* parent,
const char* name,WFlags fl )
@@ -90,6 +91,26 @@ void KOFilterView::setSelectedFilter( int fil )
return;
mSelectionCombo->setCurrentItem( fil );
emit filterChanged();
}
+
+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
@@ -21,13 +21,13 @@
without including the source code for Qt in the source distribution.
*/
#ifndef KOFILTERVIEW_H
#define KOFILTERVIEW_H
#include <qstring.h>
-
+#include <kconfig.h>
#include "kofilterview_base.h"
#include <libkcal/calfilter.h>
using namespace KCal;
@@ -51,7 +51,28 @@ class KOFilterView : public KOFilterView_base
void editFilters();
private:
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