diff options
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_stencil_spawner.h')
-rw-r--r-- | kivio/kiviopart/kiviosdk/kivio_stencil_spawner.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_stencil_spawner.h b/kivio/kiviopart/kiviosdk/kivio_stencil_spawner.h index 7ef99993..436ffb2b 100644 --- a/kivio/kiviopart/kiviosdk/kivio_stencil_spawner.h +++ b/kivio/kiviopart/kiviosdk/kivio_stencil_spawner.h @@ -19,13 +19,13 @@ #ifndef KIVIO_STENCIL_SPAWNER_H #define KIVIO_STENCIL_SPAWNER_H -#include <qstring.h> -#include <qpixmap.h> -#include <qdom.h> -#include <qobject.h> +#include <tqstring.h> +#include <tqpixmap.h> +#include <tqdom.h> +#include <tqobject.h> -class QPainter; -class QRect; +class TQPainter; +class TQRect; class KivioStencilSpawnerInfo; class KivioStencilSpawnerSet; class KivioStencil; @@ -33,8 +33,8 @@ class KivioStencil; class KivioStencilSpawner { protected: - QString m_fileName; - QPixmap m_icon; + TQString m_fileName; + TQPixmap m_icon; KivioStencilSpawnerSet *m_pSet; KivioStencilSpawnerInfo *m_pInfo; @@ -45,24 +45,24 @@ public: KivioStencilSpawner( KivioStencilSpawnerSet * ); virtual ~KivioStencilSpawner(); - virtual bool load( const QString & ); - virtual bool loadXML( const QString &, QDomDocument & ); - virtual QDomElement saveXML( QDomDocument & ); + virtual bool load( const TQString & ); + virtual bool loadXML( const TQString &, TQDomDocument & ); + virtual TQDomElement saveXML( TQDomDocument & ); virtual KivioStencil *newStencil(); - virtual KivioStencil *newStencil(const QString& args); + virtual KivioStencil *newStencil(const TQString& args); - virtual QString fileName() { return m_fileName; } + virtual TQString fileName() { return m_fileName; } virtual KivioStencilSpawnerSet *set() { return m_pSet; } virtual KivioStencilSpawnerInfo *info() { return m_pInfo; } virtual float defWidth() { return m_defWidth; } virtual float defHeight() { return m_defHeight; } - virtual QPixmap *icon() { return &m_icon; } + virtual TQPixmap *icon() { return &m_icon; } -// virtual void drawIcon( QPainter *, QRect *, bool ); +// virtual void drawIcon( TQPainter *, TQRect *, bool ); }; #endif |