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.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/klinkstatus/src/parser/node.cpp b/klinkstatus/src/parser/node.cpp
index ad5ce064..f83031c8 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_.tqfind("\"", inicio + 1);
+ fim = content_.find("\"", inicio + 1);
tem_aspas_ou_plicas = true;
}
else if(content_[inicio] == '\'')
{
- fim = content_.tqfind("'", inicio + 1);
+ fim = content_.find("'", inicio + 1);
tem_aspas_ou_plicas = true;
}
else
{
int fim_bloco = nextSpaceChar(content_, inicio + 1);
- int fim_tag = content_.tqfind(">", inicio + 1);
- int fim_aspas = content_.tqfind("\"", inicio + 1);
+ int fim_tag = content_.find(">", inicio + 1);
+ int fim_aspas = content_.find("\"", inicio + 1);
if(fim_bloco == -1 && fim_tag == -1 && fim_aspas == -1)
{
@@ -137,7 +137,7 @@ void NodeLink::parseLinkLabel()
do
{
- fim_tag = content_.tqfind(">", fim_tag);
+ fim_tag = content_.find(">", 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_.tqfind("<", fim_tag);
+ int fim_label = content_.find("<", fim_tag);
if(fim_label != -1)
{
@@ -183,7 +183,7 @@ void NodeMETA::parseAttributeURL()
int aspas = -1;
do
{
- aspas = attribute_url_.tqfind("\"");
+ aspas = attribute_url_.find("\"");
if(aspas != -1)
attribute_url_.remove(aspas, 1);
}
@@ -206,7 +206,7 @@ TQString NodeMETA::charset() const
if(content.isEmpty())
return charset;
- int index = content.tqfind("charset=");
+ int index = content.find("charset=");
if(index != -1)
{
index += TQString("charset=").length();