Exemplo n.º 1
0
 /// <remarks>
 /// </remarks>        <short>   </short>
 public void AddShortcuts(KActionCollection newShortcuts)
 {
     interceptor.Invoke("addShortcuts#", "addShortcuts(KActionCollection*)", typeof(void), typeof(KActionCollection), newShortcuts);
 }
Exemplo n.º 2
0
 /// <remarks>
 ///  Creates a new standard action manager.
 /// <param> name="actionCollection" The action collection to operate on.
 /// </param><param> name="parent" The parent widget.
 ///      </param></remarks>        <short>    Creates a new standard action manager.</short>
 public StandardActionManager(KActionCollection actionCollection, QWidget parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("StandardActionManager##", "StandardActionManager(KActionCollection*, QWidget*)", typeof(void), typeof(KActionCollection), actionCollection, typeof(QWidget), parent);
 }
Exemplo n.º 3
0
 /// <remarks>
 ///  Constructor.
 /// <param> name="collection" the KActionCollection to configure
 /// </param><param> name="parent" parent widget
 /// </param><param> name="actionTypes" types of actions to display in this widget.
 /// </param><param> name="allowLetterShortcuts" set to LetterShortcutsDisallowed if unmodified alphanumeric
 ///   keys ('A', '1', etc.) are not permissible shortcuts.
 /// 	 </param></remarks>        <short>    Constructor.</short>
 public KShortcutsEditor(KActionCollection collection, QWidget parent, uint actionTypes, KShortcutsEditor.LetterShortcuts allowLetterShortcuts)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KShortcutsEditor##$$", "KShortcutsEditor(KActionCollection*, QWidget*, KShortcutsEditor::ActionTypes, KShortcutsEditor::LetterShortcuts)", typeof(void), typeof(KActionCollection), collection, typeof(QWidget), parent, typeof(uint), actionTypes, typeof(KShortcutsEditor.LetterShortcuts), allowLetterShortcuts);
 }
Exemplo n.º 4
0
 public KShortcutsEditor(KActionCollection collection, QWidget parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KShortcutsEditor##", "KShortcutsEditor(KActionCollection*, QWidget*)", typeof(void), typeof(KActionCollection), collection, typeof(QWidget), parent);
 }
Exemplo n.º 5
0
 /// <remarks>
 ///  Insert an action collection, i.e. add all its actions to the ones
 ///  already associated with the KShortcutsEditor object.
 /// <param> name="title" subtree title of this collection of shortcut.
 /// 	 </param></remarks>        <short>    Insert an action collection, i.</short>
 public void AddCollection(KActionCollection arg1, string title)
 {
     interceptor.Invoke("addCollection#$", "addCollection(KActionCollection*, const QString&)", typeof(void), typeof(KActionCollection), arg1, typeof(string), title);
 }
Exemplo n.º 6
0
 public void AddCollection(KActionCollection arg1)
 {
     interceptor.Invoke("addCollection#", "addCollection(KActionCollection*)", typeof(void), typeof(KActionCollection), arg1);
 }
Exemplo n.º 7
0
 public static int Configure(KActionCollection collection, KShortcutsEditor.LetterShortcuts allowLetterShortcuts)
 {
     return (int) staticInterceptor.Invoke("configure#$", "configure(KActionCollection*, KShortcutsEditor::LetterShortcuts)", typeof(int), typeof(KActionCollection), collection, typeof(KShortcutsEditor.LetterShortcuts), allowLetterShortcuts);
 }
Exemplo n.º 8
0
 public KEditToolBar(KActionCollection collection)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KEditToolBar#", "KEditToolBar(KActionCollection*)", typeof(void), typeof(KActionCollection), collection);
 }
Exemplo n.º 9
0
 public QAction CreateUndoAction(KActionCollection actionCollection)
 {
     return (QAction) interceptor.Invoke("createUndoAction#", "createUndoAction(KActionCollection*)", typeof(QAction), typeof(KActionCollection), actionCollection);
 }
Exemplo n.º 10
0
 /// <remarks>
 ///  Pops up a modal dialog for configuring key settings. The new
 ///  shortcut settings will become active if the user presses OK.
 /// <param> name="collection" the KActionCollection to configure
 /// </param><param> name="allowLetterShortcuts" set to KShortcutsEditor.LetterShortcutsDisallowed if unmodified alphanumeric
 ///   keys ('A', '1', etc.) are not permissible shortcuts.
 /// </param><param> name="parent" the parent widget to attach to
 /// </param><param> name="bSaveSettings" if true, the settings will also be saved back
 ///  by calling writeSettings() on the action collections that were added.
 /// </param></remarks>        <return> Accept if the dialog was closed with OK, Reject otherwise.
 /// 	 </return>
 ///         <short>    Pops up a modal dialog for configuring key settings.</short>
 public static int Configure(KActionCollection collection, KShortcutsEditor.LetterShortcuts allowLetterShortcuts, QWidget parent, bool bSaveSettings)
 {
     return (int) staticInterceptor.Invoke("configure#$#$", "configure(KActionCollection*, KShortcutsEditor::LetterShortcuts, QWidget*, bool)", typeof(int), typeof(KActionCollection), collection, typeof(KShortcutsEditor.LetterShortcuts), allowLetterShortcuts, typeof(QWidget), parent, typeof(bool), bSaveSettings);
 }
