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.
|
|
|
#ifndef KBBBOOKMARKMANAGER_H
|
|
|
|
#define KBBBOOKMARKMANAGER_H
|
|
|
|
|
|
|
|
#include <kbookmarkmanager.h>
|
|
|
|
#include <kstandarddirs.h>
|
|
|
|
|
|
|
|
class KBBBookmarkManager
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static KBookmarkManager * self() {
|
|
|
|
if ( !s_bookmarkManager )
|
|
|
|
{
|
|
|
|
TQString bookmarksFile = locateLocal("data", TQString::tqfromLatin1("kbugbuster/bookmarks.xml"));
|
|
|
|
s_bookmarkManager = KBookmarkManager::managerForFile( bookmarksFile );
|
|
|
|
}
|
|
|
|
return s_bookmarkManager;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static KBookmarkManager *s_bookmarkManager;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|