summaryrefslogtreecommitdiff
authoreilers <eilers>2003-08-30 15:28:26 (UTC)
committer eilers <eilers>2003-08-30 15:28:26 (UTC)
commit9f07321949f8baf1a64db0e4caec58041d3f775f (patch) (side-by-side diff)
treec80bf99717bd81ce4393aa40bbbdf11fbb3f7457
parentd9b5fcc45b1fef5ac11ef549a47561c7382ff451 (diff)
downloadopie-9f07321949f8baf1a64db0e4caec58041d3f775f.zip
opie-9f07321949f8baf1a64db0e4caec58041d3f775f.tar.gz
opie-9f07321949f8baf1a64db0e4caec58041d3f775f.tar.bz2
Removed some unimportant debug output which causes slow down..
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/ocontact.cpp4
-rw-r--r--libopie/pim/ocontactaccessbackend_xml.cpp7
-rw-r--r--libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp7
-rw-r--r--libopie2/opiepim/ocontact.cpp4
4 files changed, 14 insertions, 8 deletions
diff --git a/libopie/pim/ocontact.cpp b/libopie/pim/ocontact.cpp
index e34feeb..0f05b65 100644
--- a/libopie/pim/ocontact.cpp
+++ b/libopie/pim/ocontact.cpp
@@ -1106,9 +1106,9 @@ void OContact::setAnniversary( const QDate &v )
*/
QDate OContact::birthday() const
{
QString str = find( Qtopia::Birthday );
- qWarning ("Birthday %s", str.latin1() );
+ // qWarning ("Birthday %s", str.latin1() );
if ( !str.isEmpty() )
return OConversion::dateFromString ( str );
else
return QDate();
@@ -1121,9 +1121,9 @@ QDate OContact::birthday() const
QDate OContact::anniversary() const
{
QDate empty;
QString str = find( Qtopia::Anniversary );
- qWarning ("Anniversary %s", str.latin1() );
+ // qWarning ("Anniversary %s", str.latin1() );
if ( !str.isEmpty() )
return OConversion::dateFromString ( str );
else
return empty;
diff --git a/libopie/pim/ocontactaccessbackend_xml.cpp b/libopie/pim/ocontactaccessbackend_xml.cpp
index 1c21619..1b5af2f 100644
--- a/libopie/pim/ocontactaccessbackend_xml.cpp
+++ b/libopie/pim/ocontactaccessbackend_xml.cpp
@@ -16,8 +16,11 @@
* Version: $Id$
* =====================================================================
* History:
* $Log$
+ * Revision 1.8 2003/08/30 15:28:26 eilers
+ * Removed some unimportant debug output which causes slow down..
+ *
* Revision 1.7 2003/08/01 12:30:16 eilers
* Merging changes from BRANCH_1_0 to HEAD
*
* Revision 1.6 2003/07/07 16:19:47 eilers
@@ -169,9 +172,9 @@ bool OContactAccessBackend_XML::save()
// Write all contacts
QListIterator<OContact> it( m_contactList );
for ( ; it.current(); ++it ) {
- qWarning(" Uid %d at Offset: %x", (*it)->uid(), idx_offset );
+ // qWarning(" Uid %d at Offset: %x", (*it)->uid(), idx_offset );
out += "<Contact ";
(*it)->save( out );
out += "/>\n";
cstr = out.utf8();
@@ -701,9 +704,9 @@ bool OContactAccessBackend_XML::load( const QString filename, bool isJournal )
int *find = dict[ it.key() ];
/* Unknown attributes will be stored as "Custom" elements */
if ( !find ) {
- qWarning("Attribute %s not known.", it.key().latin1());
+ // qWarning("Attribute %s not known.", it.key().latin1());
//contact.setCustomField(it.key(), it.data());
customMap.insert( it.key(), it.data() );
continue;
}
diff --git a/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp b/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp
index 1c21619..1b5af2f 100644
--- a/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp
+++ b/libopie2/opiepim/backend/ocontactaccessbackend_xml.cpp
@@ -16,8 +16,11 @@
* Version: $Id$
* =====================================================================
* History:
* $Log$
+ * Revision 1.8 2003/08/30 15:28:26 eilers
+ * Removed some unimportant debug output which causes slow down..
+ *
* Revision 1.7 2003/08/01 12:30:16 eilers
* Merging changes from BRANCH_1_0 to HEAD
*
* Revision 1.6 2003/07/07 16:19:47 eilers
@@ -169,9 +172,9 @@ bool OContactAccessBackend_XML::save()
// Write all contacts
QListIterator<OContact> it( m_contactList );
for ( ; it.current(); ++it ) {
- qWarning(" Uid %d at Offset: %x", (*it)->uid(), idx_offset );
+ // qWarning(" Uid %d at Offset: %x", (*it)->uid(), idx_offset );
out += "<Contact ";
(*it)->save( out );
out += "/>\n";
cstr = out.utf8();
@@ -701,9 +704,9 @@ bool OContactAccessBackend_XML::load( const QString filename, bool isJournal )
int *find = dict[ it.key() ];
/* Unknown attributes will be stored as "Custom" elements */
if ( !find ) {
- qWarning("Attribute %s not known.", it.key().latin1());
+ // qWarning("Attribute %s not known.", it.key().latin1());
//contact.setCustomField(it.key(), it.data());
customMap.insert( it.key(), it.data() );
continue;
}
diff --git a/libopie2/opiepim/ocontact.cpp b/libopie2/opiepim/ocontact.cpp
index e34feeb..0f05b65 100644
--- a/libopie2/opiepim/ocontact.cpp
+++ b/libopie2/opiepim/ocontact.cpp
@@ -1106,9 +1106,9 @@ void OContact::setAnniversary( const QDate &v )
*/
QDate OContact::birthday() const
{
QString str = find( Qtopia::Birthday );
- qWarning ("Birthday %s", str.latin1() );
+ // qWarning ("Birthday %s", str.latin1() );
if ( !str.isEmpty() )
return OConversion::dateFromString ( str );
else
return QDate();
@@ -1121,9 +1121,9 @@ QDate OContact::birthday() const
QDate OContact::anniversary() const
{
QDate empty;
QString str = find( Qtopia::Anniversary );
- qWarning ("Anniversary %s", str.latin1() );
+ // qWarning ("Anniversary %s", str.latin1() );
if ( !str.isEmpty() )
return OConversion::dateFromString ( str );
else
return empty;