summaryrefslogtreecommitdiff
blob: 6ea731a6953e7d25695e78673a17911406b4bff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
--- admin/acinclude.m4.in.old	2005-12-22 03:44:57.000000000 +0900
+++ admin/acinclude.m4.in	2005-12-22 03:45:33.000000000 +0900
@@ -3339,7 +3339,7 @@
    AC_CACHE_VAL(kde_cv_func_stpcpy,
    [
    kde_safe_cxxflags=$CXXFLAGS
-   CXXFLAGS="-Werror"
+   CXXFLAGS=""
    AC_LANG_SAVE
    AC_LANG_CPLUSPLUS
    AC_TRY_COMPILE([
--- src/Makefile.am.old	2005-12-22 03:46:25.000000000 +0900
+++ src/Makefile.am	2005-12-22 03:46:44.000000000 +0900
@@ -37,5 +37,5 @@
 service_DATA = syncekonnector.desktop
 libsyncekonnector_la_LIBADD = $(RRA_LIB) $(RAPI_LIB) $(SYNCE_LIB)\
 	$(LIB_KABC_FILE) $(LIB_KONNECTOR) $(LIB_KSYNC)
-AM_CFLAGS = -Werror -pedantic-errors -Wall
-AM_CXXFLAGS = -Werror -pedantic-errors -Wall
+AM_CFLAGS = -pedantic-errors -Wall
+AM_CXXFLAGS = -pedantic-errors -Wall
--- src/PocketPCKonnector.cpp.old	2005-12-22 03:47:41.000000000 +0900
+++ src/PocketPCKonnector.cpp	2005-12-22 03:51:28.000000000 +0900
@@ -31,6 +31,7 @@
 #include <kitchensync/calendarsyncee.h>
 #include <kitchensync/konnectorinfo.h>
 
+#include "libkdepim/kpimprefs.h"
 
 class PocketPCKonnectorFactory : public KRES::PluginFactoryBase
 {
@@ -58,7 +59,8 @@
 namespace KSync
 {
     PocketPCKonnector::PocketPCKonnector( const KConfig* p_config )
-            : KSync::Konnector( p_config ), firstSync(false)
+            : KSync::Konnector( p_config ),
+	    					mCalendar( KPimPrefs::timezone() )
     {
         if ( p_config ) {
             m_pdaName = p_config->readEntry( "PDAName" );
@@ -284,6 +286,15 @@
     }
 
 
+    QStringList PocketPCKonnector::supportedFilterTypes() const
+    {
+	    QStringList types;
+	    types << "addressbook" << "calendar";
+
+	    return types;
+    }
+
+    
     void PocketPCKonnector::writeConfig( KConfig* p_config )
     {
         Konnector::writeConfig ( p_config );
--- src/PocketPCKonnector.h.old	2005-12-22 03:51:57.000000000 +0900
+++ src/PocketPCKonnector.h	2005-12-22 03:52:27.000000000 +0900
@@ -99,6 +99,7 @@
      * @return just some information
      */
     virtual KonnectorInfo info() const;
+    virtual QStringList supportedFilterTypes() const;
     /** Store the configuration for a specific instance.
      * @see KSync::Konnector::writeConfig()
      */