summaryrefslogtreecommitdiffstats
path: root/kttsd/libkttsd/talkercode.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 10:48:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 10:48:30 -0600
commit722a076e84b860a947f4c68417db82526b03b1a1 (patch)
tree8ca2eba8079acf41f8f7809fbcdd597326c0a914 /kttsd/libkttsd/talkercode.cpp
parent98259239efc400e2e736f065f6790567df818c2e (diff)
downloadtdeaccessibility-722a076e84b860a947f4c68417db82526b03b1a1.tar.gz
tdeaccessibility-722a076e84b860a947f4c68417db82526b03b1a1.zip
Rename KLock and KTrader to avoid conflicts with KDE4
Diffstat (limited to 'kttsd/libkttsd/talkercode.cpp')
-rw-r--r--kttsd/libkttsd/talkercode.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kttsd/libkttsd/talkercode.cpp b/kttsd/libkttsd/talkercode.cpp
index 25b674e..5ae1afa 100644
--- a/kttsd/libkttsd/talkercode.cpp
+++ b/kttsd/libkttsd/talkercode.cpp
@@ -484,7 +484,7 @@ void TalkerCode::parseTalkerCode(const TQString &talkerCode)
}
/**
-* Uses KTrader to convert a translated Synth Plugin Name to DesktopEntryName.
+* Uses TDETrader to convert a translated Synth Plugin Name to DesktopEntryName.
* @param name The translated plugin name. From Name= line in .desktop file.
* @return DesktopEntryName. The name of the .desktop file (less .desktop).
* TQString() if not found.
@@ -492,21 +492,21 @@ void TalkerCode::parseTalkerCode(const TQString &talkerCode)
/*static*/ TQString TalkerCode::TalkerNameToDesktopEntryName(const TQString& name)
{
if (name.isEmpty()) return TQString();
- KTrader::OfferList offers = KTrader::self()->query("KTTSD/SynthPlugin");
+ TDETrader::OfferList offers = TDETrader::self()->query("KTTSD/SynthPlugin");
for (uint ndx = 0; ndx < offers.count(); ++ndx)
if (offers[ndx]->name() == name) return offers[ndx]->desktopEntryName();
return TQString();
}
/**
-* Uses KTrader to convert a DesktopEntryName into a translated Synth Plugin Name.
+* Uses TDETrader to convert a DesktopEntryName into a translated Synth Plugin Name.
* @param desktopEntryName The DesktopEntryName.
* @return The translated Name of the plugin, from Name= line in .desktop file.
*/
/*static*/ TQString TalkerCode::TalkerDesktopEntryNameToName(const TQString& desktopEntryName)
{
if (desktopEntryName.isEmpty()) return TQString();
- KTrader::OfferList offers = KTrader::self()->query("KTTSD/SynthPlugin",
+ TDETrader::OfferList offers = TDETrader::self()->query("KTTSD/SynthPlugin",
TQString("DesktopEntryName == '%1'").arg(desktopEntryName));
if (offers.count() == 1)