summaryrefslogtreecommitdiff
path: root/libopie/orecurrancewidget.h
authorzecke <zecke>2002-11-30 11:31:24 (UTC)
committer zecke <zecke>2002-11-30 11:31:24 (UTC)
commitcfb09f9ae7b710b3079320f3b268c45c3fae8979 (patch) (side-by-side diff)
tree7dda9c82a59f8ca6a2cf55271b2749b71e29b26e /libopie/orecurrancewidget.h
parent9b8b30fa6cbdf1424b29cde21fae112e8bf96e6d (diff)
downloadopie-cfb09f9ae7b710b3079320f3b268c45c3fae8979.zip
opie-cfb09f9ae7b710b3079320f3b268c45c3fae8979.tar.gz
opie-cfb09f9ae7b710b3079320f3b268c45c3fae8979.tar.bz2
pelling updates
libopie.pro additions
Diffstat (limited to 'libopie/orecurrancewidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/orecurrancewidget.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libopie/orecurrancewidget.h b/libopie/orecurrancewidget.h
index f2d7f87..4a8dd08 100644
--- a/libopie/orecurrancewidget.h
+++ b/libopie/orecurrancewidget.h
@@ -1,68 +1,72 @@
/*
* GPL and based on the widget from TT
*/
#ifndef OPIE_RECURRANCE_WIDGET_H
#define OPIE_RECURRANCE_WIDGET_H
#include <qlist.h>
#include <qtoolbutton.h>
#include <qcheckbox.h>
#include <qdatetime.h>
#include <qbuttongroup.h>
#include <qpe/datebookmonth.h>
#include "orecurrancebase.h"
#include <opie/orecur.h>
+// FIXME spelling!!!! -zecke
class ORecurranceWidget : public ORecurranceBase {
Q_OBJECT
public:
ORecurranceWidget( bool startOnMonday,
const QDate& start, QWidget* parent = 0,
const char* name = 0, bool modal = TRUE,
WFlags fl = 0 );
ORecurranceWidget( bool startOnMonday,
const ORecur& rp, const QDate& start,
QWidget* parent = 0, const char* name =0,
bool modal = TRUE, WFlags = 0 );
~ORecurranceWidget();
- ORecur recurrance()const;
+ ORecur recurrence()const;
QDate endDate()const;
public slots:
void slotSetRType( int );
void endDateChanged( int, int, int );
void slotNoEnd( bool unused );
+ void setStartDate( const QDate& );
+ void setRecurrence( const ORecur& recur, const QDate& start );
+ void setRecurrence( const ORecur& recur );
private slots:
void setupRepeatLabel( const QString& );
void setupRepeatLabel( int );
void slotWeekLabel();
void slotMonthLabel( int );
void slotChangeStartOfWeek( bool onMonday );
private:
void setupNone();
void setupDaily();
void setupWeekly();
void setupMonthly();
void setupYearly();
enum repeatButtons { None, Day, Week, Month, Year };
void init();
void hideExtras();
void showRepeatStuff();
QList<QToolButton> listRTypeButtons;
QList<QToolButton> listExtra;
QDate start; // only used in one spot...
QDate end;
repeatButtons currInterval;
bool startWeekOnMonday : 1;
DateBookMonth *repeatPicker;
};
#endif