changes for 1.6.9
authorinsilmaril
Fri, 08 Jul 2005 07:24:42 +0000
changeset 1133b0b9352cf49
parent 112 276468359068
child 114 ba1ec9a16516
changes for 1.6.9
floatimageobj.cpp
floatimageobj.h
     1.1 --- a/floatimageobj.cpp	Fri Jul 08 07:24:42 2005 +0000
     1.2 +++ b/floatimageobj.cpp	Fri Jul 08 07:24:42 2005 +0000
     1.3 @@ -66,9 +66,22 @@
     1.4  
     1.5  int FloatImageObj::z ()
     1.6  {
     1.7 +<<<<<<< floatimageobj.cpp
     1.8  	return qRound (icon->z());
     1.9  }
    1.10  
    1.11 +void FloatImageObj::load (const QPixmap &pixmap)
    1.12 +{
    1.13 +  icon->load(pixmap);
    1.14 +  bbox.setSize (QSize(icon->size().width()+8, icon->size().height()+8));
    1.15 +  positionBBox();
    1.16 +  filetype="PNG";
    1.17 +  filename="noname.png";
    1.18 +=======
    1.19 +	return qRound (icon->z());
    1.20 +>>>>>>> 1.2
    1.21 +}
    1.22 +
    1.23  bool FloatImageObj::load (const QString &fn)
    1.24  {	
    1.25  	if( icon->load (fn))
     2.1 --- a/floatimageobj.h	Fri Jul 08 07:24:42 2005 +0000
     2.2 +++ b/floatimageobj.h	Fri Jul 08 07:24:42 2005 +0000
     2.3 @@ -15,6 +15,7 @@
     2.4  	virtual void setZ (const int&);
     2.5  	virtual int z();
     2.6  
     2.7 +	virtual void load (const QPixmap &);
     2.8  	virtual bool load (const QString &);
     2.9  	virtual void save (const QString &, const char *);
    2.10  	virtual void setOriginalFilename(const QString &);