Exemplo n.º 11
0
 /// <remarks>
 ///  Creates an undo action with the default KDE shortcut and icon and adds it to <code>actionCollection</code>
 /// <param> name="actionCollection" the KActionCollection that should be the parent of the action
 /// </param><param> name="actionName" the created action's object name, empty string will set it to the KDE default
 /// </param></remarks>        <return> the created action.
 ///          </return>
 ///         <short>    Creates an undo action with the default KDE shortcut and icon and adds it to <code>actionCollection</code> </short>
 public QAction CreateUndoAction(KActionCollection actionCollection, string actionName)
 {
     return (QAction) interceptor.Invoke("createUndoAction#$", "createUndoAction(KActionCollection*, const QString&)", typeof(QAction), typeof(KActionCollection), actionCollection, typeof(string), actionName);
 }
Exemplo n.º 12
0
 /// <remarks>
 ///  Creates a list of actions from a list of information about data-tools.
 ///  The slot must have a signature corresponding to the toolActivated signal.
 ///  Note that it's the caller's responsibility to delete the actions when they're not needed anymore.
 /// <param> name="tools" the list of data tool descriptions
 /// </param><param> name="receiver" the receiver for toolActivated() signals
 /// </param><param> name="slot" the slot that will receive the toolActivated() signals
 /// </param><param> name="parent" the parent action collection for the actions to be created
 /// </param></remarks>        <return> the KActions
 ///      </return>
 ///         <short>    Creates a list of actions from a list of information about data-tools.</short>
 public static List<QAction> DataToolActionList(List<KDataToolInfo> tools, QObject receiver, string slot, KActionCollection parent)
 {
     return (List<QAction>) staticInterceptor.Invoke("dataToolActionList?#$#", "dataToolActionList(const QList<KDataToolInfo>&, const QObject*, const char*, KActionCollection*)", typeof(List<QAction>), typeof(List<KDataToolInfo>), tools, typeof(QObject), receiver, typeof(string), slot, typeof(KActionCollection), parent);
 }
Exemplo n.º 13
0
 /// <remarks>
 ///  Constructor.
 ///  This alternative constructor is mainly useful if you want to
 ///  overide the standard actions (aboutApplication(), aboutKDE(),
 ///  helpContents(), reportBug, and optionally whatsThis).
 /// <param> name="parent" The parent of the dialog boxes. The boxes are modeless
 ///         and will be centered with respect to the parent.
 /// </param><param> name="aboutData" User and app data used in the About app dialog
 /// </param><param> name="showWhatsThis" Decides whether a "Whats this" entry will be
 ///         added to the dialog.
 /// </param><param> name="actions" KActionCollection that is used instead of the
 ///         standard actions.
 /// </param>     </remarks>        <short>    Constructor.</short>
 public KHelpMenu(QWidget parent, KAboutData aboutData, bool showWhatsThis, KActionCollection actions)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KHelpMenu##$#", "KHelpMenu(QWidget*, const KAboutData*, bool, KActionCollection*)", typeof(void), typeof(QWidget), parent, typeof(KAboutData), aboutData, typeof(bool), showWhatsThis, typeof(KActionCollection), actions);
 }
Exemplo n.º 14
0
 public StandardActionManager(KActionCollection actionCollection)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("StandardActionManager#", "StandardActionManager(KActionCollection*)", typeof(void), typeof(KActionCollection), actionCollection);
 }
Exemplo n.º 15
0
 public static int Configure(KActionCollection collection)
 {
     return (int) staticInterceptor.Invoke("configure#", "configure(KActionCollection*)", typeof(int), typeof(KActionCollection), collection);
 }
Exemplo n.º 16
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);
 }
Exemplo n.º 17
0
Arquivo: KNS.cs Projeto: KDE/kimono
 public static KAction StandardAction(string what, QObject recvr, string slot, KActionCollection parent)
 {
     return (KAction) staticInterceptor.Invoke("standardAction$#$#", "standardAction(const QString&, const QObject*, const char*, KActionCollection*)", typeof(KAction), typeof(string), what, typeof(QObject), recvr, typeof(string), slot, typeof(KActionCollection), parent);
 }