PyKDE - Python Bindings for KDE
class KParts.BrowserExtension
Table of contents
Modules
kparts Classes
All Classes
Module
kparts
Class
KParts.BrowserExtension
Inherits
QObject
enums
(anonymous)
= {DefaultPopupItems, ShowNavigationItems, ShowUp, ShowReload, ShowBookmark, ShowCreateDirectory, ShowTextSelectionItems, NoDeletion }
(anonymous)
= {DefaultPopupItems, ShowNavigationItems, ShowUp, ShowReload, ShowBookmark, ShowCreateDirectory, ShowTextSelectionItems }
(anonymous)
= {DefaultPopupItems, ShowNavigationItems, ShowUp, ShowReload, ShowBookmark, ShowCreateDirectory }
methods
BrowserExtension
(parent, name = 0)
returns
a BrowserExtension instance
Argument
Type
Default
parent
KParts.ReadOnlyPart
name
char
0
actionSlotMap
()
returns
(KParts.BrowserExtension.ActionSlotMap)
static
actionSlotMapPtr
()
returns
(KParts.BrowserExtension.ActionSlotMap)
static
actionText
(name)
returns
(QString)
In versions KDE 3.5.0 and above only
Argument
Type
Default
name
char
addWebSideBar
(url, name)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
url
KURL
name
QString
browserInterface
()
returns
(KParts.BrowserInterface)
childObject
(obj)
returns
(KParts.BrowserExtension)
static
Argument
Type
Default
obj
QObject
createNewWindow
(url, args = KParts .URLArgs ())
returns
nothing
Argument
Type
Default
url
KURL
args
KParts.URLArgs
KParts .URLArgs ()
createNewWindow
(url, args, windowArgs, part)
Not Implemented
enableAction
(name, enabled)
returns
nothing
Argument
Type
Default
name
char
enabled
bool
infoMessage
(a0)
returns
nothing
Argument
Type
Default
a0
QString
isActionEnabled
(name)
returns
(bool)
Argument
Type
Default
name
char
isURLDropHandlingEnabled
()
returns
(bool)
loadingProgress
(percent)
returns
nothing
Argument
Type
Default
percent
int
mouseOverInfo
(item)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
item
KFileItem
moveTopLevelWidget
(x, y)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
x
int
y
int
openURLNotify
()
returns
nothing
openURLRequest
(url, args = KParts .URLArgs ())
returns
nothing
Argument
Type
Default
url
KURL
args
KParts.URLArgs
KParts .URLArgs ()
openURLRequestDelayed
(url, args = KParts .URLArgs ())
returns
nothing
Argument
Type
Default
url
KURL
args
KParts.URLArgs
KParts .URLArgs ()
pasteRequest
()
returns
nothing
In versions KDE 3.2.0 and above only
popupMenu
(global, items)
returns
nothing
Argument
Type
Default
global
QPoint
items
KFileItemList
popupMenu
(client, global, items)
returns
nothing
Argument
Type
Default
client
KXMLGUIClient
global
QPoint
items
KFileItemList
popupMenu
(client, global, items, args, i)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
client
KXMLGUIClient
global
QPoint
items
KFileItemList
args
KParts.URLArgs
i
KParts.BrowserExtension.PopupFlags
popupMenu
(global, url, mimeType, mode = -1)
returns
nothing
Argument
Type
Default
global
QPoint
url
KURL
mimeType
QString
mode
mode_t
-1
popupMenu
(client, global, url, mimeType, mode = -1)
returns
nothing
Argument
Type
Default
client
KXMLGUIClient
global
QPoint
url
KURL
mimeType
QString
mode
mode_t
-1
popupMenu
(client, global, url, args, i, mode = -1)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
client
KXMLGUIClient
global
QPoint
url
KURL
args
KParts.URLArgs
i
KParts.BrowserExtension.PopupFlags
mode
mode_t
-1
requestFocus
(part)
returns
nothing
In versions KDE 3.3.1 and above only
Argument
Type
Default
part
KParts.ReadOnlyPart
resizeTopLevelWidget
(w, h)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
w
int
h
int
restoreState
(stream)
returns
nothing
Argument
Type
Default
stream
QDataStream
saveState
(stream)
returns
nothing
Argument
Type
Default
stream
QDataStream
selectionInfo
(items)
returns
nothing
Argument
Type
Default
items
KFileItemList
selectionInfo
(text)
returns
nothing
Argument
Type
Default
text
QString
selectionInfo
(urls)
returns
nothing
Argument
Type
Default
urls
KURL.List
setActionText
(name, text)
returns
nothing
In versions KDE 3.5.0 and above only
Argument
Type
Default
name
char
text
QString
setBrowserInterface
(impl)
returns
nothing
Argument
Type
Default
impl
KParts.BrowserInterface
setIconURL
(url)
returns
nothing
Argument
Type
Default
url
KURL
setLocationBarURL
(url)
returns
nothing
Argument
Type
Default
url
QString
setPageSecurity
(a0)
returns
nothing
In versions KDE 3.4.0 and above only
Argument
Type
Default
a0
int
setURLArgs
(args)
returns
nothing
Argument
Type
Default
args
KParts.URLArgs
setURLDropHandlingEnabled
(enable)
returns
nothing
Argument
Type
Default
enable
bool
speedProgress
(bytesPerSecond)
returns
nothing
Argument
Type
Default
bytesPerSecond
int
urlArgs
()
returns
(KParts.URLArgs)
xOffset
()
returns
(int)
yOffset
()
returns
(int)