summaryrefslogtreecommitdiff
path: root/libopie2
Side-by-side diff
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/ui/opimrecurrencewidget.cpp8
-rw-r--r--libopie2/opiepim/ui/opimrecurrencewidget.h10
2 files changed, 9 insertions, 9 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
@@ -8,4 +8,6 @@
#include "opimrecurrencewidget.h"
+
+using namespace Opie;
// Global Templates for use in setting up the repeat label...
// the problem is these strings get initialized before QPEApplication can install the translator -zecke
@@ -84,5 +86,5 @@ OPimRecurrenceWidget::OPimRecurrenceWidget( bool startOnMonday,
*/
OPimRecurrenceWidget::OPimRecurrenceWidget( bool startOnMonday,
- const OPimRecurrence& rp, const QDate& startDate,
+ const Opie::OPimRecurrence& rp, const QDate& startDate,
QWidget* parent, const char* name,
bool modal, WFlags fl)
@@ -113,5 +115,5 @@ void OPimRecurrenceWidget::setStartDate( const QDate& date ) {
* @param rp The OPimRecurrence object with the new recurrence rules
*/
-void OPimRecurrenceWidget::setRecurrence( const OPimRecurrence& rp ) {
+void OPimRecurrenceWidget::setRecurrence( const Opie::OPimRecurrence& rp ) {
setRecurrence( rp, start );
}
@@ -122,5 +124,5 @@ void OPimRecurrenceWidget::setRecurrence( const OPimRecurrence& rp ) {
* @param date The new start date
*/
-void OPimRecurrenceWidget::setRecurrence( const OPimRecurrence& rp, const QDate& date ) {
+void OPimRecurrenceWidget::setRecurrence( const Opie::OPimRecurrence& rp, const QDate& date ) {
start = date;
end = rp.endDate();
diff --git a/libopie2/opiepim/ui/opimrecurrencewidget.h b/libopie2/opiepim/ui/opimrecurrencewidget.h
index 3f28565..2c315b3 100644
--- a/libopie2/opiepim/ui/opimrecurrencewidget.h
+++ b/libopie2/opiepim/ui/opimrecurrencewidget.h
@@ -18,6 +18,4 @@
#include "opimrecurrencebase.h"
-using namespace Opie;
-
/**
* A widget to let the user select rules for recurrences.
@@ -38,9 +36,9 @@ public:
WFlags fl = 0 );
OPimRecurrenceWidget( bool startOnMonday,
- const OPimRecurrence& rp, const QDate& start,
+ const Opie::OPimRecurrence& rp, const QDate& start,
QWidget* parent = 0, const char* name =0,
bool modal = TRUE, WFlags = 0 );
~OPimRecurrenceWidget();
- OPimRecurrence recurrence()const;
+ Opie::OPimRecurrence recurrence()const;
QDate endDate()const;
@@ -56,6 +54,6 @@ public slots:
void slotNoEnd( bool unused );
void setStartDate( const QDate& );
- void setRecurrence( const OPimRecurrence& recur, const QDate& start );
- void setRecurrence( const OPimRecurrence& recur );
+ void setRecurrence( const Opie::OPimRecurrence& recur, const QDate& start );
+ void setRecurrence( const Opie::OPimRecurrence& recur );
private slots: