summaryrefslogtreecommitdiffstats
path: root/example/example_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'example/example_view.h')
-rw-r--r--example/example_view.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/example/example_view.h b/example/example_view.h
index 932af33aa..3f4866f7c 100644
--- a/example/example_view.h
+++ b/example/example_view.h
@@ -23,22 +23,23 @@
#include <KoView.h>
class KAction;
-class QPaintEvent;
+class TQPaintEvent;
class ExamplePart;
class ExampleView : public KoView
{
Q_OBJECT
+ TQ_OBJECT
public:
- ExampleView( ExamplePart* part, QWidget* parent = 0, const char* name = 0 );
+ ExampleView( ExamplePart* part, TQWidget* tqparent = 0, const char* name = 0 );
protected slots:
void cut();
void copy();
protected:
- void paintEvent( QPaintEvent* );
+ void paintEvent( TQPaintEvent* );
virtual void updateReadWrite( bool readwrite );