|
|
|
@ -273,8 +273,8 @@ void KSoundPageConfig::soundOnOff()
|
|
|
|
|
|
|
|
|
|
void KSoundPageConfig::defaults() {
|
|
|
|
|
|
|
|
|
|
extprg_edit->lineEdit()->setText(KStandardDirs::findExe("ktalkdlg"));
|
|
|
|
|
client_edit->lineEdit()->setText(KStandardDirs::findExe("konsole")+" -e talk");
|
|
|
|
|
extprg_edit->lineEdit()->setText(TDEStandardDirs::findExe("ktalkdlg"));
|
|
|
|
|
client_edit->lineEdit()->setText(TDEStandardDirs::findExe("konsole")+" -e talk");
|
|
|
|
|
// will be ktalk when ktalk is in CVS.
|
|
|
|
|
sound_cb->setChecked(true);
|
|
|
|
|
|
|
|
|
@ -287,13 +287,13 @@ void KSoundPageConfig::load() {
|
|
|
|
|
config->setGroup("ktalkd");
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
extprg_edit->lineEdit()->setText(config->readPathEntry("ExtPrg",
|
|
|
|
|
KStandardDirs::findExe("ktalkdlg")));
|
|
|
|
|
TDEStandardDirs::findExe("ktalkdlg")));
|
|
|
|
|
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*/);
|
|
|
|
|
sound_cb->setChecked(b);
|
|
|
|
|