From e985f7e545f4739493965aad69bbecb136dc9346 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:02:47 +0000 Subject: TQt4 port kdewebdev This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kommander/widgets/richtexteditor.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kommander/widgets/richtexteditor.h') diff --git a/kommander/widgets/richtexteditor.h b/kommander/widgets/richtexteditor.h index 17faf6b5..31347e96 100644 --- a/kommander/widgets/richtexteditor.h +++ b/kommander/widgets/richtexteditor.h @@ -37,10 +37,11 @@ class TQShowEvent; class KOMMANDER_EXPORT RichTextEditor : public TQWidget, public KommanderWidget { Q_OBJECT + TQ_OBJECT - 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) + TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false) + TQ_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false) + TQ_PROPERTY(bool KommanderWidget READ isKommanderWidget) public: RichTextEditor(TQWidget *, const char *); virtual ~RichTextEditor(); @@ -62,7 +63,7 @@ public slots: void textUnder(bool); void textItalic(bool); void fontChanged(const TQFont &); - void alignmentChanged(int); + void tqalignmentChanged(int); virtual void populate(); signals: void widgetOpened(); -- cgit v1.2.1