author | ulf69 <ulf69> | 2004-10-30 00:02:34 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-10-30 00:02:34 (UTC) |
commit | 84afedde379f67982d96dc9efa7abf9d200734e4 (patch) (unidiff) | |
tree | 2ea6945ae036c8f88b4cef32154bdd2e8f67dc29 | |
parent | 920a91e2248f805f39d5b1a65d9f0dde6060bf7c (diff) | |
download | kdepimpi-84afedde379f67982d96dc9efa7abf9d200734e4.zip kdepimpi-84afedde379f67982d96dc9efa7abf9d200734e4.tar.gz kdepimpi-84afedde379f67982d96dc9efa7abf9d200734e4.tar.bz2 |
removesyncinfo implemented for PwManager
-rw-r--r-- | pwmanager/pwmanager/pwm.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp index d9fbfc9..083e6d1 100644 --- a/pwmanager/pwmanager/pwm.cpp +++ b/pwmanager/pwmanager/pwm.cpp | |||
@@ -1491,57 +1491,59 @@ void PwM::createAboutData_slot() | |||
1491 | "(PWM/Pi) " +version + " - " + | 1491 | "(PWM/Pi) " +version + " - " + |
1492 | #ifdef DESKTOP_VERSION | 1492 | #ifdef DESKTOP_VERSION |
1493 | "Desktop Edition\n" | 1493 | "Desktop Edition\n" |
1494 | #else | 1494 | #else |
1495 | "PDA-Edition\n" | 1495 | "PDA-Edition\n" |
1496 | "for: Zaurus 5500 / 7x0 / 8x0\n" | 1496 | "for: Zaurus 5500 / 7x0 / 8x0\n" |
1497 | #endif | 1497 | #endif |
1498 | 1498 | ||
1499 | "(c) 2004 Ulf Schenk\n" | 1499 | "(c) 2004 Ulf Schenk\n" |
1500 | "(c) 2004 Lutz Rogowski\n" | 1500 | "(c) 2004 Lutz Rogowski\n" |
1501 | "(c) 1997-2004, The KDE PIM Team\n" | 1501 | "(c) 1997-2004, The KDE PIM Team\n" |
1502 | 1502 | ||
1503 | "(c) Michael Buesch - main programming\nand current maintainer\nmbuesch@freenet.de\n" | 1503 | "(c) Michael Buesch - main programming\nand current maintainer\nmbuesch@freenet.de\n" |
1504 | "Matt Scifo - mscifo@o1.com\n" | 1504 | "Matt Scifo - mscifo@o1.com\n" |
1505 | "Elias Probst - elias.probst@gmx.de\n" | 1505 | "Elias Probst - elias.probst@gmx.de\n" |
1506 | "George Staikos - staikos@kde.org\n" | 1506 | "George Staikos - staikos@kde.org\n" |
1507 | "Matthew Palmer - mjp16@uow.edu.au\n" | 1507 | "Matthew Palmer - mjp16@uow.edu.au\n" |
1508 | "Olivier Sessink - gpasman@nl.linux.org\n" | 1508 | "Olivier Sessink - gpasman@nl.linux.org\n" |
1509 | "The libgcrypt developers -\nBlowfish and SHA1 algorithms\nftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/\n" | 1509 | "The libgcrypt developers -\nBlowfish and SHA1 algorithms\nftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/\n" |
1510 | "Troy Engel - tengel@sonic.net\n" | 1510 | "Troy Engel - tengel@sonic.net\n" |
1511 | "Wickey - wickey@gmx.at\n" | 1511 | "Wickey - wickey@gmx.at\n" |
1512 | "Ian MacGregor - original documentation author.\n" | 1512 | "Ian MacGregor - original documentation author.\n" |
1513 | ); | 1513 | ); |
1514 | } | 1514 | } |
1515 | 1515 | ||
1516 | 1516 | ||
1517 | //this are the overwritten callbackmethods from the syncinterface | 1517 | //this are the overwritten callbackmethods from the syncinterface |
1518 | bool PwM::sync(KSyncManager* manager, QString filename, int mode) | 1518 | bool PwM::sync(KSyncManager* manager, QString filename, int mode) |
1519 | { | 1519 | { |
1520 | PWM_ASSERT(curDoc()); | 1520 | PWM_ASSERT(curDoc()); |
1521 | 1521 | ||
1522 | bool ret = curDoc()->sync(manager, filename, mode); | 1522 | bool ret = curDoc()->sync(manager, filename, mode); |
1523 | 1523 | ||
1524 | qDebug("PwM::sync save now: ret=%i", ret); | 1524 | qDebug("PwM::sync save now: ret=%i", ret); |
1525 | 1525 | ||
1526 | if (ret == true) { | 1526 | if (ret == true) { |
1527 | //US BUG: what can we call here to update the view of the current doc? | 1527 | //US BUG: what can we call here to update the view of the current doc? |
1528 | //mViewManager->refreshView(); | 1528 | //mViewManager->refreshView(); |
1529 | 1529 | ||
1530 | //US curDoc()->sync sets the dirtyFlag in case the sync was successfull. | 1530 | //US curDoc()->sync sets the dirtyFlag in case the sync was successfull. |
1531 | save(); | 1531 | save(); |
1532 | } | 1532 | } |
1533 | 1533 | ||
1534 | return ret; | 1534 | return ret; |
1535 | } | 1535 | } |
1536 | 1536 | ||
1537 | void PwM::removeSyncInfo( QString syncProfile) | 1537 | void PwM::removeSyncInfo( QString syncProfile) |
1538 | { | 1538 | { |
1539 | qDebug("PWM::not implemented: removeSyncInfo for profile %s ", syncProfile.latin1()); | 1539 | qDebug("PWM:removeSyncInfo for profile %s ", syncProfile.latin1()); |
1540 | curDoc()->removeSyncInfo( syncProfile ); | ||
1541 | //US curDoc()->removeSyncInfo sets the dirtyFlag. | ||
1540 | } | 1542 | } |
1541 | 1543 | ||
1542 | #endif | 1544 | #endif |
1543 | 1545 | ||
1544 | 1546 | ||
1545 | #ifndef PWM_EMBEDDED | 1547 | #ifndef PWM_EMBEDDED |
1546 | #include "pwm.moc" | 1548 | #include "pwm.moc" |
1547 | #endif | 1549 | #endif |