KBookmarkImporterBase Class Reference
from PyKDE4.kio import *
Inherits: QObject
Subclasses: KCrashBookmarkImporterImpl, KIEBookmarkImporterImpl, KNSBookmarkImporterImpl, KOperaBookmarkImporterImpl, KXBELBookmarkImporterImpl
Detailed Description
- Abstract class:
- This class can be used as a base class for new classes, but can not be instantiated directly.
A class for importing NS bookmarks
KEditBookmarks uses it to insert bookmarks into its DOM tree,
and KActionMenu uses it to create actions directly.
Signals |
| endFolder () |
| newBookmark (QString text, QString url, QString additionalInfo) |
| newFolder (QString text, bool open, QString additionalInfo) |
| newSeparator () |
Methods |
| __init__ (self) |
| endFolder (self) |
QString | findDefaultLocation (self, bool forSaving=0) |
| newBookmark (self, QString text, QString url, QString additionalInfo) |
| newFolder (self, QString text, bool open, QString additionalInfo) |
| newSeparator (self) |
| parse (self) |
| setFilename (self, QString filename) |
| setupSignalForwards (self, QObject src, QObject dst) |
Static Methods |
KBookmarkImporterBase | factory (QString type) |
Method Documentation
Tell the outside world that we're going down
one menu
- Signal syntax:
QObject.connect(source, SIGNAL("endFolder()"), target_slot)
QString findDefaultLocation |
( |
self, |
|
|
|
bool |
forSaving=0 |
|
) |
|
|
|
- Abstract method:
- This method is abstract and can be overridden but not called directly.
Notify about a new bookmark
Use "html" for the icon
- Signal syntax:
QObject.connect(source, SIGNAL("newBookmark(const QString&, const QString&, const QString&)"), target_slot)
Notify about a new folder
Use "bookmark_folder" for the icon
- Signal syntax:
QObject.connect(source, SIGNAL("newFolder(const QString&, bool, const QString&)"), target_slot)
Notify about a new separator
- Signal syntax:
QObject.connect(source, SIGNAL("newSeparator()"), target_slot)
- Abstract method:
- This method is abstract and can be overridden but not called directly.
setFilename |
( |
self, |
|
|
|
QString |
filename |
|
) |
|
|
|