summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2004-10-07 10:10:08 (UTC)
committer zautrix <zautrix>2004-10-07 10:10:08 (UTC)
commit95508093d45aaf062813b7824884f964ee2d4d9a (patch) (side-by-side diff)
tree94b311ea521dfd4a26912e4e70604bb270c9f9ca /korganizer
parentedd36b813763c304b104f276437c2c60ee9bd1f1 (diff)
downloadkdepimpi-95508093d45aaf062813b7824884f964ee2d4d9a.zip
kdepimpi-95508093d45aaf062813b7824884f964ee2d4d9a.tar.gz
kdepimpi-95508093d45aaf062813b7824884f964ee2d4d9a.tar.bz2
desktop fix
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp8
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
@@ -124,12 +124,15 @@
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#else
#include <qprocess.h>
#endif
+#ifdef DESKTOP_VERSION
+#include <kabc/stdaddressbook.h>
+#endif
using namespace KOrg;
using namespace KCal;
extern int globalFlagBlockAgenda;
extern int globalFlagBlockStartup;
@@ -151,13 +154,15 @@ class KOBeamPrefs : public QDialog
lay->addWidget( time ); time->setExclusive ( true ) ;
vcal = new QRadioButton(" vCalendar ", format );
ical = new QRadioButton(" iCalendar ", format );
vcal->setChecked( true );
tz = new QRadioButton(i18n(" With timezone "), time );
local = new QRadioButton(i18n(" Local time "), time );
- tz->setChecked( true );
+ tz->setChecked( true );#ifdef DESKTOP_VERSION
+#include <kabc/stdaddressbook.h>
+#endif
QPushButton * ok = new QPushButton( i18n("Beam via IR!"), this );
lay->addWidget( ok );
QPushButton * cancel = new QPushButton( i18n("Cancel"), this );
lay->addWidget( cancel );
connect ( ok,SIGNAL(clicked() ),this , SLOT ( accept() ) );
connect (cancel, SIGNAL(clicked() ), this, SLOT ( reject()) );
@@ -1327,13 +1332,12 @@ void CalendarView::syncSharp()
{
syncExternal( 0 );
}
-//#include <kabc/stdaddressbook.h>
bool CalendarView::importBday()
{
#ifndef KORG_NOKABC
#ifdef DESKTOP_VERSION
KABC::StdAddressBook* AddressBook = KABC::StdAddressBook::self( true );