summaryrefslogtreecommitdiffstats
path: root/ktalkd
diff options
context:
space:
mode:
Diffstat (limited to 'ktalkd')
-rw-r--r--ktalkd/kcmktalkd/soundpage.cpp10
-rw-r--r--ktalkd/ktalkd/readcfg++.cpp2
2 files changed, 6 insertions, 6 deletions
diff --git a/ktalkd/kcmktalkd/soundpage.cpp b/ktalkd/kcmktalkd/soundpage.cpp
index f69d90b0..0752f7d7 100644
--- a/ktalkd/kcmktalkd/soundpage.cpp
+++ b/ktalkd/kcmktalkd/soundpage.cpp
@@ -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);
diff --git a/ktalkd/ktalkd/readcfg++.cpp b/ktalkd/ktalkd/readcfg++.cpp
index 66eb1d79..4061431a 100644
--- a/ktalkd/ktalkd/readcfg++.cpp
+++ b/ktalkd/ktalkd/readcfg++.cpp
@@ -249,7 +249,7 @@ int process_config_file(void)
tqstrncpy(Options.extprg,TQFile::encodeName(result),S_CFGLINE);
ktalk_debug("Ext prg = %s",Options.extprg); }
else { /* has to work even without config file at all */
- KStandardDirs stddirs;
+ TDEStandardDirs stddirs;
tqstrncpy(Options.extprg, TQFile::encodeName(stddirs.findResource("exe","ktalkdlg")), S_CFGLINE-1);
}