diff -r d1d464798f08 -r ffe2a4396694 imports.cpp --- a/imports.cpp Mon May 08 13:25:46 2006 +0000 +++ b/imports.cpp Fri Jun 16 08:27:11 2006 +0000 @@ -68,11 +68,17 @@ { transformedFile=tmpDir.path()+"/bookmarks.xml"; - XSLTProc p; - p.setInputFile (tmpDir.home().path()+"/.kde/share/apps/konqueror/bookmarks.xml"); - p.setOutputFile (transformedFile); - p.setXSLFile (vymBaseDir.path()+"/styles/firefoxbookmarks2vym.xsl"); - p.process(); + QStringList lines; + QFile file( inputFile ); + if ( file.open( IO_ReadOnly ) ) + { + QTextStream stream( &file ); + while ( !stream.atEnd() ) + lines += stream.readLine(); // line of text excluding '\n' + file.close(); + } + // FIXME + // Generate vym from broken bookmarks above... return true; }