summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui/toolselectionwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/commonui/toolselectionwidget.cpp')
-rw-r--r--kbabel/commonui/toolselectionwidget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kbabel/commonui/toolselectionwidget.cpp b/kbabel/commonui/toolselectionwidget.cpp
index 1e97f473..4fadd865 100644
--- a/kbabel/commonui/toolselectionwidget.cpp
+++ b/kbabel/commonui/toolselectionwidget.cpp
@@ -18,11 +18,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.
@@ -36,8 +36,8 @@
#include <tqlistbox.h>
-ToolSelectionWidget::ToolSelectionWidget( TQWidget * parent, const char * name )
- : KActionSelector( parent, name )
+ToolSelectionWidget::ToolSelectionWidget( TQWidget * tqparent, const char * name )
+ : KActionSelector( tqparent, name )
{
}
@@ -63,7 +63,7 @@ void ToolSelectionWidget::loadTools( const TQStringList &commands,
TQStringList::ConstIterator cit = toolCommands.begin();
for (; uit != userCommands.end() && cit != toolCommands.end(); ++uit, ++cit )
{
- if( commands.contains(*cit) )
+ if( commands.tqcontains(*cit) )
{
availableListBox()->insertItem( *uit );
}
@@ -79,7 +79,7 @@ void ToolSelectionWidget::setSelectedTools( const TQStringList& tools )
for( ; entry != _allTools.end(); ++entry )
{
TQString uic=*(*entry).userCommands().at((*entry).commands().findIndex("validate"));
- if( tools.contains((*entry).service()->library()) )
+ if( tools.tqcontains((*entry).service()->library()) )
selectedListBox()->insertItem( uic );
else
availableListBox()->insertItem( uic );
@@ -96,7 +96,7 @@ TQStringList ToolSelectionWidget::selectedTools()
TQValueList<KDataToolInfo>::ConstIterator entry = _allTools.begin();
for( ; entry != _allTools.end(); ++entry )
{
- if( usedNames.contains(*((*entry).userCommands().at((*entry).commands().findIndex("validate")))) )
+ if( usedNames.tqcontains(*((*entry).userCommands().at((*entry).commands().findIndex("validate")))) )
result += (*entry).service()->library();
}
return result;