kio
kbookmarkimporter_kde1.h
Go to the documentation of this file.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 <qdom.h>
00025 #include <qcstring.h>
00026 #include <qstringlist.h>
00027 #include <ksimpleconfig.h>
00028 
00034 class KIO_EXPORT KBookmarkImporter
00035 {
00036 public:
00037     KBookmarkImporter( QDomDocument * doc ) : m_pDoc(doc) {}
00038 
00039     void import( const QString & path );
00040 
00041 private:
00042     void scanIntern( QDomElement & parentElem, const QString & _path );
00043     void parseBookmark( QDomElement & parentElem, QCString _text,
00044                         KSimpleConfig& _cfg, const QString &_group );
00045     QDomDocument * m_pDoc;
00046     QStringList m_lstParsedDirs;
00047 };
00048 
00049 #endif