summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrTextPreview.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrTextPreview.h')
-rw-r--r--kpresenter/KPrTextPreview.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/kpresenter/KPrTextPreview.h b/kpresenter/KPrTextPreview.h
index e9d91616..b4914251 100644
--- a/kpresenter/KPrTextPreview.h
+++ b/kpresenter/KPrTextPreview.h
@@ -1,28 +1,29 @@
#ifndef __textpreview_h__
#define __textpreview_h__
-#include <qframe.h>
+#include <tqframe.h>
#include "global.h"
-class KPrTextPreview : public QFrame
+class KPrTextPreview : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPrTextPreview( QWidget* parent, const char* name = 0 );
+ KPrTextPreview( TQWidget* tqparent, const char* name = 0 );
~KPrTextPreview() {}
- void setShadowDirection( ShadowDirection sd ) { shadowDirection = sd; repaint( true ); }
- void setShadowDistance( int sd ) { shadowDistance = sd; repaint( true ); }
- void setShadowColor( const QColor &sc ) { shadowColor = sc; repaint( true ); }
- void setAngle( double a ) { angle = a; repaint( true ); }
+ void setShadowDirection( ShadowDirection sd ) { shadowDirection = sd; tqrepaint( true ); }
+ void setShadowDistance( int sd ) { shadowDistance = sd; tqrepaint( true ); }
+ void setShadowColor( const TQColor &sc ) { shadowColor = sc; tqrepaint( true ); }
+ void setAngle( double a ) { angle = a; tqrepaint( true ); }
protected:
- void drawContents( QPainter* );
+ void drawContents( TQPainter* );
ShadowDirection shadowDirection;
int shadowDistance;
- QColor shadowColor;
+ TQColor shadowColor;
double angle;
};