diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
commit | f7e71d47719ab6094cf4a9fafffa5ea351973522 (patch) | |
tree | 30834aa632d442019e14f88685001d94657d060b /kspell2/ui | |
parent | b31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff) | |
download | tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip |
Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems
with dependent modules such as kdebase. If it does then it needs to be fixed!
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspell2/ui')
-rw-r--r-- | kspell2/ui/configwidget.h | 2 | ||||
-rw-r--r-- | kspell2/ui/highlighter.cpp | 2 | ||||
-rw-r--r-- | kspell2/ui/highlighter.h | 2 | ||||
-rw-r--r-- | kspell2/ui/kspell2ui.ui | 10 |
4 files changed, 8 insertions, 8 deletions
diff --git a/kspell2/ui/configwidget.h b/kspell2/ui/configwidget.h index ed49ca20e..e51be6b89 100644 --- a/kspell2/ui/configwidget.h +++ b/kspell2/ui/configwidget.h @@ -27,7 +27,7 @@ namespace KSpell2 { class Broker; - class KDE_EXPORT ConfigWidget : public QWidget + class KDE_EXPORT ConfigWidget : public TQWidget { Q_OBJECT public: diff --git a/kspell2/ui/highlighter.cpp b/kspell2/ui/highlighter.cpp index 2d185462d..a3c33d7ae 100644 --- a/kspell2/ui/highlighter.cpp +++ b/kspell2/ui/highlighter.cpp @@ -110,7 +110,7 @@ TQString Highlighter::currentLanguage() const void Highlighter::setCurrentLanguage( const TQString& lang ) { - if ( !d->dictCache.find( lang ) ) { + if ( !d->dictCache.tqfind( lang ) ) { Dictionary *dict = d->broker->dictionary( lang ); if ( dict ) { d->dictCache.insert( lang, dict ); diff --git a/kspell2/ui/highlighter.h b/kspell2/ui/highlighter.h index 543bbe01f..2309c3a64 100644 --- a/kspell2/ui/highlighter.h +++ b/kspell2/ui/highlighter.h @@ -29,7 +29,7 @@ class TQTextEdit; namespace KSpell2 { - class Highlighter : public QSyntaxHighlighter + class Highlighter : public TQSyntaxHighlighter { public: Highlighter( TQTextEdit *textEdit, diff --git a/kspell2/ui/kspell2ui.ui b/kspell2/ui/kspell2ui.ui index b8870f2f5..b8a5d662b 100644 --- a/kspell2/ui/kspell2ui.ui +++ b/kspell2/ui/kspell2ui.ui @@ -20,7 +20,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>430</width> <height>300</height> @@ -87,7 +87,7 @@ <property name="text"> <string>... the <b>misspelled</b> word shown in context ...</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignCenter</set> </property> <property name="toolTip" stdset="0"> @@ -123,7 +123,7 @@ Click here if you consider that the unknown word is not misspelled and you want <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>74</width> <height>20</height> @@ -204,7 +204,7 @@ Click here if you consider that the unknown word is not misspelled and you want </qt></string> </property> </widget> - <widget class="QLayoutWidget" row="2" column="5" rowspan="3" colspan="1"> + <widget class="TQLayoutWidget" row="2" column="5" rowspan="3" colspan="1"> <property name="name"> <cstring>layout1</cstring> </property> @@ -298,7 +298,7 @@ Click here if you consider that the unknown word is not misspelled and you want <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>20</height> |