From b7362708c9d5a1765aa22fdcc87a9b3009cda6b9 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 14 Mar 2004 20:40:33 +0000 Subject: No using namespace in a public header --- (limited to 'libopie2/opiepim/ui/opimrecurrencewidget.cpp') 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 @@ #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 namespace { @@ -83,7 +85,7 @@ OPimRecurrenceWidget::OPimRecurrenceWidget( bool startOnMonday, * @param fl The flags for window */ 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) : OPimRecurrenceBase( parent, name, modal, fl ), @@ -112,7 +114,7 @@ void OPimRecurrenceWidget::setStartDate( const QDate& date ) { * set the recurrence * @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 ); } @@ -121,7 +123,7 @@ void OPimRecurrenceWidget::setRecurrence( const OPimRecurrence& rp ) { * @param rp Recurrence rule * @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(); switch ( rp.type() ) { -- cgit v0.9.0.2