diff -r 58eadc221caf -r 7758f3ceb98a imports.cpp --- a/imports.cpp Mon May 15 07:32:10 2006 +0000 +++ b/imports.cpp Mon May 15 07:32:10 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; }