diff options
Diffstat (limited to 'interfaces/tdetexteditor/editorchooser.cpp')
-rw-r--r-- | interfaces/tdetexteditor/editorchooser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/interfaces/tdetexteditor/editorchooser.cpp b/interfaces/tdetexteditor/editorchooser.cpp index ce493018d..331e64bbb 100644 --- a/interfaces/tdetexteditor/editorchooser.cpp +++ b/interfaces/tdetexteditor/editorchooser.cpp @@ -46,14 +46,14 @@ EditorChooser::EditorChooser(TQWidget *parent,const char *name) : grid->addWidget( d->chooser, 0, 0); - KTrader::OfferList offers = KTrader::self()->query("text/plain", "'KTextEditor/Document' in ServiceTypes"); + TDETrader::OfferList offers = TDETrader::self()->query("text/plain", "'KTextEditor/Document' in ServiceTypes"); TDEConfig *config=new TDEConfig("default_components"); config->setGroup("KTextEditor"); TQString editor = config->readPathEntry("embeddedEditor"); if (editor.isEmpty()) editor="katepart"; - for (KTrader::OfferList::Iterator it = offers.begin(); it != offers.end(); ++it) + for (TDETrader::OfferList::Iterator it = offers.begin(); it != offers.end(); ++it) { if ((*it)->desktopEntryName().contains(editor)) { @@ -62,7 +62,7 @@ EditorChooser::EditorChooser(TQWidget *parent,const char *name) : } } - for (KTrader::OfferList::Iterator it = offers.begin(); it != offers.end(); ++it) + for (TDETrader::OfferList::Iterator it = offers.begin(); it != offers.end(); ++it) { d->chooser->editorCombo->insertItem((*it)->name()); d->elements.append((*it)->desktopEntryName()); |