git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@329
56b19765-1e22-0410-a548-
a0f45d66c51a
{
return m_threadMap.contains( datURL );
}
+
+FavoriteThreads* FavoriteThreads::fromXml( const QString& xml )
+{
+ FavoriteThreads* instance = FavoriteThreads::getInstance();
+
+ return instance;
+}
+
+const QString FavoriteThreads::toXml() const
+{
+ QString ret;
+
+ ret += "<favorites xmlns=\"http://kita.sourceforge.jp/ns/thread\">\n";
+ ret += "</favorites>\n";
+
+ return ret;
+}
void remove( const QString& datURL );
bool contains( const QString& datURL ) const;
const QMap<QString, Kita::Thread>& threads() const { return m_threadMap; };
+ static FavoriteThreads* fromXml( const QString& xml );
+ const QString toXml() const;
};
#endif