summaryrefslogtreecommitdiffstats
path: root/src/kile/latexcmddialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kile/latexcmddialog.cpp')
-rw-r--r--src/kile/latexcmddialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kile/latexcmddialog.cpp b/src/kile/latexcmddialog.cpp
index fe37e76..45fceba 100644
--- a/src/kile/latexcmddialog.cpp
+++ b/src/kile/latexcmddialog.cpp
@@ -285,7 +285,7 @@ void NewLatexCommand::slotOk()
if ( m_envmode==false && name.at(0)!='\\' )
name.prepend('\\');
- if ( m_addmode && m_dict->tqcontains(name) ) {
+ if ( m_addmode && m_dict->contains(name) ) {
TQString msg = ( m_envmode ) ? i18n("This environment already exists.")
: i18n("This command already exists.");
KMessageBox::error( this,msg );
@@ -558,7 +558,7 @@ void LatexCommandsDialog::getEntry(KListViewItem *item,KileDocument::LatexCmdAtt
bool LatexCommandsDialog::isUserDefined(const TQString &name)
{
- return ( m_dictCommands.tqcontains(name) && m_dictCommands[name]==false );
+ return ( m_dictCommands.contains(name) && m_dictCommands[name]==false );
}
// look for user defined environment or commands in this listview