summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrBrushProperty.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrBrushProperty.h')
-rw-r--r--kpresenter/KPrBrushProperty.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/kpresenter/KPrBrushProperty.h b/kpresenter/KPrBrushProperty.h
index 1a49c685..58f415d8 100644
--- a/kpresenter/KPrBrushProperty.h
+++ b/kpresenter/KPrBrushProperty.h
@@ -19,8 +19,8 @@
#ifndef BRUSHSTYLEWIDGET_H
#define BRUSHSTYLEWIDGET_H
-#include <qbrush.h>
-#include <qwidget.h>
+#include <tqbrush.h>
+#include <tqwidget.h>
#include "KPrCommand.h"
@@ -28,16 +28,17 @@ class BrushPropertyUI;
class GradientPropertyUI;
class KPrPBPreview;
-class QWidgetStack;
+class TQWidgetStack;
class KComboBox;
-class KPrBrushProperty : public QWidget
+class KPrBrushProperty : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPrBrushProperty( QWidget *parent, const char *name, const KPrBrushCmd::Brush &brush );
+ KPrBrushProperty( TQWidget *tqparent, const char *name, const KPrBrushCmd::Brush &brush );
~KPrBrushProperty();
int getBrushPropertyChange() const;
@@ -49,22 +50,22 @@ public:
protected:
FillType getFillType() const;
- QBrush getQBrush() const;
+ TQBrush getTQBrush() const;
- QColor getGColor1() const;
- QColor getGColor2() const;
+ TQColor getGColor1() const;
+ TQColor getGColor2() const;
BCType getGType() const;
bool getGUnbalanced() const;
int getGXFactor() const;
int getGYFactor() const;
- void setQBrush( const QBrush &brush );
- void setGradient( const QColor &_c1, const QColor &_c2, BCType _t,
+ void setTQBrush( const TQBrush &brush );
+ void setGradient( const TQColor &_c1, const TQColor &_c2, BCType _t,
bool _unbalanced, int _xfactor, int _yfactor );
void setUnbalancedEnabled( bool state );
KComboBox *m_typeCombo;
- QWidgetStack *m_stack;
+ TQWidgetStack *m_stack;
BrushPropertyUI *m_brushUI;
GradientPropertyUI *m_gradientUI;
KPrPBPreview *m_preview_color;