author | eilers <eilers> | 2002-11-09 14:42:19 (UTC) |
---|---|---|
committer | eilers <eilers> | 2002-11-09 14:42:19 (UTC) |
commit | d5d079c5bfaa10c310628d1ef7905d98b64dfa81 (patch) (side-by-side diff) | |
tree | 53c7ca5bdf55a6179b8d52ae44ceee3adf0533cb /library | |
parent | e9df27b5665583685482d405742a4fd3025fe127 (diff) | |
download | opie-d5d079c5bfaa10c310628d1ef7905d98b64dfa81.zip opie-d5d079c5bfaa10c310628d1ef7905d98b64dfa81.tar.gz opie-d5d079c5bfaa10c310628d1ef7905d98b64dfa81.tar.bz2 |
Remove stuff which should never be committed
-rw-r--r-- | library/backend/contact.h | 4 | ||||
-rw-r--r-- | library/backend/timeconversion.cpp | 12 |
2 files changed, 8 insertions, 8 deletions
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 @@ -202,18 +202,18 @@ 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; friend class AddressBookAccessPrivate; friend class XMLIO; 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 ); QString find( int key ) const; 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 @@ -24,11 +24,11 @@ #include <stdlib.h>
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() ) + "." +
QString::number( d.year() );
@@ -38,11 +38,11 @@ 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 );
if ( monthPos == -1 || yearPos == -1 ) {
|