summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/multilineeditorimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/multilineeditorimpl.h')
-rw-r--r--kdevdesigner/designer/multilineeditorimpl.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/kdevdesigner/designer/multilineeditorimpl.h b/kdevdesigner/designer/multilineeditorimpl.h
index 5abf5339..89a22db2 100644
--- a/kdevdesigner/designer/multilineeditorimpl.h
+++ b/kdevdesigner/designer/multilineeditorimpl.h
@@ -27,8 +27,8 @@
#ifndef MULTILINEEDITORIMPL_H
#define MULTILINEEDITORIMPL_H
-#include <qaction.h>
-#include <qtextedit.h>
+#include <tqaction.h>
+#include <tqtextedit.h>
#include <private/qrichtext_p.h>
#include "multilineeditor.h"
@@ -41,8 +41,8 @@ class TextEdit : public QTextEdit
Q_OBJECT
public:
- TextEdit( QWidget *parent = 0, const char *name = 0 );
- QTextDocument *document() const { return QTextEdit::document(); }
+ TextEdit( TQWidget *parent = 0, const char *name = 0 );
+ QTextDocument *document() const { return TQTextEdit::document(); }
QTextParagraph *paragraph();
};
@@ -52,17 +52,17 @@ class ToolBarItem : public QAction
Q_OBJECT
public:
- ToolBarItem( QWidget *parent, QWidget *toolBar,
- const QString &label, const QString &tagstr,
- const QIconSet &icon, const QKeySequence &key = 0 );
+ ToolBarItem( TQWidget *parent, TQWidget *toolBar,
+ const TQString &label, const TQString &tagstr,
+ const TQIconSet &icon, const TQKeySequence &key = 0 );
~ToolBarItem();
signals:
- void clicked( const QString &t );
+ void clicked( const TQString &t );
protected slots:
void wasActivated();
private:
- QString tag;
+ TQString tag;
};
@@ -71,39 +71,39 @@ class MultiLineEditor : public MultiLineEditorBase
Q_OBJECT
public:
- MultiLineEditor( bool call_static, bool richtextMode, QWidget *parent, QWidget *editWidget,
- FormWindow *fw, const QString &text = QString::null );
+ MultiLineEditor( bool call_static, bool richtextMode, TQWidget *parent, TQWidget *editWidget,
+ FormWindow *fw, const TQString &text = TQString::null );
bool useWrapping() const;
void setUseWrapping( bool );
- static QString getText( QWidget *parent, const QString &text, bool richtextMode, bool *useWrap );
+ static TQString getText( TQWidget *parent, const TQString &text, bool richtextMode, bool *useWrap );
int exec();
protected slots:
void okClicked();
void applyClicked();
void cancelClicked();
- void insertTags( const QString& );
+ void insertTags( const TQString& );
void insertBR();
void showFontDialog();
void changeWrapMode( bool );
- void closeEvent( QCloseEvent *e );
+ void closeEvent( TQCloseEvent *e );
private:
- QString getStaticText();
+ TQString getStaticText();
TextEdit *textEdit;
- QTextEdit *mlined;
+ TQTextEdit *mlined;
FormWindow *formwindow;
- QToolBar *basicToolBar;
- QToolBar *fontToolBar;
- QToolBar *optionsToolBar;
- QAction *wrapAction;
+ TQToolBar *basicToolBar;
+ TQToolBar *fontToolBar;
+ TQToolBar *optionsToolBar;
+ TQAction *wrapAction;
int res;
- QString staticText;
+ TQString staticText;
bool callStatic;
bool oldDoWrap, doWrap;
- QVariant oldWrapMode;
- QString oldWrapString;
+ TQVariant oldWrapMode;
+ TQString oldWrapString;
};
#endif