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.
tdesdk/kbugbuster/gui/kbbbookmarkmanager.h

24 lines
537 B

#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::fromLatin1("kbugbuster/bookmarks.xml"));
s_bookmarkManager = KBookmarkManager::managerForFile( bookmarksFile );
}
return s_bookmarkManager;
}
static KBookmarkManager *s_bookmarkManager;
};
#endif