Index: scrollkeepertreebuilder.cpp
===================================================================
--- scrollkeepertreebuilder.cpp	(revision 749421)
+++ scrollkeepertreebuilder.cpp	(working copy)
@@ -28,7 +28,7 @@
 #include <kdebug.h>
 #include <kglobal.h>
 #include <klocale.h>
-#include <k3procio.h>
+#include <kprocess.h>
 
 #include <QtXml/QtXml>
 #include <QFile>
@@ -58,14 +58,16 @@
 
   kDebug(1400) << "ScrollKeeper language: " << lang;
 
-  K3ProcIO proc;
+  KProcess proc;
   proc << "scrollkeeper-get-content-list";
   proc << lang;
-  connect(&proc,SIGNAL(readReady(K3ProcIO *)),SLOT(getContentsList(K3ProcIO *)));
-  if (!proc.start(K3Process::Block)) {
+  
+  proc.start();
+  if ( !proc.waitForFinished() ) {
     kDebug(1400) << "Could not execute scrollkeeper-get-content-list";
     return 0;
   }
+  mContentsList = proc.readAllStandardOutput();
 
   if (!QFile::exists(mContentsList)) {
     kDebug(1400) << "Scrollkeeper contents file '" << mContentsList
@@ -106,14 +108,6 @@
   return result;
 }
 
-void ScrollKeeperTreeBuilder::getContentsList( K3ProcIO *proc )
-{
-  QString filename;
-  proc->readln( filename, true );
-
-  mContentsList = filename;
-}
-
 int ScrollKeeperTreeBuilder::insertSection( NavigatorItem *parent,
                                             NavigatorItem *after,
                                             const QDomNode &sectNode,
Index: scrollkeepertreebuilder.h
===================================================================
--- scrollkeepertreebuilder.h	(revision 749421)
+++ scrollkeepertreebuilder.h	(working copy)
@@ -24,8 +24,6 @@
 
 #include "navigatoritem.h"
 
-class K3ProcIO;
-
 class QDomNode;
 
 namespace KHC {
@@ -38,9 +36,6 @@
 
     NavigatorItem *build( NavigatorItem *parent, NavigatorItem *after );
 
-  private Q_SLOTS:
-    void getContentsList( K3ProcIO *proc );
-
   private:
     void loadConfig();
     int insertSection( NavigatorItem *parent, NavigatorItem *after,
