Index: kconfiggroup.h
===================================================================
--- kconfiggroup.h	(revision 728415)
+++ kconfiggroup.h	(working copy)
@@ -169,10 +169,10 @@
 
     template <typename T>
         T readEntry( const QString& pKey, const T& aDefault) const
-    { return readEntry(pKey.toUtf8(), aDefault); }
+    { return readListCheck(pKey.toUtf8(), aDefault); }
     template <typename T>
         T readEntry( const char *key, const T& aDefault) const
-    { return readEntry(QByteArray(key), aDefault); }
+    { return readEntry(QString(key), aDefault); }
 
     /**
      * Reads a list of strings from the config object.
@@ -237,14 +237,17 @@
      * @copydoc writeEntry( const char*, const QString&, WriteConfigFlags )
      */
     template <typename T>
-    void writeEntry(const QByteArray &key, const T& value, WriteConfigFlags pFlags = Normal )
+    void writeEntry(const QByteArray &key, const T& value, WriteConfigFlags pFlags /*= Normal*/ )
         { writeListCheck(key, value, pFlags); }
     template <typename T>
-    void writeEntry( const QString& pKey, const T& value, WriteConfigFlags pFlags = Normal )
-        { writeEntry( pKey.toUtf8(), value, pFlags ); }
-    template <typename T>
-    void writeEntry( const char *key, const T& value, WriteConfigFlags pFlags = Normal )
-        { writeEntry( QByteArray(key), value, pFlags ); }
+    void writeEntry(const QByteArray &key, const T& value )
+        { writeListCheck(key, value, Normal); }
+//    template <typename T>
+//    void writeEntry( const QString& pKey, const T& value, WriteConfigFlags pFlags = Normal )
+//        { writeEntry( pKey.toUtf8(), value, pFlags ); }
+//    template <typename T>
+//    void writeEntry( const char *key, const T& value, WriteConfigFlags pFlags = Normal )
+//        { writeEntry( QByteArray(key), value, pFlags ); }
 
 
     /**
@@ -257,15 +260,22 @@
      *
      * @see  writeEntry()
      */
