summaryrefslogtreecommitdiffstats
path: root/karbon/core/vpattern.h
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/core/vpattern.h')
-rw-r--r--karbon/core/vpattern.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/karbon/core/vpattern.h b/karbon/core/vpattern.h
index 04870d7d..634a70dd 100644
--- a/karbon/core/vpattern.h
+++ b/karbon/core/vpattern.h
@@ -22,17 +22,17 @@
#include <KoPoint.h>
#include <koIconChooser.h>
-#include <qimage.h>
-#include <qpixmap.h>
+#include <tqimage.h>
+#include <tqpixmap.h>
#include <koffice_export.h>
-class QDomElement;
+class TQDomElement;
class KARBONBASE_EXPORT VPattern : public KoIconItem
{
public:
VPattern();
- VPattern( const QString &tilename );
+ VPattern( const TQString &tilename );
unsigned char *pixels();
unsigned int tileWidth() const;
@@ -44,29 +44,29 @@ public:
KoPoint vector() const { return m_vector; }
void setVector( const KoPoint &vector ) { m_vector = vector; }
- void load( const QString &tilename );
+ void load( const TQString &tilename );
- void save( QDomElement& element ) const;
- void load( const QDomElement& element );
+ void save( TQDomElement& element ) const;
+ void load( const TQDomElement& element );
- void transform( const QWMatrix& m );
+ void transform( const TQWMatrix& m );
// for KoIconItem
- QPixmap& pixmap() const ;
- QPixmap& thumbPixmap() const;
+ TQPixmap& pixmap() const ;
+ TQPixmap& thumbPixmap() const;
bool isValid() const { return m_valid; }
- QString tilename() const { return m_tilename; }
+ TQString tilename() const { return m_tilename; }
private:
// coordinates:
KoPoint m_origin;
KoPoint m_vector;
- QImage m_image;
- QPixmap m_pixmap;
- QPixmap m_pixmapThumb;
- QString m_tilename;
+ TQImage m_image;
+ TQPixmap m_pixmap;
+ TQPixmap m_pixmapThumb;
+ TQString m_tilename;
bool m_valid;
};