[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeaddons/konq-plugins/webarchiver
From: Laurent Montel <montel () kde ! org>
Date: 2006-05-04 12:07:11
Message-ID: 1146744431.470149.22840.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 537302 by mlaurent:
Deprecated--
M +6 -6 archivedialog.cpp
M +1 -1 plugin_webarchiver.cpp
--- trunk/KDE/kdeaddons/konq-plugins/webarchiver/archivedialog.cpp #537301:537302
@@ -190,8 +190,8 @@
unsigned long lmap = attrs.length();
for( unsigned int j=0; j<lmap; j++ ) {
attr = static_cast<DOM::Attr>(attrs.item(j));
- if ((attr.name().string().upper() == attrName) &&
- (attr.value().string().upper() == attrValue))
+ if ((attr.name().string().toUpper() == attrName) &&
+ (attr.value().string().toUpper() == attrValue))
return true;
}
return false;
@@ -212,7 +212,7 @@
}
while(!child.isNull()) {
- if (child.nodeName().string().upper() == nodeName)
+ if (child.nodeName().string().toUpper() == nodeName)
return true;
child = child.nextSibling();
}
@@ -225,7 +225,7 @@
QTextStream* _textStream, int indent)
{
const QString nodeNameOrig(pNode.nodeName().string());
- const QString nodeName(pNode.nodeName().string().upper());
+ const QString nodeName(pNode.nodeName().string().toUpper());
QString text;
QString strIndent;
strIndent.fill(' ', indent);
@@ -261,7 +261,7 @@
for( unsigned int j=0; j<lmap; j++ ) {
attr = static_cast<DOM::Attr>(attrs.item(j));
attrNameOrig = attr.name().string();
- attrName = attrNameOrig.upper();
+ attrName = attrNameOrig.toUpper();
attrValue = attr.value().string();
#if 0
@@ -316,7 +316,7 @@
const QString& nodeValue(pNode.nodeValue().string());
if (!(nodeValue.isEmpty())) {
// Don't escape < > in JS or CSS
- QString parentNodeName = pNode.parentNode().nodeName().string().upper();
+ QString parentNodeName = pNode.parentNode().nodeName().string().toUpper();
if (parentNodeName == "STYLE") {
text = analyzeInternalCSS(baseURL, pNode.nodeValue().string());
} else if (m_bPreserveWS) {
--- trunk/KDE/kdeaddons/konq-plugins/webarchiver/plugin_webarchiver.cpp #537301:537302
@@ -70,7 +70,7 @@
return;
KHTMLPart *part = static_cast<KHTMLPart *>( parent() );
- QString archiveName = QString::fromUtf8(part->htmlDocument().title().string().utf8());
+ QString archiveName = QString::fromUtf8(part->htmlDocument().title().string().toUtf8());
if (archiveName.isEmpty())
archiveName = i18n("Untitled");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic