author | zautrix <zautrix> | 2004-10-06 16:20:25 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-06 16:20:25 (UTC) |
commit | 656636acfb8c607901c97c4f55129e29e1df9913 (patch) (unidiff) | |
tree | 25efd61a6b691822a11f43719efcbf69ce7d5c25 /korganizer | |
parent | a22de800110d8350a5200a994b041e47d51bf4c6 (diff) | |
download | kdepimpi-656636acfb8c607901c97c4f55129e29e1df9913.zip kdepimpi-656636acfb8c607901c97c4f55129e29e1df9913.tar.gz kdepimpi-656636acfb8c607901c97c4f55129e29e1df9913.tar.bz2 |
more fixes
-rw-r--r-- | korganizer/mainwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 2f286e0..ec69b11 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -36,12 +36,13 @@ | |||
36 | 36 | ||
37 | #endif | 37 | #endif |
38 | #include <libkcal/calendarlocal.h> | 38 | #include <libkcal/calendarlocal.h> |
39 | #include <libkcal/todo.h> | 39 | #include <libkcal/todo.h> |
40 | #include <libkcal/phoneformat.h> | 40 | #include <libkcal/phoneformat.h> |
41 | #include <libkdepim/ksyncprofile.h> | 41 | #include <libkdepim/ksyncprofile.h> |
42 | #include <libkdepim/phoneaccess.h> | ||
42 | #include <libkcal/kincidenceformatter.h> | 43 | #include <libkcal/kincidenceformatter.h> |
43 | #include <libkdepim/kpimglobalprefs.h> | 44 | #include <libkdepim/kpimglobalprefs.h> |
44 | 45 | ||
45 | #include "calendarview.h" | 46 | #include "calendarview.h" |
46 | #include "koviewmanager.h" | 47 | #include "koviewmanager.h" |
47 | #include "datenavigator.h" | 48 | #include "datenavigator.h" |
@@ -1229,14 +1230,14 @@ void MainWindow::exportToPhone( int mode ) | |||
1229 | if ( add ) { | 1230 | if ( add ) { |
1230 | Incidence *in = incidence->clone(); | 1231 | Incidence *in = incidence->clone(); |
1231 | cal->addIncidence( in ); | 1232 | cal->addIncidence( in ); |
1232 | } | 1233 | } |
1233 | } | 1234 | } |
1234 | incidence = delSel.next(); | 1235 | incidence = delSel.next(); |
1235 | } | 1236 | } |
1236 | PhoneFormat::writeConfig( KPimGlobalPrefs::instance()->mEx2PhoneDevice, | 1237 | PhoneAccess::writeConfig( KPimGlobalPrefs::instance()->mEx2PhoneDevice, |
1237 | KPimGlobalPrefs::instance()->mEx2PhoneConnection, | 1238 | KPimGlobalPrefs::instance()->mEx2PhoneConnection, |
1238 | KPimGlobalPrefs::instance()->mEx2PhoneModel ); | 1239 | KPimGlobalPrefs::instance()->mEx2PhoneModel ); |
1239 | 1240 | ||
1240 | setCaption( i18n("Writing to phone...")); | 1241 | setCaption( i18n("Writing to phone...")); |
1241 | if ( PhoneFormat::writeToPhone( cal ) ) | 1242 | if ( PhoneFormat::writeToPhone( cal ) ) |
1242 | setCaption( i18n("Export to phone successful!")); | 1243 | setCaption( i18n("Export to phone successful!")); |