[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/kpilot
From:       Adriaan de Groot <groot () kde ! org>
Date:       2005-04-10 23:06:43
Message-ID: 20050410230643.B03F463F () office ! kde ! org
[Download RAW message or body]

CVS commit by adridg: 

Add tests, fix headers


  A            lib/testactions.cc   1.1 [LGPL]
  M +6 -0      ChangeLog   1.251
  M +8 -1      lib/Makefile.am   1.28
  M +4 -4      lib/kpilotlink.h   1.37
  M +15 -15    lib/options.h   1.70
  M +7 -0      lib/syncAction.h   1.29


--- kdepim/kpilot/ChangeLog  #1.250:1.251
@@ -3,4 +3,10 @@
 
 
+2005-04-11  Adriaan de Groot
+* Bumped KPilot version.
+* Added a test program for some parts of the library. Woo! A first!
+  Finally something resembling actual software engineering in KPilot.
+* Cleaned up headers that weren't including all required (system) headers.
+
 2005-04-10  Adriaan de Groot
 * Some useful patches from Philip T. to the vcal conduit committed.

--- kdepim/kpilot/lib/Makefile.am  #1.27:1.28
@@ -36,3 +36,10 @@
 kde_kcfg_DATA = kpilotlib.kcfg
 
+check_PROGRAMS = testactions
+TESTS = testactions
+
+testactions_SOURCES = testactions.cc
+testactions_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+testactions_LDADD  = libkpilot.la
+
 include $(top_srcdir)/doc/api/Doxyfile.am

--- kdepim/kpilot/lib/kpilotlink.h  #1.36:1.37
@@ -36,5 +36,5 @@
 
 #include <qobject.h>
-
+#include <qptrlist.h>
 
 class QTimer;

--- kdepim/kpilot/lib/options.h  #1.69:1.70
@@ -222,5 +222,5 @@ inline kdbgstream& operator <<(kdbgstrea
 #endif
 
-#define KPILOT_VERSION  "4.5.0 (baby)"
+#define KPILOT_VERSION  "4.5.1 (baby)"
 
 

--- kdepim/kpilot/lib/syncAction.h  #1.28:1.29
@@ -36,4 +36,5 @@
 #include <qobject.h>
 #include <qstring.h>
+#include <qstringlist.h>
 
 #include "kpilotlink.h"
@@ -178,4 +179,10 @@ public:
                 */
                 bool operator ==(const Mode &m) const { return mode() == m; } ;
+                bool operator ==(const SyncMode &m) const
+                {
+                        return ( mode() == m.mode() ) &&
+                                ( isTest() == m.isTest() ) &&
+                                ( isLocal() == m.isLocal() );
+                } ;
 
                 /** Accessor for the test part of the mode. Test syncs should


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic