Hi,<br>&nbsp;&nbsp;&nbsp;&nbsp; I am little confused whether I should now change the code of flickrexport plugin to check the hasFeature(HostSupportsTags) before using the attributes function or not. The code can very well just call the attributes() function without checking the feature as it would automatically get an empty string list in case application doesn't support the &quot;tags&quot; key.
<br><br>Let me know ur opinion.<br><br>Vardhman<br><div><span class="gmail_quote">On 7/18/06, <b class="gmail_sendername">Tom Albers</b> &lt;<a href="mailto:tomalbers@kde.nl">tomalbers@kde.nl</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Op dinsdag 18 juli 2006 19:06, schreef u:<br>&gt; Op maandag 17 juli 2006 22:18, schreef Vardhman Jain:<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I have started breaking libkipi binary compatibility (:)). Just<br>&gt; &gt; added the HostSupportsTags feature in the enum list of features. Now
<br>&gt; &gt; Applications can support this feature.<br>&gt;<br>&gt; Do any app do that already? I tried digikam trunk, but your code from<br>&gt; flickr applied to sendimages:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //Tags from the database
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QMap &lt;QString, QVariant&gt; attribs=info.attributes();<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QStringList tagsFromDatabase;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (m_interface-&gt;hasFeature(KIPI::HostSupportsTags))<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tagsFromDatabase=attribs[&quot;tags&quot;].asStringList();
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kdDebug() &lt;&lt; &quot;Tags: &quot; &lt;&lt; tagsFromDatabase &lt;&lt; endl;<br>&gt;<br>&gt; Stays empty for me....<br>&gt;<br>&gt; Toma<br><br>Ignore that, I found the comment in digiKam. I think the comment should be
<br>removed by the way.<br><br>Toma<br>_______________________________________________<br>Kde-imaging mailing list<br><a href="mailto:Kde-imaging@kde.org">Kde-imaging@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/kde-imaging">
https://mail.kde.org/mailman/listinfo/kde-imaging</a><br></blockquote></div><br><br clear="all"><br>-- <br>Blogs: <a href="http://vardhman.blogspot.com">http://vardhman.blogspot.com</a><br>