summaryrefslogtreecommitdiffabout
path: root/kabc
authorzautrix <zautrix>2005-12-02 10:03:46 (UTC)
committer zautrix <zautrix>2005-12-02 10:03:46 (UTC)
commitcba4eb3e05bee757b910f316ffab01d3849c0138 (patch) (side-by-side diff)
treebd1068f0042a7899ffe1434a9848be5383267b23 /kabc
parenta75d2c26aba6cffae8c3f61e173940240042427b (diff)
downloadkdepimpi-cba4eb3e05bee757b910f316ffab01d3849c0138.zip
kdepimpi-cba4eb3e05bee757b910f316ffab01d3849c0138.tar.gz
kdepimpi-cba4eb3e05bee757b910f316ffab01d3849c0138.tar.bz2
more sync
Diffstat (limited to 'kabc') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/addressbook.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kabc/addressbook.cpp b/kabc/addressbook.cpp
index bdc2762..ed3ac84 100644
--- a/kabc/addressbook.cpp
+++ b/kabc/addressbook.cpp
@@ -396,5 +396,5 @@ void AddressBook::export2File( QString fileName, QString resourceName )
bool include = (*it).resource()->includeInSync();
if ( !resourceName.isEmpty() )
- include = (resourceName == (*it).resource()->name() );
+ include = (resourceName == (*it).resource()->resourceName() );
if ( include ) {
qDebug(QString ("Exporting resource %1 to file %2").arg( (*it).resource()->name() ).arg( fileName ) );
@@ -511,5 +511,5 @@ int AddressBook::importFromFile( QString fileName, bool replaceLabel, bool remo
for ( it = manager->activeBegin(); it != manager->activeEnd(); ++it ) {
qDebug("SaveAB::checking resource..." );
- if ( (*it)->name() == resource ) {
+ if ( (*it)->resourceName() == resource ) {
setRes = (*it);
qDebug("Inserting imported contacs to resource %s", resource.latin1());
@@ -538,5 +538,5 @@ void AddressBook::setUntagged(bool setNonSyncTagged, QString resource) // = fals
if ( !resource.isEmpty() ) {
for ( ait = begin(); ait != end(); ++ait ) {
- if ( (*ait).resource() && (*ait).resource()->name() == resource ) {
+ if ( (*ait).resource() && (*ait).resource()->resourceName() == resource ) {
(*ait).setTagged( false );
}