tdeio/bookmarks
kbookmarkimporter_kde1.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __kbookmarkimporter_kde1_h
00022 #define __kbookmarkimporter_kde1_h
00023
00024 #include <tqdom.h>
00025 #include <tqcstring.h>
00026 #include <tqstringlist.h>
00027 #include <ksimpleconfig.h>
00028
00034 class TDEIO_EXPORT KBookmarkImporter
00035 {
00036 public:
00037 KBookmarkImporter( TQDomDocument * doc ) : m_pDoc(doc) {}
00038
00039 void import( const TQString & path );
00040
00041 private:
00042 void scanIntern( TQDomElement & parentElem, const TQString & _path );
00043 void parseBookmark( TQDomElement & parentElem, TQCString _text,
00044 KSimpleConfig& _cfg, const TQString &_group );
00045 TQDomDocument * m_pDoc;
00046 TQStringList m_lstParsedDirs;
00047 };
00048
00049 #endif