summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.cpp')
-rw-r--r--kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.cpp
index b6297b61..0bbe7b4b 100644
--- a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.cpp
+++ b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.cpp
@@ -264,7 +264,7 @@ TQDomElement stringListToXml(TQDomDocument &doc, const TQString &name, const TQS
/*TQDomElement findSubTag(const TQDomElement &e, const TQString &name, bool *found)
{
if(found)
- *found = FALSE;
+ *found = false;
for(TQDomNode n = e.firstChild(); !n.isNull(); n = n.nextSibling()) {
TQDomElement i = n.toElement();
@@ -272,7 +272,7 @@ TQDomElement stringListToXml(TQDomDocument &doc, const TQString &name, const TQS
continue;
if(i.tagName() == name) {
if(found)
- *found = TRUE;
+ *found = true;
return i;
}
}
@@ -283,7 +283,7 @@ TQDomElement stringListToXml(TQDomDocument &doc, const TQString &name, const TQS
void readEntry(const TQDomElement &e, const TQString &name, TQString *v)
{
- bool found = FALSE;
+ bool found = false;
TQDomElement tag = findSubTag(e, name, &found);
if(!found)
return;
@@ -292,7 +292,7 @@ void readEntry(const TQDomElement &e, const TQString &name, TQString *v)
void readNumEntry(const TQDomElement &e, const TQString &name, int *v)
{
- bool found = FALSE;
+ bool found = false;
TQDomElement tag = findSubTag(e, name, &found);
if(!found)
return;
@@ -301,16 +301,16 @@ void readNumEntry(const TQDomElement &e, const TQString &name, int *v)
void readBoolEntry(const TQDomElement &e, const TQString &name, bool *v)
{
- bool found = FALSE;
+ bool found = false;
TQDomElement tag = findSubTag(e, name, &found);
if(!found)
return;
- *v = (tagContent(tag) == "true") ? TRUE: FALSE;
+ *v = (tagContent(tag) == "true");
}
void readSizeEntry(const TQDomElement &e, const TQString &name, TQSize *v)
{
- bool found = FALSE;
+ bool found = false;
TQDomElement tag = findSubTag(e, name, &found);
if(!found)
return;
@@ -325,7 +325,7 @@ void readSizeEntry(const TQDomElement &e, const TQString &name, TQSize *v)
void readRectEntry(const TQDomElement &e, const TQString &name, TQRect *v)
{
- bool found = FALSE;
+ bool found = false;
TQDomElement tag = findSubTag(e, name, &found);
if(!found)
return;
@@ -342,7 +342,7 @@ void readRectEntry(const TQDomElement &e, const TQString &name, TQRect *v)
void readColorEntry(const TQDomElement &e, const TQString &name, TQColor *v)
{
- bool found = FALSE;
+ bool found = false;
TQDomElement tag = findSubTag(e, name, &found);
if(!found)
return;
@@ -378,7 +378,7 @@ void readBoolAttribute(TQDomElement e, const TQString &name, bool *v)
{
if(e.hasAttribute(name)) {
TQString s = e.attribute(name);
- *v = (s == "true") ? TRUE: FALSE;
+ *v = (s == "true");
}
}