1.7.16 Small bugfixes
authorinsilmaril
Mon May 08 13:25:46 2006 +0000 (2006-05-08)
changeset 312d1d464798f08
parent 311 6a7db028088e
child 313 6ae1c6f1b7eb
1.7.16 Small bugfixes
floatimageobj.cpp
imports.cpp
     1.1 --- a/floatimageobj.cpp	Mon May 08 13:25:46 2006 +0000
     1.2 +++ b/floatimageobj.cpp	Mon May 08 13:25:46 2006 +0000
     1.3 @@ -42,6 +42,7 @@
     1.4  	icon=new ImageObj (canvas);
     1.5  	icon->move (absPos.x(), absPos.y() );
     1.6  	icon->setVisibility (true);
     1.7 +	setZ (Z_FLOATIMG);
     1.8  	bbox.setSize (QSize(icon->size().width(), icon->size().height()));
     1.9  	clickBox.setSize (QSize(icon->size().width(), icon->size().height()));
    1.10  	filename="";
     2.1 --- a/imports.cpp	Mon May 08 13:25:46 2006 +0000
     2.2 +++ b/imports.cpp	Mon May 08 13:25:46 2006 +0000
     2.3 @@ -64,6 +64,21 @@
     2.4  
     2.5  
     2.6  /////////////////////////////////////////////////
     2.7 +bool ImportFirefoxBookmarks::transform()
     2.8 +{
     2.9 +	transformedFile=tmpDir.path()+"/bookmarks.xml";
    2.10 +
    2.11 +	XSLTProc p;
    2.12 +	p.setInputFile (tmpDir.home().path()+"/.kde/share/apps/konqueror/bookmarks.xml");
    2.13 +	p.setOutputFile (transformedFile);
    2.14 +	p.setXSLFile (vymBaseDir.path()+"/styles/firefoxbookmarks2vym.xsl");
    2.15 +	p.process();
    2.16 +
    2.17 +	return true;
    2.18 +}
    2.19 +
    2.20 +
    2.21 +/////////////////////////////////////////////////
    2.22  bool ImportMM::transform()
    2.23  {
    2.24  	// try to unzip