1 /* This file is part of the KDE project
2 Copyright (C) 1999 Simon Hausmann <hausmann@kde.org>
3 David Faure <faure@kde.org>
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
21 #ifndef __kparts_browserextension_h__
22 #define __kparts_browserextension_h__
24 #include <sys/types.h>
26 #include <kparts/part.h>
27 #include <kparts/event.h>
29 #include <QtCore/QSharedDataPointer>
31 template <class T1
, class T2
> struct QPair
;
32 template<typename T
> class Q3PtrList
;
33 template <class Key
, class T
> class QMap
;
34 template<typename T
> class QList
;
45 class BrowserInterface
;
47 struct BrowserArgumentsPrivate
;
50 * BrowserArguments is a set of web-browsing-specific arguments,
51 * which allow specifying how a URL should be opened by openUrl()
52 * (as a complement to KParts::OpenUrlArguments which are the non-web-specific arguments)
54 * The arguments remain stored in the browser extension after that,
55 * and can be used for instance to jump to the xOffset/yOffset position
56 * once the url has finished loading.
58 * The parts (with a browser extension) who care about urlargs will
59 * use those arguments, others will ignore them.
61 * This can also be used the other way round, when a part asks
62 * for a URL to be opened (with openUrlRequest or createNewWindow).
64 struct KPARTS_EXPORT BrowserArguments
67 BrowserArguments( const BrowserArguments
&args
);
68 BrowserArguments
&operator=( const BrowserArguments
&args
);
70 virtual ~BrowserArguments();
72 // KDE4: a struct has the problem that the stuff added after BC-freeze uses methods
73 // so it looks inconsistent with the member vars. -> better use methods for everything,
74 // even if they are inline.
78 * This buffer can be used by the part to save and restore its contents.
79 * See KHTMLPart for instance.
84 * @p softReload is set when user just hits reload button. It's used
85 * currently for two different frameset reload strategies. In case of
86 * soft reload individual frames are reloaded instead of reloading whole
92 * KHTML-specific field, contents of the HTTP POST data.
97 * KHTML-specific field, header defining the type of the POST data.
99 void setContentType( const QString
& contentType
);
101 * KHTML-specific field, header defining the type of the POST data.
103 QString
contentType() const;
105 * KHTML-specific field, whether to do a POST instead of a GET,
106 * for the next openURL.
108 void setDoPost( bool enable
);
111 * KHTML-specific field, whether to do a POST instead of a GET,
112 * for the next openURL.
117 * Whether to lock the history when opening the next URL.
118 * This is used during e.g. a redirection, to avoid a new entry
121 void setLockHistory( bool lock
);
122 bool lockHistory() const;
125 * Whether the URL should be opened in a new tab instead in a new window.
127 void setNewTab( bool newTab
);
131 * The frame in which to open the URL. KHTML/Konqueror-specific.
136 * If true, the part who asks for a URL to be opened can be 'trusted'
137 * to execute applications. For instance, the directory views can be
138 * 'trusted' whereas HTML pages are not trusted in that respect.
143 * @return true if the request was a result of a META refresh/redirect request or
146 bool redirectedRequest () const;
149 * Set the redirect flag to indicate URL is a result of either a META redirect
154 void setRedirectedRequest(bool redirected
);
157 * Set whether the URL specifies to be opened in a new window
159 void setForcesNewWindow( bool forcesNewWindow
);
162 * Whether the URL specifies to be opened in a new window
164 bool forcesNewWindow() const;
167 BrowserArgumentsPrivate
*d
;
170 class WindowArgsPrivate
;
173 * The WindowArgs are used to specify arguments to the "create new window"
174 * call (see the createNewWindow variant that uses WindowArgs).
175 * The primary reason for this is the javascript window.open function.
177 class KPARTS_EXPORT WindowArgs
182 WindowArgs( const WindowArgs
&args
);
183 WindowArgs
&operator=( const WindowArgs
&args
);
184 WindowArgs( const QRect
&_geometry
, bool _fullscreen
, bool _menuBarVisible
,
185 bool _toolBarsVisible
, bool _statusBarVisible
, bool _resizable
);
186 WindowArgs( int _x
, int _y
, int _width
, int _height
, bool _fullscreen
,
187 bool _menuBarVisible
, bool _toolBarsVisible
,
188 bool _statusBarVisible
, bool _resizable
);
196 void setWidth(int w
);
199 void setHeight(int h
);
202 void setFullScreen(bool fs
);
203 bool isFullScreen() const;
205 void setMenuBarVisible(bool visible
);
206 bool isMenuBarVisible() const;
208 void setToolBarsVisible(bool visible
);
209 bool toolBarsVisible() const;
211 void setStatusBarVisible(bool visible
);
212 bool isStatusBarVisible() const;
214 void setResizable(bool resizable
);
215 bool isResizable() const;
217 void setLowerWindow(bool lower
);
218 bool lowerWindow() const;
220 void setScrollBarsVisible(bool visible
);
221 bool scrollBarsVisible() const;
224 QSharedDataPointer
<WindowArgsPrivate
> d
;
228 * The KParts::OpenUrlEvent event informs that a given part has opened a given URL.
229 * Applications can use this event to send this information to interested plugins.
231 * The event should be sent before opening the URL in the part, so that the plugins
232 * can use part()->url() to get the old URL.
234 class KPARTS_EXPORT OpenUrlEvent
: public Event
237 OpenUrlEvent( ReadOnlyPart
*part
, const KUrl
&url
,
238 const OpenUrlArguments
& args
= OpenUrlArguments(),
239 const BrowserArguments
& browserArgs
= BrowserArguments() );
240 virtual ~OpenUrlEvent();
242 ReadOnlyPart
*part() const;
244 OpenUrlArguments
arguments() const;
245 BrowserArguments
browserArguments() const;
247 static bool test( const QEvent
*event
);
250 class OpenUrlEventPrivate
;
251 OpenUrlEventPrivate
* const d
;
255 * The Browser Extension is an extension (yes, no kidding) to
256 * KParts::ReadOnlyPart, which allows a better integration of parts
257 * with browsers (in particular Konqueror).
258 * Remember that ReadOnlyPart only has openUrl(KUrl) and a few arguments() but not much more.
259 * For full-fledged browsing, we need much more than that, including
260 * enabling/disabling of standard actions (print, copy, paste...),
261 * allowing parts to save and restore their data into the back/forward history,
262 * allowing parts to control the location bar URL, to requests URLs
263 * to be opened by the hosting browser, etc.
265 * The part developer needs to define its own class derived from BrowserExtension,
266 * to implement the virtual methods [and the standard-actions slots, see below].
268 * The way to associate the BrowserExtension with the part is to simply
269 * create the BrowserExtension as a child of the part (in QObject's terms).
270 * The hosting application will look for it automatically.
272 * Another aspect of the browser integration is that a set of standard
273 * actions are provided by the browser, but implemented by the part
274 * (for the actions it supports).
276 * The following standard actions are defined by the host of the view :
278 * [selection-dependent actions]
279 * @li @p cut : Copy selected items to clipboard and store 'not cut' in clipboard.
280 * @li @p copy : Copy selected items to clipboard and store 'cut' in clipboard.
281 * @li @p paste : Paste clipboard into view URL.
282 * @li @p pasteTo(const KUrl &) : Paste clipboard into given URL.
283 * @li @p searchProvider : Lookup selected text at default search provider
286 * @li @p print : Print :-)
287 * @li @p reparseConfiguration : Re-read configuration and apply it.
288 * @li @p refreshMimeTypes : If the view uses mimetypes it should re-determine them.
291 * The view defines a slot with the name of the action in order to implement the action.
292 * The browser will detect the slot automatically and connect its action to it when
293 * appropriate (i.e. when the view is active).
296 * The selection-dependent actions are disabled by default and the view should
297 * enable them when the selection changes, emitting enableAction().
299 * The normal actions do not depend on the selection.
300 * You need to enable 'print' when printing is possible - you can even do that
301 * in the constructor.
303 * A special case is the configuration slots, not connected to any action directly,
304 * and having parameters.
306 * [configuration slot]
307 * @li @p disableScrolling: no scrollbars
309 class KPARTS_EXPORT BrowserExtension
: public QObject
312 Q_PROPERTY( bool urlDropHandling READ isURLDropHandlingEnabled WRITE setURLDropHandlingEnabled
)
317 * @param parent The KParts::ReadOnlyPart that this extension ... "extends" :)
319 explicit BrowserExtension( KParts::ReadOnlyPart
*parent
);
322 virtual ~BrowserExtension();
325 * Set of flags passed via the popupMenu signal, to ask for some items in the popup menu.
328 DefaultPopupItems
=0x0000, /**< default value, no additional menu item */
329 ShowNavigationItems
=0x0001, /**< show "back" and "forward" (usually done when clicking the background of the view, but not an item) */
330 ShowUp
=0x0002, /**< show "up" (same thing, but not over e.g. HTTP). Requires ShowNavigationItems. */
331 ShowReload
=0x0004, /**< show "reload" (usually done when clicking the background of the view, but not an item) */
332 ShowBookmark
=0x0008, /**< show "add to bookmarks" (usually not done on the local filesystem) */
333 ShowCreateDirectory
=0x0010, /**< show "create directory" (usually only done on the background of the view, or
334 * in hierarchical views like directory trees, where the new dir would be visible) */
335 ShowTextSelectionItems
=0x0020, /**< set when selecting text, for a popup that only contains text-related items. */
336 NoDeletion
=0x0040, /**< deletion, trashing and renaming not allowed (e.g. parent dir not writeable).
337 * (this is only needed if the protocol itself supports deletion, unlike e.g. HTTP) */
338 IsLink
=0x0080, /**< show "Bookmark This Link" and other link-related actions (linkactions merging group) */
339 ShowUrlOperations
=0x0100, /**< show copy, paste, as well as cut if NoDeletion is not set. */
340 ShowProperties
=0x200 /**< show "Properties" action (usually done by directory views) */
343 Q_DECLARE_FLAGS( PopupFlags
, PopupFlag
)
346 * Set the parameters to use for opening the next URL.
347 * This is called by the "hosting" application, to pass parameters to the part.
348 * @see BrowserArguments
350 virtual void setBrowserArguments( const BrowserArguments
&args
);
353 * Retrieve the set of parameters to use for opening the URL
354 * (this must be called from openUrl() in the part).
355 * @see BrowserArguments
357 BrowserArguments
browserArguments() const;
360 * Returns the current x offset.
362 * For a scrollview, implement this using contentsX().
364 virtual int xOffset();
366 * Returns the current y offset.
368 * For a scrollview, implement this using contentsY().
370 virtual int yOffset();
373 * Used by the browser to save the current state of the view
374 * (in order to restore it if going back in navigation).
376 * If you want to save additional properties, reimplement it
377 * but don't forget to call the parent method (probably first).
379 virtual void saveState( QDataStream
&stream
);
382 * Used by the browser to restore the view in the state
383 * it was when we left it.
385 * If you saved additional properties, reimplement it
386 * but don't forget to call the parent method (probably first).
388 virtual void restoreState( QDataStream
&stream
);
391 * Returns whether url drop handling is enabled.
392 * See setURLDropHandlingEnabled for more information about this
395 bool isURLDropHandlingEnabled() const;
398 * Enables or disables url drop handling. URL drop handling is a property
399 * describing whether the hosting shell component is allowed to install an
400 * event filter on the part's widget, to listen for URI drop events.
401 * Set it to true if you are exporting a BrowserExtension implementation and
402 * do not provide any special URI drop handling. If set to false you can be
403 * sure to receive all those URI drop events unfiltered. Also note that the
404 * implementation as of Konqueror installs the event filter only on the part's
405 * widget itself, not on child widgets.
407 void setURLDropHandlingEnabled( bool enable
);
409 void setBrowserInterface( BrowserInterface
*impl
);
410 BrowserInterface
*browserInterface() const;
413 * @return the status (enabled/disabled) of an action.
414 * When the enableAction signal is emitted, the browserextension
415 * stores the status of the action internally, so that it's possible
416 * to query later for the status of the action, using this method.
418 bool isActionEnabled( const char * name
) const;
421 * @return the text of an action, if it was set explicitly by the part.
422 * When the setActionText signal is emitted, the browserextension
423 * stores the text of the action internally, so that it's possible
424 * to query later for the text of the action, using this method.
426 QString
actionText( const char * name
) const;
428 typedef QMap
<QByteArray
,QByteArray
> ActionSlotMap
;
430 * Returns a map containing the action names as keys and corresponding
431 * SLOT()'ified method names as data entries.
433 * This is very useful for
434 * the host component, when connecting the own signals with the
436 * Basically you iterate over the map, check if the extension implements
437 * the slot and connect to the slot using the data value of your map
439 * Checking if the extension implements a certain slot can be done like this:
442 * extension->metaObject()->slotNames().contains( actionName + "()" )
445 * (note that @p actionName is the iterator's key value if already
446 * iterating over the action slot map, returned by this method)
448 * Connecting to the slot can be done like this:
451 * connect( yourObject, SIGNAL( yourSignal() ),
452 * extension, mapIterator.data() )
455 * (where "mapIterator" is your QMap<QCString,QCString> iterator)
457 static ActionSlotMap
actionSlotMap();
460 * @return a pointer to the static action-slot map. Preferred method to get it.
461 * The map is created if it doesn't exist yet
463 static ActionSlotMap
* actionSlotMapPtr();
466 * Queries @p obj for a child object which inherits from this
467 * BrowserExtension class. Convenience method.
469 static BrowserExtension
*childObject( QObject
*obj
);
472 * Asks the hosting browser to perform a paste (using openUrlRequestDelayed())
477 * Associates a list of actions with a predefined name known by the host's popupmenu:
478 * "editactions" for actions related text editing,
479 * "linkactions" for actions related to hyperlinks,
480 * "partactions" for any other actions provided by the part
482 typedef QMap
<QString
, QList
<QAction
*> > ActionGroupMap
;
486 #ifndef DOXYGEN_SHOULD_SKIP_THIS
487 public: // yes, those signals are public; don't tell moc or doxygen :)
491 * Enables or disable a standard action held by the browser.
493 * See class documentation for the list of standard actions.
495 void enableAction( const char * name
, bool enabled
);
498 * Change the text of a standard action held by the browser.
499 * This can be used to change "Paste" into "Paste Image" for instance.
501 * See class documentation for the list of standard actions.
503 void setActionText( const char * name
, const QString
& text
);
506 * Asks the host (browser) to open @p url.
507 * To set a reload, the x and y offsets, the service type etc., fill in the
508 * appropriate fields in the @p args structure.
509 * Hosts should not connect to this signal but to openUrlRequestDelayed().
511 void openUrlRequest( const KUrl
&url
,
512 const KParts::OpenUrlArguments
& arguments
= KParts::OpenUrlArguments(),
513 const KParts::BrowserArguments
&browserArguments
= KParts::BrowserArguments() );
516 * This signal is emitted when openUrlRequest() is called, after a 0-seconds timer.
517 * This allows the caller to terminate what it's doing first, before (usually)
518 * being destroyed. Parts should never use this signal, hosts should only connect
521 void openUrlRequestDelayed( const KUrl
&url
,
522 const KParts::OpenUrlArguments
& arguments
,
523 const KParts::BrowserArguments
&browserArguments
);
526 * Tells the hosting browser that the part opened a new URL (which can be
527 * queried via KParts::Part::url().
529 * This helps the browser to update/create an entry in the history.
530 * The part may @em not emit this signal together with openUrlRequest().
531 * Emit openUrlRequest() if you want the browser to handle a URL the user
532 * asked to open (from within your part/document). This signal however is
533 * useful if you want to handle URLs all yourself internally, while still
534 * telling the hosting browser about new opened URLs, in order to provide
535 * a proper history functionality to the user.
536 * An example of usage is a html rendering component which wants to emit
537 * this signal when a child frame document changed its URL.
538 * Conclusion: you probably want to use openUrlRequest() instead.
540 void openUrlNotify();
543 * Updates the URL shown in the browser's location bar to @p url.
545 void setLocationBarUrl( const QString
&url
);
548 * Sets the URL of an icon for the currently displayed page.
550 void setIconUrl( const KUrl
&url
);
553 * Asks the hosting browser to open a new window for the given @p url
554 * and return a reference to the content part.
556 * @p arguments is optional additional information about how to open the url,
557 * @see KParts::OpenUrlArguments
559 * @p browserArguments is optional additional information for web browsers,
560 * @see KParts::BrowserArguments
562 * The request for a pointer to the part is only fulfilled/processed
563 * if the mimeType is set in the @p browserArguments.
564 * (otherwise the request cannot be processed synchronously).
566 void createNewWindow( const KUrl
&url
,
567 const KParts::OpenUrlArguments
& arguments
= KParts::OpenUrlArguments(),
568 const KParts::BrowserArguments
&browserArguments
= KParts::BrowserArguments(),
569 const KParts::WindowArgs
&windowArgs
= KParts::WindowArgs(),
570 KParts::ReadOnlyPart
** part
= 0 ); // TODO consider moving to BrowserHostExtension?
573 * Since the part emits the jobid in the started() signal,
574 * progress information is automatically displayed.
576 * However, if you don't use a KIO::Job in the part,
577 * you can use loadingProgress() and speedProgress()
578 * to display progress information.
580 void loadingProgress( int percent
);
582 * @see loadingProgress
584 void speedProgress( int bytesPerSecond
);
586 void infoMessage( const QString
& );
589 * Emit this to make the browser show a standard popup menu for the files @p items.
591 * @param global global coordinates where the popup should be shown
592 * @param items list of file items which the popup applies to
593 * @param args OpenUrlArguments, mostly for metadata here
594 * @param browserArguments BrowserArguments, mostly for referrer
595 * @param flags enables/disables certain builtin actions in the popupmenu
596 * @param actionGroups named groups of actions which should be inserted into the popup, see ActionGroupMap
598 void popupMenu( const QPoint
&global
, const KFileItemList
&items
,
599 const KParts::OpenUrlArguments
&args
= KParts::OpenUrlArguments(),
600 const KParts::BrowserArguments
&browserArgs
= KParts::BrowserArguments(),
601 KParts::BrowserExtension::PopupFlags flags
= KParts::BrowserExtension::DefaultPopupItems
,
602 const KParts::BrowserExtension::ActionGroupMap
& actionGroups
= ActionGroupMap() );
605 * Emit this to make the browser show a standard popup menu for the given @p url.
607 * Give as much information about this URL as possible,
608 * like @p args.mimeType and the file type @p mode
610 * @param global global coordinates where the popup should be shown
611 * @param url the URL this popup applies to
612 * @param mode the file type of the url (S_IFREG, S_IFDIR...)
613 * @param args OpenUrlArguments, set the mimetype of the URL using setMimeType()
614 * @param browserArguments BrowserArguments, mostly for referrer
615 * @param flags enables/disables certain builtin actions in the popupmenu
616 * @param actionGroups named groups of actions which should be inserted into the popup, see ActionGroupMap
618 void popupMenu( const QPoint
&global
, const KUrl
&url
,
619 mode_t mode
= (mode_t
)-1,
620 const KParts::OpenUrlArguments
&args
= KParts::OpenUrlArguments(),
621 const KParts::BrowserArguments
&browserArgs
= KParts::BrowserArguments(),
622 KParts::BrowserExtension::PopupFlags flags
= KParts::BrowserExtension::DefaultPopupItems
,
623 const KParts::BrowserExtension::ActionGroupMap
& actionGroups
= ActionGroupMap() );
626 * Inform the hosting application about the current selection.
627 * Used when a set of files/URLs is selected (with full information
628 * about those URLs, including size, permissions etc.)
630 void selectionInfo( const KFileItemList
& items
);
632 * Inform the hosting application about the current selection.
633 * Used when some text is selected.
635 void selectionInfo( const QString
&text
);
637 * Inform the hosting application about the current selection.
638 * Used when a set of URLs is selected.
640 void selectionInfo( const KUrl::List
&urls
);
643 * Inform the hosting application that the user moved the mouse over an item.
644 * Used when the mouse is on an URL.
646 void mouseOverInfo( const KFileItem
& item
);
649 * Ask the hosting application to add a new HTML (aka Mozilla/Netscape)
652 void addWebSideBar(const KUrl
&url
, const QString
& name
);
655 * Ask the hosting application to move the top level widget.
657 void moveTopLevelWidget( int x
, int y
);
660 * Ask the hosting application to resize the top level widget.
662 void resizeTopLevelWidget( int w
, int h
);
665 * Ask the hosting application to focus @p part.
667 void requestFocus(KParts::ReadOnlyPart
*part
);
670 * Tell the host (browser) about security state of current page
671 * enum PageSecurity { NotCrypted, Encrypted, Mixed };
673 void setPageSecurity( int );
676 * Inform the host about items that have been removed.
678 void itemsRemoved( const KFileItemList
&items
);
681 void slotCompleted();
682 void slotOpenUrlRequest( const KUrl
&url
,
683 const KParts::OpenUrlArguments
& arguments
= KParts::OpenUrlArguments(),
684 const KParts::BrowserArguments
&browserArguments
= KParts::BrowserArguments() );
686 void slotEmitOpenUrlRequestDelayed();
687 void slotEnableAction( const char *, bool );
688 void slotSetActionText( const char*, const QString
& );
691 typedef QMap
<QByteArray
,int> ActionNumberMap
;
694 class BrowserExtensionPrivate
;
695 BrowserExtensionPrivate
* const d
;
699 * An extension class for container parts, i.e. parts that contain
701 * For instance a KHTMLPart hosts one part per frame.
703 class KPARTS_EXPORT BrowserHostExtension
: public QObject
707 BrowserHostExtension( KParts::ReadOnlyPart
*parent
);
709 virtual ~BrowserHostExtension();
712 * Returns a list of the names of all hosted child objects.
714 * Note that this method does not query the child objects recursively.
716 virtual QStringList
frameNames() const;
719 * Returns a list of pointers to all hosted child objects.
721 * Note that this method does not query the child objects recursively.
723 virtual const QList
<KParts::ReadOnlyPart
*> frames() const;
726 * Returns the part that contains @p frame and that may be accessed
729 virtual BrowserHostExtension
*findFrameParent(KParts::ReadOnlyPart
*callingPart
, const QString
&frame
);
732 * Opens the given url in a hosted child frame. The frame name is specified in the
733 * frameName variable in the @p browserArguments parameter (see KParts::BrowserArguments ) .
735 virtual bool openUrlInFrame( const KUrl
&url
,
736 const KParts::OpenUrlArguments
& arguments
,
737 const KParts::BrowserArguments
&browserArguments
);
740 * Queries @p obj for a child object which inherits from this
741 * BrowserHostExtension class. Convenience method.
743 static BrowserHostExtension
*childObject( QObject
*obj
);
746 class BrowserHostExtensionPrivate
;
747 BrowserHostExtensionPrivate
* const d
;
751 * An extension class for LiveConnect, i.e. a call from JavaScript
752 * from a HTML page which embeds this part.
753 * A part can have an object hierarchie by using objid as a reference
756 class KPARTS_EXPORT LiveConnectExtension
: public QObject
761 TypeVoid
=0, TypeBool
, TypeFunction
, TypeNumber
, TypeObject
, TypeString
763 typedef QList
<QPair
<Type
, QString
> > ArgList
;
765 LiveConnectExtension( KParts::ReadOnlyPart
*parent
);
767 virtual ~LiveConnectExtension();
769 * get a field value from objid, return true on success
771 virtual bool get( const unsigned long objid
, const QString
& field
, Type
& type
, unsigned long & retobjid
, QString
& value
);
773 * put a field value in objid, return true on success
775 virtual bool put( const unsigned long objid
, const QString
& field
, const QString
& value
);
777 * calls a function of objid, return true on success
779 virtual bool call( const unsigned long objid
, const QString
& func
, const QStringList
& args
, Type
& type
, unsigned long & retobjid
, QString
& value
);
781 * notifies the part that there is no reference anymore to objid
783 virtual void unregister( const unsigned long objid
);
785 static LiveConnectExtension
*childObject( QObject
*obj
);
788 #ifndef DOXYGEN_SHOULD_SKIP_THIS
789 public: // yes, those signals are public; don't tell moc or doxygen :)
793 * notify a event from the part of object objid
795 void partEvent( const unsigned long objid
, const QString
& event
, const KParts::LiveConnectExtension::ArgList
& args
);
798 class LiveConnectExtensionPrivate
;
799 LiveConnectExtensionPrivate
* const d
;
804 Q_DECLARE_OPERATORS_FOR_FLAGS( KParts::BrowserExtension::PopupFlags
)