You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
588 B
25 lines
588 B
15 years ago
|
#ifndef KONQBOOKMARKMANAGER_H
|
||
|
#define KONQBOOKMARKMANAGER_H
|
||
|
|
||
|
#include <kbookmarkmanager.h>
|
||
|
#include <kstandarddirs.h>
|
||
|
#include <libkonq_export.h>
|
||
|
|
||
|
class LIBKONQ_EXPORT KonqBookmarkManager
|
||
|
{
|
||
|
public:
|
||
|
static KBookmarkManager * self() {
|
||
|
if ( !s_bookmarkManager )
|
||
|
{
|
||
|
QString bookmarksFile = locateLocal("data", QString::fromLatin1("konqueror/bookmarks.xml"));
|
||
|
s_bookmarkManager = KBookmarkManager::managerForFile( bookmarksFile );
|
||
|
}
|
||
|
return s_bookmarkManager;
|
||
|
}
|
||
|
|
||
|
private:
|
||
|
static KBookmarkManager *s_bookmarkManager;
|
||
|
};
|
||
|
|
||
|
#endif
|