|
|
@ -273,8 +273,8 @@ void KSoundPageConfig::soundOnOff()
|
|
|
|
|
|
|
|
|
|
|
|
void KSoundPageConfig::defaults() {
|
|
|
|
void KSoundPageConfig::defaults() {
|
|
|
|
|
|
|
|
|
|
|
|
extprg_edit->lineEdit()->setText(KStandardDirs::findExe("ktalkdlg"));
|
|
|
|
extprg_edit->lineEdit()->setText(TDEStandardDirs::findExe("ktalkdlg"));
|
|
|
|
client_edit->lineEdit()->setText(KStandardDirs::findExe("konsole")+" -e talk");
|
|
|
|
client_edit->lineEdit()->setText(TDEStandardDirs::findExe("konsole")+" -e talk");
|
|
|
|
// will be ktalk when ktalk is in CVS.
|
|
|
|
// will be ktalk when ktalk is in CVS.
|
|
|
|
sound_cb->setChecked(true);
|
|
|
|
sound_cb->setChecked(true);
|
|
|
|
|
|
|
|
|
|
|
@ -287,13 +287,13 @@ void KSoundPageConfig::load() {
|
|
|
|
config->setGroup("ktalkd");
|
|
|
|
config->setGroup("ktalkd");
|
|
|
|
announceconfig->setGroup("ktalkannounce");
|
|
|
|
announceconfig->setGroup("ktalkannounce");
|
|
|
|
|
|
|
|
|
|
|
|
setenv("TDEBINDIR",TQFile::encodeName(KStandardDirs::kde_default("exe")),false/*don't overwrite*/);
|
|
|
|
setenv("TDEBINDIR",TQFile::encodeName(TDEStandardDirs::kde_default("exe")),false/*don't overwrite*/);
|
|
|
|
// for the first reading of the config file
|
|
|
|
// for the first reading of the config file
|
|
|
|
|
|
|
|
|
|
|
|
extprg_edit->lineEdit()->setText(config->readPathEntry("ExtPrg",
|
|
|
|
extprg_edit->lineEdit()->setText(config->readPathEntry("ExtPrg",
|
|
|
|
KStandardDirs::findExe("ktalkdlg")));
|
|
|
|
TDEStandardDirs::findExe("ktalkdlg")));
|
|
|
|
client_edit->lineEdit()->setText(announceconfig->readPathEntry("talkprg",
|
|
|
|
client_edit->lineEdit()->setText(announceconfig->readPathEntry("talkprg",
|
|
|
|
KStandardDirs::findExe("konsole")+" -e talk")); // will be ktalk when ktalk is in CVS
|
|
|
|
TDEStandardDirs::findExe("konsole")+" -e talk")); // will be ktalk when ktalk is in CVS
|
|
|
|
|
|
|
|
|
|
|
|
bool b = announceconfig->readBoolEntry("Sound",true/*default value*/);
|
|
|
|
bool b = announceconfig->readBoolEntry("Sound",true/*default value*/);
|
|
|
|
sound_cb->setChecked(b);
|
|
|
|
sound_cb->setChecked(b);
|
|
|
|