summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/parser/node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/parser/node.cpp')
-rw-r--r--klinkstatus/src/parser/node.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/klinkstatus/src/parser/node.cpp b/klinkstatus/src/parser/node.cpp
index cb5fdec4..ad5ce064 100644
--- a/klinkstatus/src/parser/node.cpp
+++ b/klinkstatus/src/parser/node.cpp
@@ -39,19 +39,19 @@ TQString Node::getAttribute(TQString const& atributo)
{
if(content_[inicio] == '"')
{
- fim = content_.find("\"", inicio + 1);
+ fim = content_.tqfind("\"", inicio + 1);
tem_aspas_ou_plicas = true;
}
else if(content_[inicio] == '\'')
{
- fim = content_.find("'", inicio + 1);
+ fim = content_.tqfind("'", inicio + 1);
tem_aspas_ou_plicas = true;
}
else
{
int fim_bloco = nextSpaceChar(content_, inicio + 1);
- int fim_tag = content_.find(">", inicio + 1);
- int fim_aspas = content_.find("\"", inicio + 1);
+ int fim_tag = content_.tqfind(">", inicio + 1);
+ int fim_aspas = content_.tqfind("\"", inicio + 1);
if(fim_bloco == -1 && fim_tag == -1 && fim_aspas == -1)
{
@@ -137,7 +137,7 @@ void NodeLink::parseLinkLabel()
do
{
- fim_tag = content_.find(">", fim_tag);
+ fim_tag = content_.tqfind(">", fim_tag);
if(fim_tag != -1)
proximo_caractere = TQChar(content_[++fim_tag]);
@@ -147,7 +147,7 @@ void NodeLink::parseLinkLabel()
if(fim_tag != -1)
{
- int fim_label = content_.find("<", fim_tag);
+ int fim_label = content_.tqfind("<", fim_tag);
if(fim_label != -1)
{
@@ -166,7 +166,7 @@ void NodeLink::parseLinkLabel()
void NodeMETA::parseAttributeURL()
{
if(attribute_http_equiv_.isEmpty())
- parseAttributeHTTP_EQUIV();
+ parseAttributeHTTP_ETQUIV();
if(upperCase(attribute_http_equiv_) == "REFRESH")
{
@@ -183,7 +183,7 @@ void NodeMETA::parseAttributeURL()
int aspas = -1;
do
{
- aspas = attribute_url_.find("\"");
+ aspas = attribute_url_.tqfind("\"");
if(aspas != -1)
attribute_url_.remove(aspas, 1);
}
@@ -206,7 +206,7 @@ TQString NodeMETA::charset() const
if(content.isEmpty())
return charset;
- int index = content.find("charset=");
+ int index = content.tqfind("charset=");
if(index != -1)
{
index += TQString("charset=").length();