kio
KBookmarkImporterBase Class Reference
A class for importing NS bookmarks KEditBookmarks uses it to insert bookmarks into its DOM tree, and KActionMenu uses it to create actions directly. More...
#include <kbookmarkimporter.h>
Inheritance diagram for KBookmarkImporterBase:
Signals | |
void | endFolder () |
void | newBookmark (const QString &text, const QCString &url, const QString &additionalInfo) |
void | newFolder (const QString &text, bool open, const QString &additionalInfo) |
void | newSeparator () |
Public Member Functions | |
virtual QString | findDefaultLocation (bool forSaving=false) const =0 |
KBookmarkImporterBase () | |
virtual void | parse ()=0 |
void | setFilename (const QString &filename) |
void | setupSignalForwards (QObject *src, QObject *dst) |
virtual | ~KBookmarkImporterBase () |
Static Public Member Functions | |
static KBookmarkImporterBase * | factory (const QString &type) |
Protected Attributes | |
QString | m_fileName |
Detailed Description
A class for importing NS bookmarks KEditBookmarks uses it to insert bookmarks into its DOM tree, and KActionMenu uses it to create actions directly.
- Since:
- 3.2
Definition at line 37 of file kbookmarkimporter.h.
Constructor & Destructor Documentation
KBookmarkImporterBase::KBookmarkImporterBase | ( | ) | [inline] |
Definition at line 41 of file kbookmarkimporter.h.
virtual KBookmarkImporterBase::~KBookmarkImporterBase | ( | ) | [inline, virtual] |
Definition at line 42 of file kbookmarkimporter.h.
Member Function Documentation
void KBookmarkImporterBase::endFolder | ( | ) | [signal] |
Tell the outside world that we're going down one menu.
KBookmarkImporterBase * KBookmarkImporterBase::factory | ( | const QString & | type | ) | [static] |
Definition at line 85 of file kbookmarkimporter.cc.
virtual QString KBookmarkImporterBase::findDefaultLocation | ( | bool | forSaving = false |
) | const [pure virtual] |
void KBookmarkImporterBase::newBookmark | ( | const QString & | text, | |
const QCString & | url, | |||
const QString & | additionalInfo | |||
) | [signal] |
Notify about a new bookmark Use "html" for the icon.
void KBookmarkImporterBase::newFolder | ( | const QString & | text, | |
bool | open, | |||
const QString & | additionalInfo | |||
) | [signal] |
Notify about a new folder Use "bookmark_folder" for the icon.
void KBookmarkImporterBase::newSeparator | ( | ) | [signal] |
Notify about a new separator.
virtual void KBookmarkImporterBase::parse | ( | ) | [pure virtual] |
void KBookmarkImporterBase::setFilename | ( | const QString & | filename | ) | [inline] |
Definition at line 44 of file kbookmarkimporter.h.
Definition at line 73 of file kbookmarkimporter.cc.
Member Data Documentation
QString KBookmarkImporterBase::m_fileName [protected] |
Definition at line 78 of file kbookmarkimporter.h.
The documentation for this class was generated from the following files: