summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/ui/opimrecurrencewidget.cpp
Unidiff
Diffstat (limited to 'libopie2/opiepim/ui/opimrecurrencewidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/ui/opimrecurrencewidget.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/libopie2/opiepim/ui/opimrecurrencewidget.cpp b/libopie2/opiepim/ui/opimrecurrencewidget.cpp
index 90c1a5f..ee7f3a3 100644
--- a/libopie2/opiepim/ui/opimrecurrencewidget.cpp
+++ b/libopie2/opiepim/ui/opimrecurrencewidget.cpp
@@ -7,6 +7,8 @@
7 7
8#include "opimrecurrencewidget.h" 8#include "opimrecurrencewidget.h"
9 9
10
11using namespace Opie;
10// Global Templates for use in setting up the repeat label... 12// Global Templates for use in setting up the repeat label...
11// the problem is these strings get initialized before QPEApplication can install the translator -zecke 13// the problem is these strings get initialized before QPEApplication can install the translator -zecke
12namespace { 14namespace {
@@ -83,7 +85,7 @@ OPimRecurrenceWidget::OPimRecurrenceWidget( bool startOnMonday,
83 * @param fl The flags for window 85 * @param fl The flags for window
84 */ 86 */
85OPimRecurrenceWidget::OPimRecurrenceWidget( bool startOnMonday, 87OPimRecurrenceWidget::OPimRecurrenceWidget( bool startOnMonday,
86 const OPimRecurrence& rp, const QDate& startDate, 88 const Opie::OPimRecurrence& rp, const QDate& startDate,
87 QWidget* parent, const char* name, 89 QWidget* parent, const char* name,
88 bool modal, WFlags fl) 90 bool modal, WFlags fl)
89 : OPimRecurrenceBase( parent, name, modal, fl ), 91 : OPimRecurrenceBase( parent, name, modal, fl ),
@@ -112,7 +114,7 @@ void OPimRecurrenceWidget::setStartDate( const QDate& date ) {
112 * set the recurrence 114 * set the recurrence
113 * @param rp The OPimRecurrence object with the new recurrence rules 115 * @param rp The OPimRecurrence object with the new recurrence rules
114 */ 116 */
115void OPimRecurrenceWidget::setRecurrence( const OPimRecurrence& rp ) { 117void OPimRecurrenceWidget::setRecurrence( const Opie::OPimRecurrence& rp ) {
116 setRecurrence( rp, start ); 118 setRecurrence( rp, start );
117} 119}
118 120
@@ -121,7 +123,7 @@ void OPimRecurrenceWidget::setRecurrence( const OPimRecurrence& rp ) {
121 * @param rp Recurrence rule 123 * @param rp Recurrence rule
122 * @param date The new start date 124 * @param date The new start date
123 */ 125 */
124void OPimRecurrenceWidget::setRecurrence( const OPimRecurrence& rp, const QDate& date ) { 126void OPimRecurrenceWidget::setRecurrence( const Opie::OPimRecurrence& rp, const QDate& date ) {
125 start = date; 127 start = date;
126 end = rp.endDate(); 128 end = rp.endDate();
127 switch ( rp.type() ) { 129 switch ( rp.type() ) {