[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeaccessibility/kmouth
From: Laurent Montel <montel () kde ! org>
Date: 2006-12-19 13:07:36
Message-ID: 1166533656.681999.12159.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 614909 by mlaurent:
Better name for variable
M +5 -5 texttospeechsystem.cpp
--- trunk/KDE/kdeaccessibility/kmouth/texttospeechsystem.cpp #614908:614909
@@ -42,13 +42,13 @@
bool kttsdSay (const QString &text, const QString &language) {
// TODO: Would be better to save off this QDBusInterface pointer and
// set defaults only once.
- QDBusInterface kdesktop("org.kde.kttsd", "/KSpeech", "org.kde.KSpeech");
- kdesktop.call("setApplicationName", "KMouth");
- kdesktop.call("setDefaultTalker", language);
+ QDBusInterface kttsd("org.kde.kttsd", "/KSpeech", "org.kde.KSpeech");
+ kttsd.call("setApplicationName", "KMouth");
+ kttsd.call("setDefaultTalker", language);
// FIXME: language is incorrect.
kDebug() << "kttsdSay: language = " << language << endl;
- kdesktop.call("setDefaultPriority", KSpeech::jpWarning);
- QDBusReply<bool> reply = kdesktop.call("say", text, 0);
+ kttsd.call("setDefaultPriority", KSpeech::jpWarning);
+ QDBusReply<bool> reply = kttsd.call("say", text, 0);
return reply;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic