-rw-r--r-- | korganizer/calendarview.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 1d62046..e4c067e 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -127,6 +127,9 @@ | |||
127 | #else | 127 | #else |
128 | #include <qprocess.h> | 128 | #include <qprocess.h> |
129 | #endif | 129 | #endif |
130 | #ifdef DESKTOP_VERSION | ||
131 | #include <kabc/stdaddressbook.h> | ||
132 | #endif | ||
130 | using namespace KOrg; | 133 | using namespace KOrg; |
131 | using namespace KCal; | 134 | using namespace KCal; |
132 | extern int globalFlagBlockAgenda; | 135 | extern int globalFlagBlockAgenda; |
@@ -154,7 +157,9 @@ class KOBeamPrefs : public QDialog | |||
154 | vcal->setChecked( true ); | 157 | vcal->setChecked( true ); |
155 | tz = new QRadioButton(i18n(" With timezone "), time ); | 158 | tz = new QRadioButton(i18n(" With timezone "), time ); |
156 | local = new QRadioButton(i18n(" Local time "), time ); | 159 | local = new QRadioButton(i18n(" Local time "), time ); |
157 | tz->setChecked( true ); | 160 | tz->setChecked( true );#ifdef DESKTOP_VERSION |
161 | #include <kabc/stdaddressbook.h> | ||
162 | #endif | ||
158 | QPushButton * ok = new QPushButton( i18n("Beam via IR!"), this ); | 163 | QPushButton * ok = new QPushButton( i18n("Beam via IR!"), this ); |
159 | lay->addWidget( ok ); | 164 | lay->addWidget( ok ); |
160 | QPushButton * cancel = new QPushButton( i18n("Cancel"), this ); | 165 | QPushButton * cancel = new QPushButton( i18n("Cancel"), this ); |
@@ -1330,7 +1335,6 @@ void CalendarView::syncSharp() | |||
1330 | } | 1335 | } |
1331 | 1336 | ||
1332 | 1337 | ||
1333 | //#include <kabc/stdaddressbook.h> | ||
1334 | bool CalendarView::importBday() | 1338 | bool CalendarView::importBday() |
1335 | { | 1339 | { |
1336 | #ifndef KORG_NOKABC | 1340 | #ifndef KORG_NOKABC |