From 4c899296290a7499b75b1bd88267d53d7d690ffe Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:29:01 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- ktalkd/kcmktalkd/soundpage.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ktalkd/kcmktalkd') 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); -- cgit v1.2.1