summaryrefslogtreecommitdiffstats
path: root/kttsd/kttsd/kttsd.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commita53c68f02a359d234dee62dfa3bdd12bb17b13b5 (patch)
tree5a800b73c31a1a1251ab533dc614b521f1378ce3 /kttsd/kttsd/kttsd.cpp
parent389971def351e67fcf01c3dbe6b83c4d721dd755 (diff)
downloadtdeaccessibility-a53c68f02a359d234dee62dfa3bdd12bb17b13b5.tar.gz
tdeaccessibility-a53c68f02a359d234dee62dfa3bdd12bb17b13b5.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kttsd/kttsd/kttsd.cpp')
-rw-r--r--kttsd/kttsd/kttsd.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kttsd/kttsd/kttsd.cpp b/kttsd/kttsd/kttsd.cpp
index c546100..211d757 100644
--- a/kttsd/kttsd/kttsd.cpp
+++ b/kttsd/kttsd/kttsd.cpp
@@ -893,16 +893,16 @@ void KTTSD::notificationSignal( const TQString& event, const TQString& fromApp,
TQString msg;
TQString talker;
// Check for app-specific action.
- if ( m_speechData->notifyAppMap.tqcontains( fromApp ) )
+ if ( m_speechData->notifyAppMap.contains( fromApp ) )
{
NotifyEventMap notifyEventMap = m_speechData->notifyAppMap[ fromApp ];
- if ( notifyEventMap.tqcontains( event ) )
+ if ( notifyEventMap.contains( event ) )
{
found = true;
notifyOptions = notifyEventMap[ event ];
} else {
// Check for app-specific default.
- if ( notifyEventMap.tqcontains( "default" ) )
+ if ( notifyEventMap.contains( "default" ) )
{
found = true;
notifyOptions = notifyEventMap[ "default" ];
@@ -965,14 +965,14 @@ void KTTSD::notificationSignal( const TQString& event, const TQString& fromApp,
break;
case NotifyAction::SpeakCustom:
msg = notifyOptions.customMsg;
- msg.tqreplace( "%a", fromApp );
- msg.tqreplace( "%m", text );
- if ( msg.tqcontains( "%e" ) )
+ msg.replace( "%a", fromApp );
+ msg.replace( "%m", text );
+ if ( msg.contains( "%e" ) )
{
if ( notifyOptions.eventName.isEmpty() )
- msg.tqreplace( "%e", NotifyEvent::getEventName( fromApp, event ) );
+ msg.replace( "%e", NotifyEvent::getEventName( fromApp, event ) );
else
- msg.tqreplace( "%e", notifyOptions.eventName );
+ msg.replace( "%e", notifyOptions.eventName );
}
break;
}