From 0c9d97065a3d6ceb12d687555a1a33d90db96238 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 10:51:32 -0600 Subject: Rename KLock and KTrader to avoid conflicts with KDE4 --- interfaces/tdetexteditor/editorchooser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'interfaces/tdetexteditor') 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()); -- cgit v1.2.1