summaryrefslogtreecommitdiffstats
path: root/kugar/part/kugar_part.h
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/part/kugar_part.h')
-rw-r--r--kugar/part/kugar_part.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/kugar/part/kugar_part.h b/kugar/part/kugar_part.h
index 3f54e42c..cc778bf8 100644
--- a/kugar/part/kugar_part.h
+++ b/kugar/part/kugar_part.h
@@ -17,23 +17,24 @@ class KugarBrowserExtension;
class KugarPart: public KoDocument
{
Q_OBJECT
+ TQ_OBJECT
public:
- KugarPart( QWidget *parentWidget = 0, const char *widgetName = 0,
- QObject* parent = 0,
+ KugarPart( TQWidget *tqparentWidget = 0, const char *widgetName = 0,
+ TQObject* tqparent = 0,
const char* name = 0, bool singleViewMode = false );
virtual ~KugarPart();
- virtual bool initDoc( InitDocFlags flags, QWidget* parentWidget = 0 );
+ virtual bool initDoc( InitDocFlags flags, TQWidget* tqparentWidget = 0 );
- 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 void paintContent( QPainter&, const QRect&,
+ virtual void paintContent( TQPainter&, const TQRect&,
bool /*transparent*/ = false,
double /*zoomX*/ = 1.0, double /*zoomY*/ = 1.0 )
{
@@ -46,19 +47,19 @@ public:
}
protected:
- virtual KoView* createViewInstance( QWidget* parent, const char* name );
+ virtual KoView* createViewInstance( TQWidget* tqparent, const char* name );
public slots:
- void setForcedUserTemplate( const QString &/*name*/ )
+ void setForcedUserTemplate( const TQString &/*name*/ )
{
;
}
private slots:
- void slotPreferredTemplate( const QString & );
+ void slotPreferredTemplate( const TQString & );
private:
- QString m_reportData;
+ TQString m_reportData;
Kugar::MReportEngine *m_reportEngine;
bool m_templateOk;
KURL m_docURL;