summaryrefslogtreecommitdiffstats
path: root/src/kile/newtoolwizard.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kile/newtoolwizard.ui.h')
-rw-r--r--src/kile/newtoolwizard.ui.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kile/newtoolwizard.ui.h b/src/kile/newtoolwizard.ui.h
index 9137bac..aa4ac9c 100644
--- a/src/kile/newtoolwizard.ui.h
+++ b/src/kile/newtoolwizard.ui.h
@@ -54,17 +54,17 @@ void NewToolWizard::nameChanged(const TQString &name)
static TQRegExp reBracket = TQRegExp("\\(|\\)|\\[|\\]");
bool ok = true;
- if (m_toolList.tqcontains(name))
+ if (m_toolList.contains(name))
{
m_lbWarning->setText(i18n( "Error: A tool by this name already exists." ));
ok = false;
}
- else if (name.tqfind("/") != -1)
+ else if (name.find("/") != -1)
{
m_lbWarning->setText(i18n( "Error: The name may not contain a slash '/'." ));
ok = false;
}
- else if ( name.tqfind(reBracket) != -1 )
+ else if ( name.find(reBracket) != -1 )
{
m_lbWarning->setText(i18n("Error: The name may not contain a (,),[ or ]."));
ok = false;