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

List:       kde-commits
Subject:    kdenetwork/kpf/src
From:       Helge Deller <deller () kde ! org>
Date:       2003-06-25 7:03:49
[Download RAW message or body]

CVS commit by deller: 

cleanups & roaming user fixes


  M +1 -1      Applet.cpp   1.14
  M +8 -8      Defaults.cpp   1.4
  M +2 -2      ErrorMessageConfigDialog.cpp   1.4
  M +1 -1      Response.cpp   1.6
  M +1 -1      Utils.cpp   1.10


--- kdenetwork/kpf/src/Applet.cpp  #1.13:1.14
@@ -50,5 +50,5 @@
 #include "ServerWizard.h"
 
-static const char * kpfVersion = "1.0.1";
+static const char kpfVersion[] = "1.0.1";
 
 extern "C"

--- kdenetwork/kpf/src/Defaults.cpp  #1.3:1.4
@@ -35,12 +35,12 @@ namespace KPF
     const bool  DefaultCustomErrors    = false;
 
-    static const char       * Name                    = "kpfappletrc";
-    static const char       * KeyServerRootList       = "ServerRootList";
-    static const char       * KeyGroupPrefix          = "Server_";
-    static const char       * KeyListenPort           = "ListenPort";
-    static const char       * KeyBandwidthLimit       = "BandwidthLimit";
-    static const char       * KeyConnectionLimit      = "ConnectionLimit";
-    static const char       * KeyFollowSymlinks       = "FollowSymlinks";
-    static const char       * KeyCustomErrors         = "CustomErrors";
+    static const char       Name[]                    = "kpfappletrc";
+    static const char       KeyServerRootList[]       = "ServerRootList";
+    static const char       KeyGroupPrefix[]          = "Server_";
+    static const char       KeyListenPort[]           = "ListenPort";
+    static const char       KeyBandwidthLimit[]       = "BandwidthLimit";
+    static const char       KeyConnectionLimit[]      = "ConnectionLimit";
+    static const char       KeyFollowSymlinks[]       = "FollowSymlinks";
+    static const char       KeyCustomErrors[]         = "CustomErrors";
 
     QString name()

--- kdenetwork/kpf/src/ErrorMessageConfigDialog.cpp  #1.3:1.4
@@ -100,5 +100,5 @@ namespace KPF
     {
       QString originalPath =
-        config.readEntry(QString::number(*it));
+        config.readPathEntry(QString::number(*it));
 
       QString responseName(translatedResponseName(*it));
@@ -139,5 +139,5 @@ namespace KPF
     for (; it.current(); ++it)
     {
-      config.writeEntry
+      config.writePathEntry
         (
          QString::number(it.current()->code),

--- kdenetwork/kpf/src/Response.cpp  #1.5:1.6
@@ -135,5 +135,5 @@ namespace KPF
       config.setGroup("ErrorMessageOverrideFiles");
 
-      QString filename = config.readEntry(QString::number(code));
+      QString filename = config.readPathEntry(QString::number(code));
 
       if (!filename.isEmpty())

--- kdenetwork/kpf/src/Utils.cpp  #1.9:1.10
@@ -39,5 +39,5 @@ namespace KPF
   static QStringList monthList;
 
-  static const char * rfc1123Format = "%a, %d %b %Y %H:%M:%S GMT";
+  static const char rfc1123Format[] = "%a, %d %b %Y %H:%M:%S GMT";
 
   static time_t qDateTimeToTimeT(const QDateTime & t)


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

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