diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-20 01:29:50 +0000 |
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-20 01:29:50 +0000 |
| commit | 8362bf63dea22bbf6736609b0f49c152f975eb63 (patch) | |
| tree | 0eea3928e39e50fae91d4e68b21b1e6cbae25604 /karbon/core/vimage.h | |
| download | koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.tar.gz koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.zip | |
Added old abandoned KDE3 version of koffice
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1077364 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'karbon/core/vimage.h')
| -rw-r--r-- | karbon/core/vimage.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/karbon/core/vimage.h b/karbon/core/vimage.h new file mode 100644 index 000000000..d73e4ee70 --- /dev/null +++ b/karbon/core/vimage.h @@ -0,0 +1,37 @@ +/* This file is part of the KDE project + Copyright (C) 2001, 2002, 2003 The Karbon Developers +*/ + +#ifndef __VIMAGE_H__ +#define __VIMAGE_H__ + +#include "vobject.h" +#include <koffice_export.h> +class QImage; + +// all vobjects exist inside a layer. + +class KARBONBASE_EXPORT VImage : public VObject +{ +public: + VImage( VObject *parent, const QString &fname = "" ); + VImage( const VImage & ); + virtual ~VImage(); + + virtual void draw( VPainter *painter, const KoRect *rect ) const; + + virtual void transform( const QWMatrix& m ); + virtual VObject* clone() const; + + virtual void save( QDomElement& element ) const; + virtual void load( const QDomElement& element ); + + virtual void accept( VVisitor& visitor ); + +private: + QImage *m_image; + QString m_fname; + QWMatrix m_matrix; +}; + +#endif |
