diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:28:00 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:28:00 -0600 |
commit | 6687cd2515bdebbd8f0c92261f3acf8777441ca6 (patch) | |
tree | c842392adc0b9d0eed2730bb756d5381b0fabc82 /kttsd/libkttsd/notify.cpp | |
parent | f46912a1a50c5ca06eb713e43e170f5ac47bb680 (diff) | |
download | tdeaccessibility-6687cd2515bdebbd8f0c92261f3acf8777441ca6.tar.gz tdeaccessibility-6687cd2515bdebbd8f0c92261f3acf8777441ca6.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kttsd/libkttsd/notify.cpp')
-rw-r--r-- | kttsd/libkttsd/notify.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kttsd/libkttsd/notify.cpp b/kttsd/libkttsd/notify.cpp index a226675..bd2fbd1 100644 --- a/kttsd/libkttsd/notify.cpp +++ b/kttsd/libkttsd/notify.cpp @@ -148,9 +148,9 @@ static void notifypresent_init() */ /*static*/ TQString NotifyEvent::getEventSrcName(const TQString& eventSrc, TQString& iconName) { - TQString configFilename = eventSrc + TQString::tqfromLatin1( "/eventsrc" ); + TQString configFilename = eventSrc + TQString::fromLatin1( "/eventsrc" ); KConfig* config = new KConfig( configFilename, true, false, "data" ); - config->setGroup( TQString::tqfromLatin1( "!Global!" ) ); + config->setGroup( TQString::fromLatin1( "!Global!" ) ); TQString appDesc = config->readEntry( "Comment", i18n("No description available") ); iconName = config->readEntry( "IconName" ); delete config; @@ -163,13 +163,13 @@ static void notifypresent_init() /*static*/ TQString NotifyEvent::getEventName(const TQString& eventSrc, const TQString& event) { TQString eventName; - TQString configFilename = eventSrc + TQString::tqfromLatin1( "/eventsrc" ); + TQString configFilename = eventSrc + TQString::fromLatin1( "/eventsrc" ); KConfig* config = new KConfig( configFilename, true, false, "data" ); if ( config->hasGroup( event ) ) { config->setGroup( event ); - eventName = config->readEntry( TQString::tqfromLatin1( "Comment" ), - config->readEntry( TQString::tqfromLatin1( "Name" ))); + eventName = config->readEntry( TQString::fromLatin1( "Comment" ), + config->readEntry( TQString::fromLatin1( "Name" ))); } delete config; return eventName; |