Rename KLock and KTrader to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 11 years ago
parent b04a76ca0d
commit d18f282f3a

@ -41,7 +41,7 @@ Autoreplace_Config::Autoreplace_Config(TQWidget* parent, const char* name)
m_newItemSelected=false; m_newItemSelected=false;
//Check if the regexp editor is installed //Check if the regexp editor is installed
bool installed = !KTrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty(); bool installed = !TDETrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty();
if(installed) if(installed)
{ {
@ -233,7 +233,7 @@ void Autoreplace_Config::entrySelected(TQListViewItem* autoreplaceEntry)
replacementLabel->setEnabled(enabled); replacementLabel->setEnabled(enabled);
replacementInput->setEnabled(enabled); replacementInput->setEnabled(enabled);
if(!KTrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty()) if(!TDETrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty())
{ {
regExpEditorButton->setEnabled(enabled); regExpEditorButton->setEnabled(enabled);
} }

@ -164,7 +164,7 @@ void Highlight_Config::updateButtons()
{ {
bool enabled = highlightListView->selectedItem() != NULL; bool enabled = highlightListView->selectedItem() != NULL;
// is the kregexpeditor installed? // is the kregexpeditor installed?
bool installed = !KTrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty(); bool installed = !TDETrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty();
// enable or disable edit widgets // enable or disable edit widgets
patternLabel->setEnabled(enabled); patternLabel->setEnabled(enabled);
patternInput->setEnabled(enabled); patternInput->setEnabled(enabled);

Loading…
Cancel
Save