summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/multilineeditorimpl.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /kdevdesigner/designer/multilineeditorimpl.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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