summaryrefslogtreecommitdiffstats
path: root/khtml/html/html_formimpl.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:47:22 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:47:22 -0600
commit28edc0aa2ab09297288186f5bc15765eb7be58c0 (patch)
tree7b7a01768b3781763186c825af21bb14717d2c32 /khtml/html/html_formimpl.cpp
parent07c48c43ff72c237e4028154f4594102b798073f (diff)
downloadtdelibs-28edc0aa2ab09297288186f5bc15765eb7be58c0.tar.gz
tdelibs-28edc0aa2ab09297288186f5bc15765eb7be58c0.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'khtml/html/html_formimpl.cpp')
-rw-r--r--khtml/html/html_formimpl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/khtml/html/html_formimpl.cpp b/khtml/html/html_formimpl.cpp
index b7ae2a8f4..7477679bc 100644
--- a/khtml/html/html_formimpl.cpp
+++ b/khtml/html/html_formimpl.cpp
@@ -238,7 +238,7 @@ TQByteArray HTMLFormElementImpl::formData(bool& ok)
if(view && view->part())
enc = view->part()->encoding();
}
- if((codec = KGlobal::charsets()->codecForName(enc.latin1())))
+ if((codec = TDEGlobal::charsets()->codecForName(enc.latin1())))
break;
}
}
@@ -305,8 +305,8 @@ TQByteArray HTMLFormElementImpl::formData(bool& ok)
TQString val = static_cast<HTMLInputElementImpl*>(current)->value().string().stripWhiteSpace();
if (!val.isEmpty() &&
TQDir::isRelativePath(val) &&
- TQFile::exists(KGlobalSettings::documentPath() + val)) {
- path.setPath(KGlobalSettings::documentPath() + val);
+ TQFile::exists(TDEGlobalSettings::documentPath() + val)) {
+ path.setPath(TDEGlobalSettings::documentPath() + val);
} else {
path = KURL::fromPathOrURL(val);
}
@@ -1609,8 +1609,8 @@ bool HTMLInputElementImpl::encoding(const TQTextCodec* codec, khtml::encodingLis
TQString val = value().string();
if (!val.isEmpty() &&
TQDir::isRelativePath(val) &&
- TQFile::exists(KGlobalSettings::documentPath() + val)) {
- fileurl.setPath(KGlobalSettings::documentPath() + val);
+ TQFile::exists(TDEGlobalSettings::documentPath() + val)) {
+ fileurl.setPath(TDEGlobalSettings::documentPath() + val);
} else {
fileurl = KURL::fromPathOrURL(val);
}