|
Lines 122-128
void KLettres::findLanguages()
Link Here
|
| 122 |
m_languages.sort(); |
122 |
m_languages.sort(); |
| 123 |
//write the present languages in config so they cannot be downloaded |
123 |
//write the present languages in config so they cannot be downloaded |
| 124 |
TDEConfig *config=kapp->config(); |
124 |
TDEConfig *config=kapp->config(); |
| 125 |
config->setGroup("KNewStuffStatus"); |
125 |
config->setGroup("TDENewStuffStatus"); |
| 126 |
for (uint i=0; i<m_languages.count(); i++) |
126 |
for (uint i=0; i<m_languages.count(); i++) |
| 127 |
{ |
127 |
{ |
| 128 |
TQString tmp = m_languages[i]; |
128 |
TQString tmp = m_languages[i]; |
|
Lines 198-204
void KLettres::setupActions()
Link Here
|
| 198 |
TDEAction *m_newAction = new TDEAction(i18n("New Sound"), "file_new", CTRL+Key_N, TQT_TQOBJECT(m_view), TQT_SLOT(game()), actionCollection(), "play_new"); |
198 |
TDEAction *m_newAction = new TDEAction(i18n("New Sound"), "file_new", CTRL+Key_N, TQT_TQOBJECT(m_view), TQT_SLOT(game()), actionCollection(), "play_new"); |
| 199 |
m_newAction->setToolTip(i18n("Play a new sound")); |
199 |
m_newAction->setToolTip(i18n("Play a new sound")); |
| 200 |
m_newAction->setWhatsThis(i18n("You can play a new sound by clicking this button or using the File menu, New Sound.")); |
200 |
m_newAction->setWhatsThis(i18n("You can play a new sound by clicking this button or using the File menu, New Sound.")); |
| 201 |
new TDEAction( i18n("Get Alphabet in New Language..."), "knewstuff", 0, TQT_TQOBJECT(this), TQT_SLOT( slotDownloadNewStuff() ), actionCollection(), "downloadnewstuff" ); |
201 |
new TDEAction( i18n("Get Alphabet in New Language..."), "tdenewstuff", 0, TQT_TQOBJECT(this), TQT_SLOT( slotDownloadNewStuff() ), actionCollection(), "downloadnewstuff" ); |
| 202 |
TDEAction *m_playAgainAction = new TDEAction(i18n("Replay Sound"),"player_play", CTRL+Key_P, TQT_TQOBJECT(m_view), TQT_SLOT(slotPlayAgain()), actionCollection(), "play_again"); |
202 |
TDEAction *m_playAgainAction = new TDEAction(i18n("Replay Sound"),"player_play", CTRL+Key_P, TQT_TQOBJECT(m_view), TQT_SLOT(slotPlayAgain()), actionCollection(), "play_again"); |
| 203 |
m_playAgainAction->setToolTip(i18n("Play the same sound again")); |
203 |
m_playAgainAction->setToolTip(i18n("Play the same sound again")); |
| 204 |
m_playAgainAction->setWhatsThis(i18n("You can replay the same sound again by clicking this button or using the File menu, Replay Sound.")); |
204 |
m_playAgainAction->setWhatsThis(i18n("You can replay the same sound again by clicking this button or using the File menu, Replay Sound.")); |