org.kde.koala
public class BrowserExtension extends QObject
cut
: Copy selected items to clipboard and store 'not cut' in clipboard.
copy
: Copy selected items to clipboard and store 'cut' in clipboard.
paste
: Paste clipboard into view URL.
pasteTo
(KURL) : Paste clipboard into given URL.
rename
: Rename item in place.
trash
: Move selected items to trash.
del
: Delete selected items (couldn't call it delete!).
shred
: Shred selected items (secure deletion) - DEPRECATED.
properties
: Show file/document properties.
editMimeType
: show file/document's mimetype properties.
searchProvider
: Lookup selected text at default search provider
print
: Print :-)
reparseConfiguration
: Re-read configuration and apply it.
refreshMimeTypes
: If the view uses mimetypes it should re-determine them.
setSaveViewPropertiesLocally
( boolean ): If true
, view properties are saved into .directory
otherwise, they are saved globally.
disableScrolling
: no scrollbars
UNKNOWN: The Browser Extension is an extension (yes, no kidding) to KParts.ReadOnlyPart, which allows a better integration of parts with browsers (in particular Konqueror).
Constructor Summary | |
---|---|
protected | BrowserExtension(Class dummy) |
BrowserExtension(ReadOnlyPart parent, String name)
Constructor | |
BrowserExtension(ReadOnlyPart parent) |
Method Summary | |
---|---|
String | actionText(String name) |
BrowserInterface | browserInterface() |
static BrowserExtension | childObject(QObject arg1)
Queries obj for a child object which inherits from this
BrowserExtension class. |
String | className() |
boolean | isActionEnabled(String name) |
boolean | isURLDropHandlingEnabled()
Returns whether url drop handling is enabled.
|
QMetaObject | metaObject() |
void | pasteRequest()
Asks the hosting browser to perform a paste (using openURLRequestDelayed) |
void | restoreState(QDataStream stream)
Used by the browser to restore the view in the state
it was when we left it.
|
void | saveState(QDataStream stream)
Used by the browser to save the current state of the view
(in order to restore it if going back in navigation).
|
void | setBrowserInterface(BrowserInterface impl) |
void | setURLArgs(URLArgs args)
Set the parameters to use for opening the next URL.
|
void | setURLDropHandlingEnabled(boolean enable)
Enables or disables url drop handling. |
URLArgs | urlArgs()
Retrieve the set of parameters to use for opening the URL
(this must be called from openURL() in the part). |
int | xOffset()
Returns the current x offset.
|
int | yOffset()
Returns the current y offset.
|
Parameters: parent The KParts.ReadOnlyPart that this extension ... "extends" :) name An optional name for the extension.
UNKNOWN: Constructor
Returns: the text of an action, if it was set explicitely by the part. When the setActionText signal is emitted, the browserextension stores the text of the action internally, so that it's possible to query later for the text of the action, using this method.
UNKNOWN:
obj
for a child object which inherits from this
BrowserExtension class. Convenience method.UNKNOWN: Queries obj
for a child object which inherits from this BrowserExtension class.
Returns: the status (enabled/disabled) of an action. When the enableAction signal is emitted, the browserextension stores the status of the action internally, so that it's possible to query later for the status of the action, using this method.
UNKNOWN:
UNKNOWN: Returns whether url drop handling is enabled.
UNKNOWN: Asks the hosting browser to perform a paste (using openURLRequestDelayed)
UNKNOWN: Used by the browser to restore the view in the state it was when we left it.
UNKNOWN: Used by the browser to save the current state of the view (in order to restore it if going back in navigation).
See Also: URLArgs
UNKNOWN: Set the parameters to use for opening the next URL.
UNKNOWN: Enables or disables url drop handling.
See Also: URLArgs
UNKNOWN: Retrieve the set of parameters to use for opening the URL (this must be called from openURL() in the part).
UNKNOWN: Returns the current x offset.
UNKNOWN: Returns the current y offset.