summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/richtexteditor.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /kommander/widgets/richtexteditor.h
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/widgets/richtexteditor.h')
-rw-r--r--kommander/widgets/richtexteditor.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/kommander/widgets/richtexteditor.h b/kommander/widgets/richtexteditor.h
index 4436d73f..5a0ab8d6 100644
--- a/kommander/widgets/richtexteditor.h
+++ b/kommander/widgets/richtexteditor.h
@@ -19,9 +19,9 @@
/* KDE INCLUDES */
/* QT INCLUDES */
-#include <qstringlist.h>
-#include <qstring.h>
-#include <qwidget.h>
+#include <tqstringlist.h>
+#include <tqstring.h>
+#include <tqwidget.h>
/* OTHER INCLUDES */
#include <kommanderwidget.h>
@@ -34,51 +34,51 @@ class QToolButton;
class QHButtonGroup;
class QShowEvent;
-class KOMMANDER_EXPORT RichTextEditor : public QWidget, public KommanderWidget
+class KOMMANDER_EXPORT RichTextEditor : public TQWidget, public KommanderWidget
{
Q_OBJECT
- Q_PROPERTY(QString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
- Q_PROPERTY(QStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
+ Q_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
+ Q_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
Q_PROPERTY(bool KommanderWidget READ isKommanderWidget)
public:
- RichTextEditor(QWidget *, const char *);
+ RichTextEditor(TQWidget *, const char *);
virtual ~RichTextEditor();
bool isKommanderWidget() const;
- void setAssociatedText(const QStringList&);
- QStringList associatedText() const;
- QString currentState() const;
- virtual QString populationText() const;
- virtual void setPopulationText(const QString&);
+ void setAssociatedText(const TQStringList&);
+ TQStringList associatedText() const;
+ TQString currentState() const;
+ virtual TQString populationText() const;
+ virtual void setPopulationText(const TQString&);
- virtual QString handleDCOP(int function, const QStringList& args);
+ virtual TQString handleDCOP(int function, const TQStringList& args);
virtual bool isFunctionSupported(int function);
public slots:
void setTextChanged();
- void setWidgetText(const QString &);
+ void setWidgetText(const TQString &);
void textAlign(int);
void textBold(bool);
void textUnder(bool);
void textItalic(bool);
- void fontChanged(const QFont &);
+ void fontChanged(const TQFont &);
void alignmentChanged(int);
virtual void populate();
signals:
void widgetOpened();
- void widgetTextChanged(const QString&);
+ void widgetTextChanged(const TQString&);
void contextMenuRequested(int xpos, int ypos);
protected:
- void showEvent( QShowEvent *e );
- void contextMenuEvent( QContextMenuEvent * e );
+ void showEvent( TQShowEvent *e );
+ void contextMenuEvent( TQContextMenuEvent * e );
private:
- QFrame *m_toolbar;
- QTextEdit *m_textedit;
+ TQFrame *m_toolbar;
+ TQTextEdit *m_textedit;
- QToolButton *m_buttonTextBold, *m_buttonTextUnder, *m_buttonTextItalic,
+ TQToolButton *m_buttonTextBold, *m_buttonTextUnder, *m_buttonTextItalic,
*m_buttonTextLeft, *m_buttonTextCenter, *m_buttonTextRight;
- QHButtonGroup *m_formatGroup, *m_alignGroup;
+ TQHButtonGroup *m_formatGroup, *m_alignGroup;
};