Shouldn't this be readConfig(const KConfigGroup & group) ?
Sorry about the top-post.

On Jun 30, 2009 3:36 PM, "Andreas Pakulat" <apaku@gmx.de> wrote:

SVN commit 989749 by apaku:

Provide a readConfig method so one can let the widget read its config from a
custom config group. Useful when embedding this widget somewhere else than the
kfiledialog.


 M  +6 -0      kfilewidget.cpp
 M  +7 -0      kfilewidget.h


--- trunk/KDE/kdelibs/kfile/kfilewidget.cpp #989748:989749
@@ -2645,6 +2645,11 @@
    return d->ops;
 }

+void KFileWidget::readConfig( KConfigGroup& group )
+{
+    d->readConfig(group);
+}
+
 QString KFileWidgetPrivate::locationEditCurrentText() const
 {
    return QDir::fromNativeSeparators(locationEdit->currentText().trimmed());
@@ -2678,4 +2683,5 @@
    ops->setInlinePreviewShown(show);
 }

+
 #include "kfilewidget.moc"
--- trunk/KDE/kdelibs/kfile/kfilewidget.h #989748:989749
@@ -481,6 +481,13 @@
     */
    KDirOperator* dirOperator();

+    /**
+     * reads the configuration for this widget from the given config group
+     * @param group the KConfiGroup to read from
+     * @since 4.4
+     */
+    void readConfig( KConfigGroup& group );
+
 private:
    friend class KFileWidgetPrivate;
    KFileWidgetPrivate* const d;