[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kdepim-3.5.5+/kpilot/lib
From:       Bertjan Broeksema <b.broeksema () home ! nl>
Date:       2007-02-16 18:35:42
Message-ID: 1171650942.183236.30424.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 634262 by bbroeksema:

The mapper is now working again. tnx dfaure :).


 M  +6 -6      branches/work/kdepim-3.5.5+/kpilot/lib/idmapper.cc  
 M  +1 -1      branches/work/kdepim-3.5.5+/kpilot/lib/idmapperxml.cc  
 M  +1 -1      branches/work/kdepim-3.5.5+/kpilot/lib/idmapperxml.h  


--- branches/work/kdepim-3.5.5+/kpilot/lib/idmapper.cc #634261:634262
@@ -118,7 +118,7 @@
 {
 	FUNCTIONSETUP;
 	
-	QValueList<IDMapping> mappings = fP->fXmlSource->mappings();
+	QValueList<IDMapping> &mappings = fP->fXmlSource->mappings();
 	QValueList<IDMapping>::iterator it;
 	QValueList<QString> uids;
 	
@@ -145,7 +145,7 @@
 {
 	FUNCTIONSETUP;
 	
-	QValueList<IDMapping> mappings = fP->fXmlSource->mappings();
+	QValueList<IDMapping> &mappings = fP->fXmlSource->mappings();
 	QValueList<IDMapping>::iterator it;
 	QValueList<recordid_t> pids;
 	
@@ -168,7 +168,7 @@
 {
 	FUNCTIONSETUP;
 	
-	QValueList<IDMapping> mappings = fP->fXmlSource->mappings();
+	QValueList<IDMapping> &mappings = fP->fXmlSource->mappings();
 	QValueList<IDMapping>::iterator it;
 	
 	for ( it = mappings.begin(); it != mappings.end(); ++it )
@@ -187,7 +187,7 @@
 {
 	FUNCTIONSETUP;
 	
-	QValueList<IDMapping> mappings = fP->fXmlSource->mappings();
+	QValueList<IDMapping> &mappings = fP->fXmlSource->mappings();
 	QValueList<IDMapping>::iterator it;
 	
 	for ( it = mappings.begin(); it != mappings.end(); ++it )
@@ -209,7 +209,7 @@
 	
 	bool modified = false;
 	
-	QValueList<IDMapping> mappings = fP->fXmlSource->mappings();
+	QValueList<IDMapping> &mappings = fP->fXmlSource->mappings();
 	QValueList<IDMapping>::iterator it;
 	
 	for ( it = mappings.begin(); it != mappings.end(); ++it )
@@ -231,7 +231,7 @@
 	
 	bool modified = false;
 	
-	QValueList<IDMapping> mappings = fP->fXmlSource->mappings();
+	QValueList<IDMapping> &mappings = fP->fXmlSource->mappings();
 	QValueList<IDMapping>::iterator it;
 	
 	for ( it = mappings.begin(); it != mappings.end(); ++it )
--- branches/work/kdepim-3.5.5+/kpilot/lib/idmapperxml.cc #634261:634262
@@ -144,7 +144,7 @@
 	DEBUGKPILOT << fname << ": " << fMappings.first().conduit() << endl;
 }
 
-const QValueList<IDMapping> &IDMapperXml::mappings() const
+QValueList<IDMapping>& IDMapperXml::mappings()
 {
 	return fMappings;
 }
--- branches/work/kdepim-3.5.5+/kpilot/lib/idmapperxml.h #634261:634262
@@ -59,7 +59,7 @@
 	/**
 	 * Returns the collection of mappings.
 	 */
-	const QValueList<IDMapping> &mappings() const;
+	QValueList<IDMapping> &mappings();
 	 
 	/**
 	 * Overloaded function to parse the xml file.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic