diff options
Diffstat (limited to 'kugar/kudesigner/kudesigner_doc.h')
-rw-r--r-- | kugar/kudesigner/kudesigner_doc.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/kugar/kudesigner/kudesigner_doc.h b/kugar/kudesigner/kudesigner_doc.h index 71fdde3c..318876d2 100644 --- a/kugar/kudesigner/kudesigner_doc.h +++ b/kugar/kudesigner/kudesigner_doc.h @@ -24,10 +24,10 @@ #include <KoCommandHistory.h> #include "plugin.h" -class QCanvas; -class QDomNode; -class QIODevice; -class QDomDocument; +class TQCanvas; +class TQDomNode; +class TQIODevice; +class TQDomDocument; namespace Kudesigner { @@ -37,27 +37,28 @@ class Canvas; class KudesignerDoc: public KoDocument { Q_OBJECT + TQ_OBJECT public: - KudesignerDoc( QWidget *parentWidget = 0, const char *widgetName = 0, QObject* parent = 0, const char* name = 0, bool singleViewMode = false ); + KudesignerDoc( TQWidget *tqparentWidget = 0, const char *widgetName = 0, TQObject* tqparent = 0, const char* name = 0, bool singleViewMode = false ); ~KudesignerDoc(); - virtual void paintContent( QPainter& painter, const QRect& rect, bool transparent = FALSE, double zoomX = 1.0, double zoomY = 1.0 ); + virtual void paintContent( TQPainter& painter, const TQRect& rect, bool transparent = FALSE, double zoomX = 1.0, double zoomY = 1.0 ); - virtual bool initDoc( InitDocFlags flags, QWidget* parentWidget ); + virtual bool initDoc( InitDocFlags flags, TQWidget* tqparentWidget ); - virtual bool loadOasis( const QDomDocument&, KoOasisStyles&, const QDomDocument&, KoStore* ); + virtual bool loadOasis( const TQDomDocument&, KoOasisStyles&, const TQDomDocument&, KoStore* ); virtual bool saveOasis( KoStore*, KoXmlWriter* ); - virtual bool loadXML( QIODevice *, const QDomDocument & ); - virtual QDomDocument saveXML(); + virtual bool loadXML( TQIODevice *, const TQDomDocument & ); + virtual TQDomDocument saveXML(); virtual int supportedSpecialFormats() const; - virtual bool saveToStream( QIODevice * dev ); + virtual bool saveToStream( TQIODevice * dev ); Kudesigner::Canvas *canvas(); - void loadPlugin( const QString& name ); + void loadPlugin( const TQString& name ); KuDesignerPlugin *plugin(); Dock propertyPosition(); void setForcedPropertyEditorPosition( Dock ); @@ -76,7 +77,7 @@ public slots: virtual void initEmpty(); protected: - virtual KoView* createViewInstance( QWidget* parent, const char* name ); + virtual KoView* createViewInstance( TQWidget* tqparent, const char* name ); virtual bool completeSaving( KoStore* store ); virtual bool completeLoading( KoStore* store ); |