summaryrefslogtreecommitdiff
path: root/libopie
authorzecke <zecke>2002-11-30 11:31:24 (UTC)
committer zecke <zecke>2002-11-30 11:31:24 (UTC)
commitcfb09f9ae7b710b3079320f3b268c45c3fae8979 (patch) (unidiff)
tree7dda9c82a59f8ca6a2cf55271b2749b71e29b26e /libopie
parent9b8b30fa6cbdf1424b29cde21fae112e8bf96e6d (diff)
downloadopie-cfb09f9ae7b710b3079320f3b268c45c3fae8979.zip
opie-cfb09f9ae7b710b3079320f3b268c45c3fae8979.tar.gz
opie-cfb09f9ae7b710b3079320f3b268c45c3fae8979.tar.bz2
pelling updates
libopie.pro additions
Diffstat (limited to 'libopie') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/libopie.pro6
-rw-r--r--libopie/orecurrancewidget.cpp20
-rw-r--r--libopie/orecurrancewidget.h6
3 files changed, 27 insertions, 5 deletions
diff --git a/libopie/libopie.pro b/libopie/libopie.pro
index b7537cc..2e76cb1 100644
--- a/libopie/libopie.pro
+++ b/libopie/libopie.pro
@@ -34,2 +34,5 @@ HEADERS = ofontmenu.h \
34 pim/opimmaintainer.h \ 34 pim/opimmaintainer.h \
35 pim/opimnotify.h \
36 pim/opimnotifymanager.h \
37 pim/opimmainwindow.h \
35 orecurrancewidget.h \ 38 orecurrancewidget.h \
@@ -65,2 +68,5 @@ SOURCES = ofontmenu.cc \
65 pim/opimmaintainer.cpp \ 68 pim/opimmaintainer.cpp \
69 pim/opimnotify.cpp \
70 pim/opimnotifymanager.cpp \
71 pim/opimmainwindow.cpp \
66 orecurrancewidget.cpp \ 72 orecurrancewidget.cpp \
diff --git a/libopie/orecurrancewidget.cpp b/libopie/orecurrancewidget.cpp
index 53cee65..0484ab9 100644
--- a/libopie/orecurrancewidget.cpp
+++ b/libopie/orecurrancewidget.cpp
@@ -56,2 +56,17 @@ ORecurranceWidget::ORecurranceWidget( bool startOnMonday,
56 init(); 56 init();
57 setRecurrence( rp );
58}
59
60ORecurranceWidget::~ORecurranceWidget() {
61}
62void ORecurranceWidget::setStartDate( const QDate& date ) {
63 qWarning("ORecurranceWidget::setStartDate");
64 setRecurrence( recurrence(), date );
65}
66void ORecurranceWidget::setRecurrence( const ORecur& rp ) {
67 setRecurrence( rp, start );
68}
69void ORecurranceWidget::setRecurrence( const ORecur& rp, const QDate& date ) {
70 start = date;
71 end = rp.endDate();
57 switch ( rp.type() ) { 72 switch ( rp.type() ) {
@@ -110,6 +125,3 @@ ORecurranceWidget::ORecurranceWidget( bool startOnMonday,
110} 125}
111ORecurranceWidget::~ORecurranceWidget() { 126ORecur ORecurranceWidget::recurrence()const {
112
113}
114ORecur ORecurranceWidget::recurrance()const {
115 QListIterator<QToolButton> it( listRTypeButtons ); 127 QListIterator<QToolButton> it( listRTypeButtons );
diff --git a/libopie/orecurrancewidget.h b/libopie/orecurrancewidget.h
index f2d7f87..4a8dd08 100644
--- a/libopie/orecurrancewidget.h
+++ b/libopie/orecurrancewidget.h
@@ -18,2 +18,3 @@
18 18
19// FIXME spelling!!!! -zecke
19class ORecurranceWidget : public ORecurranceBase { 20class ORecurranceWidget : public ORecurranceBase {
@@ -30,3 +31,3 @@ public:
30 ~ORecurranceWidget(); 31 ~ORecurranceWidget();
31 ORecur recurrance()const; 32 ORecur recurrence()const;
32 QDate endDate()const; 33 QDate endDate()const;
@@ -37,2 +38,5 @@ public slots:
37 void slotNoEnd( bool unused ); 38 void slotNoEnd( bool unused );
39 void setStartDate( const QDate& );
40 void setRecurrence( const ORecur& recur, const QDate& start );
41 void setRecurrence( const ORecur& recur );
38 42