summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/dictchooser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/dictchooser.cpp')
-rw-r--r--kbabel/kbabeldict/dictchooser.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kbabel/kbabeldict/dictchooser.cpp b/kbabel/kbabeldict/dictchooser.cpp
index f99c3709..d60b1de6 100644
--- a/kbabel/kbabeldict/dictchooser.cpp
+++ b/kbabel/kbabeldict/dictchooser.cpp
@@ -22,11 +22,11 @@
In addition, as a special exception, the copyright holders give
permission to link the code of this program with any edition of
- the Qt library by Trolltech AS, Norway (or with modified versions
- of Qt that use the same license as Qt), and distribute linked
+ the TQt library by Trolltech AS, Norway (or with modified versions
+ of TQt that use the same license as TQt), and distribute linked
combinations including the two. You must obey the GNU General
Public License in all respects for all of the code used other than
- Qt. If you modify this file, you may extend this exception to
+ TQt. If you modify this file, you may extend this exception to
your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from
your version.
@@ -45,25 +45,25 @@
#include <ktempfile.h>
DictChooser::DictChooser(KBabelDictBox*b, TQStringList selected
- , TQWidget *parent, const char *name)
- : TQWidget(parent,name), box(b)
+ , TQWidget *tqparent, const char *name)
+ : TQWidget(tqparent,name), box(b)
{
tempConfig.clear();
tempConfig.setAutoDelete(true);
dictList = box->moduleInfos();
- TQGridLayout *layout = new TQGridLayout(this);
- layout->setSpacing(KDialog::spacingHint());
+ TQGridLayout *tqlayout = new TQGridLayout(this);
+ tqlayout->setSpacing(KDialog::spacingHint());
TQLabel *label = new TQLabel(i18n("dictionary to not use","Do not use:"),this);
- layout->addWidget(label,0,0);
+ tqlayout->addWidget(label,0,0);
label = new TQLabel(i18n("dictionary to use","Use:"),this);
- layout->addWidget(label,0,2);
+ tqlayout->addWidget(label,0,2);
unselectedBox = new KListBox(this,"unselectedBox");
- layout->addWidget(unselectedBox,1,0);
+ tqlayout->addWidget(unselectedBox,1,0);
TQVBoxLayout *bLayout = new TQVBoxLayout();
@@ -74,10 +74,10 @@ DictChooser::DictChooser(KBabelDictBox*b, TQStringList selected
unselectBtn->setEnabled(false);
bLayout->addWidget(unselectBtn);
bLayout->addStretch();
- layout->addLayout(bLayout,1,1);
+ tqlayout->addLayout(bLayout,1,1);
selectedBox = new KListBox(this,"selectedBox");
- layout->addWidget(selectedBox,1,2);
+ tqlayout->addWidget(selectedBox,1,2);
bLayout = new TQVBoxLayout();
@@ -90,7 +90,7 @@ DictChooser::DictChooser(KBabelDictBox*b, TQStringList selected
configureBtn = new TQPushButton(i18n("Con&figure..."), this);
bLayout->addWidget(configureBtn);
bLayout->addStretch();
- layout->addLayout(bLayout,1,3);
+ tqlayout->addLayout(bLayout,1,3);
dictList.setAutoDelete(true);
@@ -109,7 +109,7 @@ DictChooser::DictChooser(KBabelDictBox*b, TQStringList selected
for(mi = dictList.first(); mi != 0; mi = dictList.next())
{
- if(!selected.contains(mi->id))
+ if(!selected.tqcontains(mi->id))
{
unselectedBox->insertItem(mi->name);
}
@@ -320,7 +320,7 @@ void DictChooser::restoreConfig()
{
kdDebug( KBABEL_SEARCH ) << "Cleanup" << endl;
// cleanup
- TQDictIterator<KTempFile> it( tempConfig ); // See QDictIterator
+ TQDictIterator<KTempFile> it( tempConfig ); // See TQDictIterator
for( ; it.current(); ++it )
{
KConfig config( it.current()->name() );