browserextension.h
311 TQ_PROPERTY( bool urlDropHandling READ isURLDropHandlingEnabled WRITE setURLDropHandlingEnabled )
348 };
598 void popupMenu( KXMLGUIClient *client, const TQPoint &global, const KFileItemList &items, const KParts::URLArgs &args, KParts::BrowserExtension::PopupFlags i );
635 const KParts::URLArgs &args, KParts::BrowserExtension::PopupFlags i, mode_t mode = (mode_t)-1 );
752 BrowserHostExtension *findFrameParent(KParts::ReadOnlyPart *callingPart, const TQString &frame);
807 virtual bool get( const unsigned long objid, const TQString & field, Type & type, unsigned long & retobjid, TQString & value );
815 virtual bool call( const unsigned long objid, const TQString & func, const TQStringList & args, Type & type, unsigned long & retobjid, TQString & value );
826 virtual void partEvent( const unsigned long objid, const TQString & event, const ArgList & args );
The Browser Extension is an extension (yes, no kidding) to KParts::ReadOnlyPart, which allows a bette...
Definition: browserextension.h:309
void setLocationBarURL(const TQString &url)
Updates the URL shown in the browser's location bar to url.
void enableAction(const char *name, bool enabled)
Enables or disable a standard action held by the browser.
void loadingProgress(int percent)
Since the part emits the jobid in the started() signal, progress information is automatically display...
void popupMenu(const TQPoint &global, const KFileItemList &items)
Emit this to make the browser show a standard popup menu at the point global for the files items.
void createNewWindow(const KURL &url, const KParts::URLArgs &args, const KParts::WindowArgs &windowArgs, KParts::ReadOnlyPart *&part)
Asks the hosting browser to open a new window for the given url and return a reference to the content...
void selectionInfo(const KURL::List &urls)
Inform the hosting application about the current selection.
void speedProgress(int bytesPerSecond)
void resizeTopLevelWidget(int w, int h)
Ask the hosting application to resize the top level widget.
void setPageSecurity(int)
Tell the host (browser) about security state of current page enum PageSecurity { NotCrypted,...
void openURLNotify()
Tells the hosting browser that the part opened a new URL (which can be queried via KParts::Part::url(...
void requestFocus(KParts::ReadOnlyPart *part)
Ask the hosting application to focus part.
void popupMenu(KXMLGUIClient *client, const TQPoint &global, const KFileItemList &items)
Emit this to make the browser show a standard popup menu at the point global for the files items.
void popupMenu(KXMLGUIClient *client, const TQPoint &global, const KURL &url, const TQString &mimeType, mode_t mode=(mode_t) -1)
Emit this to make the browser show a standard popup menu at the point global for the given url.
void popupMenu(KXMLGUIClient *client, const TQPoint &global, const KURL &url, const KParts::URLArgs &args, KParts::BrowserExtension::PopupFlags i, mode_t mode=(mode_t) -1)
Emit this to make the browser show a standard popup menu at the point global for the given url.
void mouseOverInfo(const KFileItem *item)
Inform the hosting application that the user moved the mouse over an item.
void popupMenu(const TQPoint &global, const KURL &url, const TQString &mimeType, mode_t mode=(mode_t) -1)
Emit this to make the browser show a standard popup menu at the point global for the given url.
void moveTopLevelWidget(int x, int y)
Ask the hosting application to move the top level widget.
void selectionInfo(const KFileItemList &items)
Inform the hosting application about the current selection.
void itemsRemoved(const KFileItemList &items)
Inform the host about items that have been removed.
void createNewWindow(const KURL &url, const KParts::URLArgs &args=KParts::URLArgs())
Asks the hosting browser to open a new window for the given url.
void setIconURL(const KURL &url)
Sets the URL of an icon for the currently displayed page.
void selectionInfo(const TQString &text)
Inform the hosting application about the current selection.
void openURLRequestDelayed(const KURL &url, const KParts::URLArgs &args=KParts::URLArgs())
This signal is emitted when openURLRequest is called, after a 0-seconds timer.
void openURLRequest(const KURL &url, const KParts::URLArgs &args=KParts::URLArgs())
Asks the host (browser) to open url.
void addWebSideBar(const KURL &url, const TQString &name)
Ask the hosting application to add a new HTML (aka Mozilla/Netscape) SideBar entry.
void setActionText(const char *name, const TQString &text)
Change the text of a standard action held by the browser.
An extension class for container parts, i.e.
Definition: browserextension.h:725
The purpose of this interface is to allow a direct communication between a KPart and the hosting brow...
Definition: browserinterface.h:39
An extension class for LiveConnect, i.e.
Definition: browserextension.h:793
virtual void partEvent(const unsigned long objid, const TQString &event, const ArgList &args)
notify an event from the part of object objid
The KParts::OpenURLEvent event informs that a given part has opened a given URL.
Definition: browserextension.h:222
URLArgs is a set of arguments bundled into a structure, to allow specifying how a URL should be opene...
Definition: browserextension.h:58
TQStringList docState
This buffer can be used by the part to save and restore its contents.
Definition: browserextension.h:70
int xOffset
xOffset is the horizontal scrolling of the part's widget (in case it's a scrollview).
Definition: browserextension.h:81
bool reload
reload is set when the cache shouldn't be used (forced reload).
Definition: browserextension.h:75
TQString serviceType
The servicetype (usually mimetype) to use when opening the next URL.
Definition: browserextension.h:89
TQByteArray postData
TDEHTML-specific field, contents of the HTTP POST data.
Definition: browserextension.h:94
bool trustedSource
If true, the part who asks for a URL to be opened can be 'trusted' to execute applications.
Definition: browserextension.h:146
The WindowArgs are used to specify arguments to the "create new window" call (see the createNewWindow...
Definition: browserextension.h:185