-rw-r--r-- | pwmanager/pwmanager/pwm.cpp | 4 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwm.h | 2 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwmdoc.cpp | 2 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwmdoc.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp index e12dc49..8373850 100644 --- a/pwmanager/pwmanager/pwm.cpp +++ b/pwmanager/pwmanager/pwm.cpp | |||
@@ -1564,13 +1564,13 @@ void PwM::createAboutData_slot() | |||
1564 | } | 1564 | } |
1565 | 1565 | ||
1566 | 1566 | ||
1567 | //this are the overwritten callbackmethods from the syncinterface | 1567 | //this are the overwritten callbackmethods from the syncinterface |
1568 | bool PwM::sync(KSyncManager* manager, QString filename, int mode) | 1568 | bool PwM::sync(KSyncManager* manager, QString filename, int mode,QString resource) |
1569 | { | 1569 | { |
1570 | PWM_ASSERT(curDoc()); | 1570 | PWM_ASSERT(curDoc()); |
1571 | 1571 | ||
1572 | bool ret = curDoc()->sync(manager, filename, mode); | 1572 | bool ret = curDoc()->sync(manager, filename, mode,resource); |
1573 | 1573 | ||
1574 | qDebug("PwM::sync save now: ret=%i", ret); | 1574 | qDebug("PwM::sync save now: ret=%i", ret); |
1575 | 1575 | ||
1576 | if (ret == true) { | 1576 | if (ret == true) { |
diff --git a/pwmanager/pwmanager/pwm.h b/pwmanager/pwmanager/pwm.h index 2d1b854..c4bbb4e 100644 --- a/pwmanager/pwmanager/pwm.h +++ b/pwmanager/pwmanager/pwm.h | |||
@@ -278,9 +278,9 @@ protected: | |||
278 | 278 | ||
279 | private: | 279 | private: |
280 | #ifdef PWM_EMBEDDED | 280 | #ifdef PWM_EMBEDDED |
281 | //this are the overwritten callbackmethods from the syncinterface | 281 | //this are the overwritten callbackmethods from the syncinterface |
282 | virtual bool sync(KSyncManager* manager, QString filename, int mode); | 282 | virtual bool sync(KSyncManager* manager, QString filename, int mode,QString resource); |
283 | virtual void removeSyncInfo( QString syncProfile); | 283 | virtual void removeSyncInfo( QString syncProfile); |
284 | 284 | ||
285 | // LR ******************************* | 285 | // LR ******************************* |
286 | // sync stuff! | 286 | // sync stuff! |
diff --git a/pwmanager/pwmanager/pwmdoc.cpp b/pwmanager/pwmanager/pwmdoc.cpp index 1f3c58b..b58d7e2 100644 --- a/pwmanager/pwmanager/pwmdoc.cpp +++ b/pwmanager/pwmanager/pwmdoc.cpp | |||
@@ -3443,9 +3443,9 @@ void PwMDoc::removeSyncInfo( QString syncProfile) | |||
3443 | } | 3443 | } |
3444 | 3444 | ||
3445 | 3445 | ||
3446 | //this are the overwritten callbackmethods from the syncinterface | 3446 | //this are the overwritten callbackmethods from the syncinterface |
3447 | bool PwMDoc::sync(KSyncManager* manager, QString filename, int mode) | 3447 | bool PwMDoc::sync(KSyncManager* manager, QString filename, int mode, QString resource) |
3448 | { | 3448 | { |
3449 | QString mCurrentSyncDevice = manager->getCurrentSyncDevice(); | 3449 | QString mCurrentSyncDevice = manager->getCurrentSyncDevice(); |
3450 | 3450 | ||
3451 | //1) unlock local file first if necessary (ask for password) | 3451 | //1) unlock local file first if necessary (ask for password) |
diff --git a/pwmanager/pwmanager/pwmdoc.h b/pwmanager/pwmanager/pwmdoc.h index 45dd729..144831f 100644 --- a/pwmanager/pwmanager/pwmdoc.h +++ b/pwmanager/pwmanager/pwmdoc.h | |||
@@ -795,9 +795,9 @@ QFile *f); | |||
795 | // 3 cancel | 795 | // 3 cancel |
796 | int takePwMDataItem( PwMDataItem* local, PwMDataItem* remote, QDateTime lastSync, int mode , bool full ); | 796 | int takePwMDataItem( PwMDataItem* local, PwMDataItem* remote, QDateTime lastSync, int mode , bool full ); |
797 | 797 | ||
798 | //the following methods are the overwritten callbackmethods from the syncinterface | 798 | //the following methods are the overwritten callbackmethods from the syncinterface |
799 | virtual bool sync(KSyncManager* manager, QString filename, int mode); | 799 | virtual bool sync(KSyncManager* manager, QString filename, int mode, QString resource); |
800 | virtual void removeSyncInfo( QString syncProfile); | 800 | virtual void removeSyncInfo( QString syncProfile); |
801 | 801 | ||
802 | #endif | 802 | #endif |
803 | //US ENH: helpermethods to return a whole category entry | 803 | //US ENH: helpermethods to return a whole category entry |