Beispiel #1
0
 /// <remarks>
 ///  Fills a bookmark menu
 ///  (one instance of KBookmarkMenu is created for the toplevel menu,
 ///   but also one per submenu).
 /// <param> name="mgr" The bookmark manager to use (i.e. for reading and writing)
 /// </param><param> name="owner" implementation of the KBookmarkOwner callback interface.
 ///  Note: If you pass a null KBookmarkOwner to the constructor, the
 ///  openBookmark signal is not emitted, instead KRun is used to open the bookmark.
 /// </param><param> name="parentMenu" menu to be filled
 /// </param><param> name="collec" parent collection for the KActions.
 ///    </param></remarks>        <short>    Fills a bookmark menu  (one instance of KBookmarkMenu is created for the toplevel menu,   but also one per submenu).</short>
 public KBookmarkMenu(KBookmarkManager mgr, KBookmarkOwner owner, KMenu parentMenu, KActionCollection collec)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KBookmarkMenu####", "KBookmarkMenu(KBookmarkManager*, KBookmarkOwner*, KMenu*, KActionCollection*)", typeof(void), typeof(KBookmarkManager), mgr, typeof(KBookmarkOwner), owner, typeof(KMenu), parentMenu, typeof(KActionCollection), collec);
 }
Beispiel #2
0
 /// <remarks>
 ///  Creates a bookmark submenu
 ///    </remarks>        <short>    Creates a bookmark submenu    </short>
 public KBookmarkMenu(KBookmarkManager mgr, KBookmarkOwner owner, KMenu parentMenu, string parentAddress)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KBookmarkMenu###$", "KBookmarkMenu(KBookmarkManager*, KBookmarkOwner*, KMenu*, const QString&)", typeof(void), typeof(KBookmarkManager), mgr, typeof(KBookmarkOwner), owner, typeof(KMenu), parentMenu, typeof(string), parentAddress);
 }
Beispiel #3
0
 public void SetMenu(KMenu menu)
 {
     interceptor.Invoke("setMenu#", "setMenu(KMenu*)", typeof(void), typeof(KMenu), menu);
 }