author | zecke <zecke> | 2004-03-14 20:40:33 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-14 20:40:33 (UTC) |
commit | b7362708c9d5a1765aa22fdcc87a9b3009cda6b9 (patch) (side-by-side diff) | |
tree | f6dc914fbc7bf86f4fc311bd80aeb1cfb03218de | |
parent | fb19e9dc49a8ed0f1b85fa88ed97d357000955e1 (diff) | |
download | opie-b7362708c9d5a1765aa22fdcc87a9b3009cda6b9.zip opie-b7362708c9d5a1765aa22fdcc87a9b3009cda6b9.tar.gz opie-b7362708c9d5a1765aa22fdcc87a9b3009cda6b9.tar.bz2 |
No using namespace in a public header
-rw-r--r-- | libopie2/opiepim/ui/opimrecurrencewidget.cpp | 8 | ||||
-rw-r--r-- | libopie2/opiepim/ui/opimrecurrencewidget.h | 10 |
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 @@ -9,2 +9,4 @@ + +using namespace Opie; // Global Templates for use in setting up the repeat label... @@ -85,3 +87,3 @@ 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, @@ -114,3 +116,3 @@ void OPimRecurrenceWidget::setStartDate( const QDate& date ) { */ -void OPimRecurrenceWidget::setRecurrence( const OPimRecurrence& rp ) { +void OPimRecurrenceWidget::setRecurrence( const Opie::OPimRecurrence& rp ) { setRecurrence( rp, start ); @@ -123,3 +125,3 @@ void OPimRecurrenceWidget::setRecurrence( const OPimRecurrence& rp ) { */ -void OPimRecurrenceWidget::setRecurrence( const OPimRecurrence& rp, const QDate& date ) { +void OPimRecurrenceWidget::setRecurrence( const Opie::OPimRecurrence& rp, const QDate& date ) { start = date; 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 @@ -19,4 +19,2 @@ -using namespace Opie; - /** @@ -39,3 +37,3 @@ public: OPimRecurrenceWidget( bool startOnMonday, - const OPimRecurrence& rp, const QDate& start, + const Opie::OPimRecurrence& rp, const QDate& start, QWidget* parent = 0, const char* name =0, @@ -43,3 +41,3 @@ public: ~OPimRecurrenceWidget(); - OPimRecurrence recurrence()const; + Opie::OPimRecurrence recurrence()const; QDate endDate()const; @@ -57,4 +55,4 @@ public slots: 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 ); |