-    void writeEntry( const QString& pKey, const QStringList &value,
+/*    void writeEntry( const QString& pKey, const QStringList &value,
                      char sep = ',',
                      WriteConfigFlags pFlags = Normal );
     void writeEntry( const char *pKey, const QStringList &value,
                      char sep = ',',
-                     WriteConfigFlags pFlags = Normal );
+                     WriteConfigFlags pFlags = Normal );*/
     void writeEntry( const QByteArray &key, const QStringList &value,
                      char sep = ',',
                      WriteConfigFlags pFlags = Normal );
+/*    {
+        Q_ASSERT(!d->bConst);
+        QList<QByteArray> balist;
+        foreach(const QString &entry, list)
+            balist.append(entry.toUtf8());
+        writeEntry(key, KConfigGroupPrivate::convertList(balist, sep), flags);
+    }*/
 
     /**
      * Writes a file path.
@@ -278,8 +288,8 @@
      * @param path The path to write.
      * @param pFlags       The flags to use when writing this entry.
      */
-    void writePathEntry( const QString& pKey, const QString & path,
-                         WriteConfigFlags pFlags = Normal );
+//    void writePathEntry( const QString& pKey, const QString & path,
+//                         WriteConfigFlags pFlags = Normal );
     void writePathEntry( const char *pKey, const QString & path,
                          WriteConfigFlags pFlags = Normal );
     void writePathEntry( const QByteArray &key, const QString & path,
@@ -402,9 +412,9 @@
     void clean();
     ConfigState getConfigState() const;
 
-    inline void writeEntry(const char *key, const char *value, WriteConfigFlags pFlags = Normal);
-    inline void writeEntry(const QByteArray &key, const char *value, WriteConfigFlags pFlags = Normal);
-    inline void writeEntry(const QString &key, const char *value, WriteConfigFlags pFlags = Normal);
+//    inline void writeEntry(const char *key, const char *value, WriteConfigFlags pFlags = Normal);
+//    inline void writeEntry(const QByteArray &key, const char *value, WriteConfigFlags pFlags = Normal);
+//    inline void writeEntry(const QString &key, const char *value, WriteConfigFlags pFlags = Normal);
 protected:
     bool hasGroupImpl(const QByteArray &group) const;
     KConfigGroup groupImpl(const QByteArray &b);
@@ -488,7 +498,7 @@
 T KConfigGroup::readListCheck(const QByteArray &key, const T &defaultValue) const
 {
     ConversionCheck::to_QVariant<T>();
-    return qVariantValue<T>(readEntry(key, QVariant::fromValue(defaultValue)));
+    return T(); //qVariantValue<T>(readListCheck(key, QVariant::fromValue(defaultValue)));
 }
 
 template <typename T>
@@ -530,19 +540,19 @@
 template<>
 KDECORE_EXPORT void KConfigGroup::writeEntry<QVariantList>(const QByteArray &key, const QVariantList &value, KConfigBase::WriteConfigFlags pFlags);
 
-inline void KConfigGroup::writeEntry(const char *key, const char *value, WriteConfigFlags pFlags)
-{ writeEntry<const char *>(QByteArray(key), value, pFlags); }
-inline void KConfigGroup::writeEntry(const QByteArray &key, const char *value, WriteConfigFlags pFlags)
-{ writeEntry<const char *>(key, value, pFlags); }
-inline void KConfigGroup::writeEntry(const QString &key, const char *value, WriteConfigFlags pFlags)
-{ writeEntry<const char *>(key.toUtf8(), value, pFlags); }
+//inline void KConfigGroup::writeEntry(const char *key, const char *value, WriteConfigFlags pFlags)
+//{ writeEntry<const char *>(QByteArray(key), value, pFlags); }
+//inline void KConfigGroup::writeEntry(const QByteArray &key, const char *value, WriteConfigFlags pFlags)
+//{ writeEntry<const char *>(key, value, pFlags); }
+//inline void KConfigGroup::writeEntry(const QString &key, const char *value, WriteConfigFlags pFlags)
+//{ writeEntry<const char *>(key.toUtf8(), value, pFlags); }
 
 template <typename T>
 void KConfigGroup::writeListCheck( const QByteArray &key, const QList<T>& list,
                               WriteConfigFlags pFlags )
 {
-  ConversionCheck::to_QVariant<T>();
-  ConversionCheck::to_QString<T>();
+//  ConversionCheck::to_QVariant<T>();
+//  ConversionCheck::to_QString<T>();
 
   QVariantList vList;
   Q_FOREACH(const T &value, list)
@@ -555,7 +565,7 @@
 inline void KConfigGroup::writeListCheck( const QByteArray &key, const T& value,
                               WriteConfigFlags pFlags )
 {
-  ConversionCheck::to_QVariant<T>();
+//  ConversionCheck::to_QVariant<T>();
   writeEntry( key, qVariantFromValue(value), pFlags );
 }
 
Index: kconfiggroup.cpp
===================================================================
--- kconfiggroup.cpp	(revision 728415)
+++ kconfiggroup.cpp	(working copy)
@@ -967,7 +967,7 @@
     writeEntry(key, data, flags);
 }
 
-void KConfigGroup::writeEntry(const QString& pKey, const QStringList &value, char sep, WriteConfigFlags flags)
+/*void KConfigGroup::writeEntry(const QString& pKey, const QStringList &value, char sep, WriteConfigFlags flags)
 {
     writeEntry( pKey.toUtf8(), value, sep, flags );
 }
@@ -975,7 +975,7 @@
 void KConfigGroup::writeEntry(const char *pKey, const QStringList &value, char sep, WriteConfigFlags flags)
 {
     writeEntry(QByteArray(pKey), value, sep, flags );
-}
+}*/
 
 void KConfigGroup::writeEntry(const QByteArray &key, const QStringList &list, char sep, WriteConfigFlags flags)
 {
@@ -1142,7 +1142,7 @@
    return path;
 }
 
-void KConfigGroup::writePathEntry(const QString &key, const QString & path, WriteConfigFlags flags)
+/*void KConfigGroup::writePathEntry(const QString &key, const QString & path, WriteConfigFlags flags)
 {
    writePathEntry(key.toUtf8(), path, flags);
 }
@@ -1150,7 +1150,7 @@
 void KConfigGroup::writePathEntry(const char *key, const QString & path, WriteConfigFlags flags)
 {
    writePathEntry(QByteArray(key), path, flags);
-}
+}*/
 
 void KConfigGroup::writePathEntry(const QByteArray &key, const QString &path, WriteConfigFlags flags)
 {
