diff options
Diffstat (limited to 'kspell2/ui')
-rw-r--r-- | kspell2/ui/configui.ui | 12 | ||||
-rw-r--r-- | kspell2/ui/dialog.cpp | 26 | ||||
-rw-r--r-- | kspell2/ui/kspell2ui.ui | 32 |
3 files changed, 35 insertions, 35 deletions
diff --git a/kspell2/ui/configui.ui b/kspell2/ui/configui.ui index bf645b9c9..d6f6e596b 100644 --- a/kspell2/ui/configui.ui +++ b/kspell2/ui/configui.ui @@ -2,7 +2,7 @@ <class>KSpell2ConfigUI</class> <comment>Licensed under GNU LGPL</comment> <author>Zack Rusin <zack@kde.org></author> -<widget class="QWidget"> +<widget class="TQWidget"> <property name="name"> <cstring>KSpell2ConfigUI</cstring> </property> @@ -26,7 +26,7 @@ <string>This is the default language that the spell checker will use. The drop down box will list all of the dictionaries of your existing languages.</string> </property> </widget> - <widget class="QGroupBox" row="1" column="0" rowspan="1" colspan="2"> + <widget class="TQGroupBox" row="1" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>groupBox1</cstring> </property> @@ -37,7 +37,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QCheckBox" row="0" column="0"> + <widget class="TQCheckBox" row="0" column="0"> <property name="name"> <cstring>m_bgSpellCB</cstring> </property> @@ -48,7 +48,7 @@ <string>If checked, the "spell as you type" mode is active and all misspelled words are immediately highlighted.</string> </property> </widget> - <widget class="QCheckBox" row="1" column="0"> + <widget class="TQCheckBox" row="1" column="0"> <property name="name"> <cstring>m_skipUpperCB</cstring> </property> @@ -59,7 +59,7 @@ <string>If checked, words that consist of only uppercase letters are not spell checked. This is useful if you have a lot of acronyms, such as KDE for example.</string> </property> </widget> - <widget class="QCheckBox" row="2" column="0"> + <widget class="TQCheckBox" row="2" column="0"> <property name="name"> <cstring>m_skipRunTogetherCB</cstring> </property> @@ -72,7 +72,7 @@ </widget> </grid> </widget> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>textLabel1</cstring> </property> diff --git a/kspell2/ui/dialog.cpp b/kspell2/ui/dialog.cpp index 93b81fd94..46e31ad82 100644 --- a/kspell2/ui/dialog.cpp +++ b/kspell2/ui/dialog.cpp @@ -69,7 +69,7 @@ Dialog::Dialog( BackgroundChecker *checker, initGui(); initConnections(); - setMainWidget( d->ui ); + setMainWidget( TQT_TQWIDGET(d->ui) ); } Dialog::~Dialog() @@ -79,27 +79,27 @@ Dialog::~Dialog() void Dialog::initConnections() { - connect( d->ui->m_addBtn, TQT_SIGNAL(clicked()), + connect( TQT_TQOBJECT(d->ui->m_addBtn), TQT_SIGNAL(clicked()), TQT_SLOT(slotAddWord()) ); - connect( d->ui->m_replaceBtn, TQT_SIGNAL(clicked()), + connect( TQT_TQOBJECT(d->ui->m_replaceBtn), TQT_SIGNAL(clicked()), TQT_SLOT(slotReplaceWord()) ); - connect( d->ui->m_replaceAllBtn, TQT_SIGNAL(clicked()), + connect( TQT_TQOBJECT(d->ui->m_replaceAllBtn), TQT_SIGNAL(clicked()), TQT_SLOT(slotReplaceAll()) ); - connect( d->ui->m_skipBtn, TQT_SIGNAL(clicked()), + connect( TQT_TQOBJECT(d->ui->m_skipBtn), TQT_SIGNAL(clicked()), TQT_SLOT(slotSkip()) ); - connect( d->ui->m_skipAllBtn, TQT_SIGNAL(clicked()), + connect( TQT_TQOBJECT(d->ui->m_skipAllBtn), TQT_SIGNAL(clicked()), TQT_SLOT(slotSkipAll()) ); - connect( d->ui->m_suggestBtn, TQT_SIGNAL(clicked()), + connect( TQT_TQOBJECT(d->ui->m_suggestBtn), TQT_SIGNAL(clicked()), TQT_SLOT(slotSuggest()) ); - connect( d->ui->m_language, TQT_SIGNAL(activated(const TQString&)), + connect( TQT_TQOBJECT(d->ui->m_language), TQT_SIGNAL(activated(const TQString&)), TQT_SLOT(slotChangeLanguage(const TQString&)) ); - connect( d->ui->m_suggestions, TQT_SIGNAL(selectionChanged(TQListViewItem*)), + connect( TQT_TQOBJECT(d->ui->m_suggestions), TQT_SIGNAL(selectionChanged(TQListViewItem*)), TQT_SLOT(slotSelectionChanged(TQListViewItem*)) ); - connect( d->checker, TQT_SIGNAL(misspelling(const TQString&, int)), + connect( TQT_TQOBJECT(d->checker), TQT_SIGNAL(misspelling(const TQString&, int)), TQT_SIGNAL(misspelling(const TQString&, int)) ); - connect( d->checker, TQT_SIGNAL(misspelling(const TQString&, int)), + connect( TQT_TQOBJECT(d->checker), TQT_SIGNAL(misspelling(const TQString&, int)), TQT_SLOT(slotMisspelling(const TQString&, int)) ); - connect( d->checker, TQT_SIGNAL(done()), + connect( TQT_TQOBJECT(d->checker), TQT_SIGNAL(done()), TQT_SLOT(slotDone()) ); connect( d->ui->m_suggestions, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), TQT_SLOT( slotReplaceWord() ) ); @@ -261,7 +261,7 @@ void Dialog::slotMisspelling(const TQString& word, int start ) { kdDebug()<<"Dialog misspelling!!"<<endl; d->currentWord = Word( word, start ); - if ( d->replaceAllMap.contains( word ) ) { + if ( d->replaceAllMap.tqcontains( word ) ) { d->ui->m_replacement->setText( d->replaceAllMap[ word ] ); slotReplaceWord(); } else { diff --git a/kspell2/ui/kspell2ui.ui b/kspell2/ui/kspell2ui.ui index b8a5d662b..754894e5b 100644 --- a/kspell2/ui/kspell2ui.ui +++ b/kspell2/ui/kspell2ui.ui @@ -1,6 +1,6 @@ <!DOCTYPE UI><UI version="3.2" stdsetdef="1"> <class>KSpell2UI</class> -<widget class="QWidget"> +<widget class="TQWidget"> <property name="name"> <cstring>KSpell2UI</cstring> </property> @@ -30,7 +30,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLabel" row="1" column="0" rowspan="1" colspan="2"> + <widget class="TQLabel" row="1" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>textLabel2</cstring> </property> @@ -44,7 +44,7 @@ </qt></string> </property> </widget> - <widget class="QLabel" row="1" column="2"> + <widget class="TQLabel" row="1" column="2"> <property name="name"> <cstring>m_unknownWord</cstring> </property> @@ -61,7 +61,7 @@ </qt></string> </property> </widget> - <widget class="QLabel" row="4" column="0"> + <widget class="TQLabel" row="4" column="0"> <property name="name"> <cstring>textLabel5</cstring> </property> @@ -77,7 +77,7 @@ </qt></string> </property> </widget> - <widget class="QLabel" row="0" column="0" rowspan="1" colspan="6"> + <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="6"> <property name="name"> <cstring>m_contextLabel</cstring> </property> @@ -99,7 +99,7 @@ </qt></string> </property> </widget> - <widget class="QPushButton" row="1" column="4" rowspan="1" colspan="2"> + <widget class="TQPushButton" row="1" column="4" rowspan="1" colspan="2"> <property name="name"> <cstring>m_addBtn</cstring> </property> @@ -130,7 +130,7 @@ Click here if you consider that the unknown word is not misspelled and you want </size> </property> </spacer> - <widget class="QListView" row="3" column="0" rowspan="1" colspan="5"> + <widget class="TQListView" row="3" column="0" rowspan="1" colspan="5"> <column> <property name="text"> <string>Suggested Words</string> @@ -158,7 +158,7 @@ Click here if you consider that the unknown word is not misspelled and you want </qt></string> </property> </widget> - <widget class="QLabel" row="2" column="0" rowspan="1" colspan="2"> + <widget class="TQLabel" row="2" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>textLabel4</cstring> </property> @@ -175,7 +175,7 @@ Click here if you consider that the unknown word is not misspelled and you want </qt></string> </property> </widget> - <widget class="QLineEdit" row="2" column="2" rowspan="1" colspan="3"> + <widget class="TQLineEdit" row="2" column="2" rowspan="1" colspan="3"> <property name="name"> <cstring>m_replacement</cstring> </property> @@ -186,7 +186,7 @@ Click here if you consider that the unknown word is not misspelled and you want </qt></string> </property> </widget> - <widget class="QComboBox" row="4" column="1" rowspan="1" colspan="4"> + <widget class="TQComboBox" row="4" column="1" rowspan="1" colspan="4"> <item> <property name="text"> <string>English</string> @@ -212,7 +212,7 @@ Click here if you consider that the unknown word is not misspelled and you want <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>m_suggestBtn</cstring> </property> @@ -220,7 +220,7 @@ Click here if you consider that the unknown word is not misspelled and you want <string>S&uggest</string> </property> </widget> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>m_replaceBtn</cstring> </property> @@ -233,7 +233,7 @@ Click here if you consider that the unknown word is not misspelled and you want </qt></string> </property> </widget> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>m_replaceAllBtn</cstring> </property> @@ -246,7 +246,7 @@ Click here if you consider that the unknown word is not misspelled and you want </qt></string> </property> </widget> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>m_skipBtn</cstring> </property> @@ -260,7 +260,7 @@ Click here if you consider that the unknown word is not misspelled and you want </qt></string> </property> </widget> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>m_skipAllBtn</cstring> </property> @@ -274,7 +274,7 @@ Click here if you consider that the unknown word is not misspelled and you want </qt></string> </property> </widget> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>m_autoCorrect</cstring> </property> |