diff options
Diffstat (limited to 'kttsd/kcmkttsmgr/selectevent.cpp')
-rw-r--r-- | kttsd/kcmkttsmgr/selectevent.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kttsd/kcmkttsmgr/selectevent.cpp b/kttsd/kcmkttsmgr/selectevent.cpp index 0d9fe60..44226b7 100644 --- a/kttsd/kcmkttsmgr/selectevent.cpp +++ b/kttsd/kcmkttsmgr/selectevent.cpp @@ -61,10 +61,10 @@ SelectEvent::SelectEvent(TQWidget* parent, const char* name, WFlags fl, const TQ if ( !relativePath.isEmpty() ) { KConfig* config = new KConfig(relativePath, true, false, "data"); - config->setGroup( TQString::fromLatin1("!Global!") ); - TQString icon = config->readEntry(TQString::fromLatin1("IconName"), - TQString::fromLatin1("misc")); - TQString description = config->readEntry( TQString::fromLatin1("Comment"), + config->setGroup( TQString::tqfromLatin1("!Global!") ); + TQString icon = config->readEntry(TQString::tqfromLatin1("IconName"), + TQString::tqfromLatin1("misc")); + TQString description = config->readEntry( TQString::tqfromLatin1("Comment"), i18n("No description available") ); delete config; int index = relativePath.find( '/' ); @@ -89,7 +89,7 @@ void SelectEvent::slotEventSrcComboBox_activated(int index) eventsListView->clear(); TQListViewItem* item = 0; TQString eventSrc = m_eventSrcNames[index]; - TQString configFilename = eventSrc + TQString::fromLatin1( "/eventsrc" ); + TQString configFilename = eventSrc + TQString::tqfromLatin1( "/eventsrc" ); KConfig* config = new KConfig( configFilename, true, false, "data" ); TQStringList eventNames = config->groupList(); uint eventNamesCount = eventNames.count(); @@ -99,8 +99,8 @@ void SelectEvent::slotEventSrcComboBox_activated(int index) if ( eventName != "!Global!" ) { config->setGroup( eventName ); - TQString eventDesc = config->readEntry( TQString::fromLatin1( "Comment" ), - config->readEntry( TQString::fromLatin1( "Name" ))); + TQString eventDesc = config->readEntry( TQString::tqfromLatin1( "Comment" ), + config->readEntry( TQString::tqfromLatin1( "Name" ))); if ( !item ) item = new KListViewItem( eventsListView, eventDesc, eventName ); else @@ -110,7 +110,7 @@ void SelectEvent::slotEventSrcComboBox_activated(int index) delete config; eventsListView->sort(); item = eventsListView->lastChild(); - TQString eventDesc = i18n("All other %1 events").arg(eventSrcComboBox->currentText()); + TQString eventDesc = i18n("All other %1 events").tqarg(eventSrcComboBox->currentText()); if ( !item ) item = new KListViewItem( eventsListView, eventDesc, "default" ); else |