summaryrefslogtreecommitdiffstats
path: root/interfaces/ktexteditor/editorchooser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/ktexteditor/editorchooser.cpp')
-rw-r--r--interfaces/ktexteditor/editorchooser.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/interfaces/ktexteditor/editorchooser.cpp b/interfaces/ktexteditor/editorchooser.cpp
index 96cf3649e..0d48f6b75 100644
--- a/interfaces/ktexteditor/editorchooser.cpp
+++ b/interfaces/ktexteditor/editorchooser.cpp
@@ -55,7 +55,7 @@ EditorChooser::EditorChooser(TQWidget *parent,const char *name) :
for (KTrader::OfferList::Iterator it = offers.begin(); it != offers.end(); ++it)
{
- if ((*it)->desktopEntryName().contains(editor))
+ if ((*it)->desktopEntryName().tqcontains(editor))
{
d->chooser->editorCombo->insertItem(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);
}
@@ -130,7 +130,7 @@ KTextEditor::Document *EditorChooser::createDocument(TQObject *parent,const char
return 0;
}
-KTextEditor::Editor *EditorChooser::createEditor(TQWidget *parentWidget,TQObject *parent,const char* widgetName,
+KTextEditor::Editor *EditorChooser::createEditor(TQWidget *tqparentWidget,TQObject *parent,const char* widgetName,
const char* name,const TQString& postfix,bool fallBackToKatePart){
KTextEditor::Editor *tmpEd=0;
@@ -151,11 +151,11 @@ KTextEditor::Editor *EditorChooser::createEditor(TQWidget *parentWidget,TQObject
KService::Ptr serv=KService::serviceByDesktopName(editor);
if (serv)
{
- tmpEd=KTextEditor::createEditor(serv->library().latin1(),parentWidget,widgetName,parent,name);
+ tmpEd=KTextEditor::createEditor(serv->library().latin1(),tqparentWidget,widgetName,parent,name);
if (tmpEd) return tmpEd;
}
if (fallBackToKatePart)
- return KTextEditor::createEditor("libkatepart",parentWidget,widgetName,parent,name);
+ return KTextEditor::createEditor("libkatepart",tqparentWidget,widgetName,parent,name);
return 0;
}