From bab40890696ec68c337dc290880423a0602b83c7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 16 Jan 2011 02:40:35 +0000 Subject: Finished remaining porting to new TQt API git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- interfaces/ktexteditor/editorchooser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interfaces/ktexteditor/editorchooser.cpp') diff --git a/interfaces/ktexteditor/editorchooser.cpp b/interfaces/ktexteditor/editorchooser.cpp index 60aef8d10..fa4677aaf 100644 --- a/interfaces/ktexteditor/editorchooser.cpp +++ b/interfaces/ktexteditor/editorchooser.cpp @@ -57,7 +57,7 @@ EditorChooser::EditorChooser(TQWidget *parent,const char *name) : { if ((*it)->desktopEntryName().contains(editor)) { - d->chooser->editorCombo->insertItem(i18n("System Default (%1)").arg((*it)->name())); + d->chooser->editorCombo->insertItem(TQString(i18n("System Default (%1)").arg((*it)->name()))); break; } } @@ -82,7 +82,7 @@ void EditorChooser::readAppSetting(const TQString& postfix){ if (editor.isEmpty()) d->chooser->editorCombo->setCurrentItem(0); else { - int idx=d->elements.findIndex(editor); + int idx=d->elements.tqfindIndex(editor); idx=idx+1; d->chooser->editorCombo->setCurrentItem(idx); } -- cgit v1.2.1