summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/yahoo/libkyahoo/yabentry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/yahoo/libkyahoo/yabentry.cpp')
-rw-r--r--kopete/protocols/yahoo/libkyahoo/yabentry.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kopete/protocols/yahoo/libkyahoo/yabentry.cpp b/kopete/protocols/yahoo/libkyahoo/yabentry.cpp
index bcd067c4..4b197b28 100644
--- a/kopete/protocols/yahoo/libkyahoo/yabentry.cpp
+++ b/kopete/protocols/yahoo/libkyahoo/yabentry.cpp
@@ -56,6 +56,7 @@ void YABEntry::fromTQDomElement( const TQDomElement &e )
additional3 = e.attribute("c3");
additional4 = e.attribute("c4");
notes = e.attribute("cm").replace( "
", "\n" );
+ imAIM = e.attribute("ima");
imGoogleTalk = e.attribute("img");
imICQ = e.attribute("imq");
imIRC = e.attribute("imc");
@@ -104,6 +105,7 @@ void YABEntry::fromTQDomDocument( const TQDomDocument &d )
additional3 = d.elementsByTagName("c3").item(0).toElement().text();
additional4 = d.elementsByTagName("c4").item(0).toElement().text();
notes = d.elementsByTagName("cm").item(0).toElement().text().replace( "
", "\n" );
+ imAIM = d.elementsByTagName("ima").item(0).toElement().text();
imGoogleTalk = d.elementsByTagName("img").item(0).toElement().text();
imICQ = d.elementsByTagName("imq").item(0).toElement().text();
imIRC = d.elementsByTagName("imc").item(0).toElement().text();
@@ -149,6 +151,7 @@ void YABEntry::fillTQDomElement( TQDomElement &e ) const
e.setAttribute( "c3", additional3 );
e.setAttribute( "c4", additional4 );
e.setAttribute( "cm", TQString( notes ).replace( '\n', "
" ) );
+ e.setAttribute( "ima", imAIM );
e.setAttribute( "img", imGoogleTalk );
e.setAttribute( "imq", imICQ );
e.setAttribute( "imc", imIRC );