From d5d079c5bfaa10c310628d1ef7905d98b64dfa81 Mon Sep 17 00:00:00 2001 From: eilers Date: Sat, 09 Nov 2002 14:42:19 +0000 Subject: Remove stuff which should never be committed --- diff --git a/library/backend/contact.h b/library/backend/contact.h index 2294986..4999430 100644 --- a/library/backend/contact.h +++ b/library/backend/contact.h @@ -203,8 +203,6 @@ public: void setUid( int i ) { Record::setUid(i); replace( Qtopia::AddressUid , QString::number(i)); } - void setEmails( const QString &v ); - QString emails() const { return find( Qtopia::Emails ); } private: friend class AbEditor; friend class AbTable; @@ -213,6 +211,8 @@ private: QString emailSeparator() const { return " "; } // the emails should be seperated by a comma + void setEmails( const QString &v ); + QString emails() const { return find( Qtopia::Emails ); } void insert( int key, const QString &value ); void replace( int key, const QString &value ); diff --git a/library/backend/timeconversion.cpp b/library/backend/timeconversion.cpp index df7b0d5..6551697 100644 --- a/library/backend/timeconversion.cpp +++ b/library/backend/timeconversion.cpp @@ -25,9 +25,9 @@ QString TimeConversion::toString( const QDate &d ) { - QString empty; - if ( d.isNull() ) - return empty; +// QString empty; +// if ( d.isNull() ) +// return empty; QString r = QString::number( d.day() ) + "." + QString::number( d.month() ) + "." + @@ -39,9 +39,9 @@ QString TimeConversion::toString( const QDate &d ) QDate TimeConversion::fromString( const QString &datestr ) { - QDate empty; - if ( datestr.isEmpty() ) - return empty; +// QDate empty; +// if ( datestr.isEmpty() ) +// return empty; int monthPos = datestr.find('.'); int yearPos = datestr.find('.', monthPos+1 ); -- cgit v0.9.0.2