summaryrefslogtreecommitdiffstats
path: root/kivio/plugins/kiviotexttool/stenciltexteditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/plugins/kiviotexttool/stenciltexteditor.h')
-rw-r--r--kivio/plugins/kiviotexttool/stenciltexteditor.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/kivio/plugins/kiviotexttool/stenciltexteditor.h b/kivio/plugins/kiviotexttool/stenciltexteditor.h
index 0c2a3b1a..d57cb9dd 100644
--- a/kivio/plugins/kiviotexttool/stenciltexteditor.h
+++ b/kivio/plugins/kiviotexttool/stenciltexteditor.h
@@ -21,8 +21,8 @@
#include <kdialogbase.h>
-class QFont;
-class QColor;
+class TQFont;
+class TQColor;
namespace Kivio {
@@ -34,21 +34,22 @@ class StencilTextEditorUI;
class StencilTextEditor : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- StencilTextEditor(const QString& caption, QWidget *parent = 0, const char *name = 0);
+ StencilTextEditor(const TQString& caption, TQWidget *tqparent = 0, const char *name = 0);
~StencilTextEditor();
- void setFont(const QFont& font);
- void setFontColor(const QColor& color);
- void setBackgroundColor(const QColor& color);
+ void setFont(const TQFont& font);
+ void setFontColor(const TQColor& color);
+ void setBackgroundColor(const TQColor& color);
- QFont font() const;
- QColor fontColor() const;
- Qt::AlignmentFlags horizontalAlignment() const;
- Qt::AlignmentFlags verticalAlignment() const;
+ TQFont font() const;
+ TQColor fontColor() const;
+ TQt::AlignmentFlags horizontalAlignment() const;
+ TQt::AlignmentFlags verticalAlignment() const;
- void setText(const QString& text);
- QString text() const;
+ void setText(const TQString& text);
+ TQString text() const;
public slots:
void setHorizontalAlign(int flag);