$OpenBSD: patch-konq-embed_dropin_kio_slavebase_cpp,v 1.1 2002/03/30 18:48:59 espie Exp $
--- konq-embed/dropin/kio/slavebase.cpp.orig	Fri Feb  1 13:17:31 2002
+++ konq-embed/dropin/kio/slavebase.cpp	Sat Mar 30 19:35:08 2002
@@ -29,6 +29,7 @@
 
 #include "http.h"
 #include "kio_file.h"
+#include "kio_ftp.h"
 
 #include "slaveinterface.h"
 #include "connection.h"
@@ -154,13 +155,16 @@ SlaveBase *SlaveBase::createSlave( const
 #endif
     else if ( prot == "file" )
         res = new File();
+    else if ( prot == "ftp" )
+    	res = new Ftp("", "" );
 
     return res;
 }
 
 bool SlaveBase::knownProtocol( const QString &protocol )
 {
-    return ( protocol == "http" || protocol == "https" || protocol == "file" );
+    return ( protocol == "http" || protocol == "https" || 
+    	protocol == "ftp" || protocol == "file" );
 }
 
 SlaveBase::SlaveBase( const QCString &protocol, const QCString &, const QCString & )
