summaryrefslogtreecommitdiffstats
path: root/tdehtml/tdehtml_printsettings.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-02-09 15:14:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-02-09 15:14:56 +0900
commit6b4be5f2df2da8986fa68a5de11d509cc37d44cb (patch)
tree4f22ca0f4708e3befcba96f1d3f47661acc5f02b /tdehtml/tdehtml_printsettings.cpp
parentca0e1f81a7dbae8c609b1332e04db5ac7d6fe7df (diff)
downloadtdelibs-6b4be5f2df2da8986fa68a5de11d509cc37d44cb.tar.gz
tdelibs-6b4be5f2df2da8986fa68a5de11d509cc37d44cb.zip
Fix -tdehtml-* rename regression. This resolves bugs 1825 and 1692
Diffstat (limited to 'tdehtml/tdehtml_printsettings.cpp')
-rw-r--r--tdehtml/tdehtml_printsettings.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdehtml/tdehtml_printsettings.cpp b/tdehtml/tdehtml_printsettings.cpp
index 19fe7bdbf..2dc3279a8 100644
--- a/tdehtml/tdehtml_printsettings.cpp
+++ b/tdehtml/tdehtml_printsettings.cpp
@@ -93,16 +93,16 @@ TDEHTMLPrintSettings::~TDEHTMLPrintSettings()
void TDEHTMLPrintSettings::getOptions(TQMap<TQString,TQString>& opts, bool /*incldef*/)
{
- opts["app-tdehtml-printfriendly"] = (m_printfriendly->isChecked() ? "true" : "false");
- opts["app-tdehtml-printimages"] = (m_printimages->isChecked() ? "true" : "false");
- opts["app-tdehtml-printheader"] = (m_printheader->isChecked() ? "true" : "false");
+ opts["app-khtml-printfriendly"] = (m_printfriendly->isChecked() ? "true" : "false");
+ opts["app-khtml-printimages"] = (m_printimages->isChecked() ? "true" : "false");
+ opts["app-khtml-printheader"] = (m_printheader->isChecked() ? "true" : "false");
}
void TDEHTMLPrintSettings::setOptions(const TQMap<TQString,TQString>& opts)
{
- m_printfriendly->setChecked(opts["app-tdehtml-printfriendly"] != "false");
- m_printimages->setChecked(opts["app-tdehtml-printimages"] != "false");
- m_printheader->setChecked(opts["app-tdehtml-printheader"] != "false");
+ m_printfriendly->setChecked(opts["app-khtml-printfriendly"] != "false");
+ m_printimages->setChecked(opts["app-khtml-printimages"] != "false");
+ m_printheader->setChecked(opts["app-khtml-printheader"] != "false");
}
#include "tdehtml_printsettings.moc"