示例#1
0
 /// <remarks>
 ///  Returns an extended WhatsThis description for the given accelerator.
 /// <param> name="id" the id of the accelerator
 /// </param></remarks>        <return> a localized description of the accelerator
 ///    </return>
 ///         <short>    Returns an extended WhatsThis description for the given accelerator.</short>
 public static string WhatsThis(KStandardShortcut.StandardShortcut id)
 {
     return (string) staticInterceptor.Invoke("whatsThis$", "whatsThis(KStandardShortcut::StandardShortcut)", typeof(string), typeof(KStandardShortcut.StandardShortcut), id);
 }
示例#2
0
 /// <remarks>
 ///  Returns the keybinding for <code>accel.</code>
 ///  On X11, if QApplication was initialized with GUI disabled, the
 ///  default keybinding will always be returned.
 /// <param> name="id" the id of the accelerator
 ///    </param></remarks>        <short>    Returns the keybinding for <code>accel.</code></short>
 public static KShortcut Shortcut(KStandardShortcut.StandardShortcut id)
 {
     return (KShortcut) staticInterceptor.Invoke("shortcut$", "shortcut(KStandardShortcut::StandardShortcut)", typeof(KShortcut), typeof(KStandardShortcut.StandardShortcut), id);
 }
示例#3
0
 /// <remarks>
 ///  Saves the new shortcut \a cut for standard accel \a id.
 ///    </remarks>        <short>    Saves the new shortcut \a cut for standard accel \a id.</short>
 public static void SaveShortcut(KStandardShortcut.StandardShortcut id, KShortcut newShortcut)
 {
     staticInterceptor.Invoke("saveShortcut$#", "saveShortcut(KStandardShortcut::StandardShortcut, const KShortcut&)", typeof(void), typeof(KStandardShortcut.StandardShortcut), id, typeof(KShortcut), newShortcut);
 }
示例#4
0
 /// <remarks>
 ///  Returns a unique name for the given accel.
 /// <param> name="id" the id of the accelerator
 /// </param></remarks>        <return> the unique name of the accelerator
 ///    </return>
 ///         <short>    Returns a unique name for the given accel.</short>
 public static string Name(KStandardShortcut.StandardShortcut id)
 {
     return (string) staticInterceptor.Invoke("name$", "name(KStandardShortcut::StandardShortcut)", typeof(string), typeof(KStandardShortcut.StandardShortcut), id);
 }
示例#5
0
 /// <remarks>
 ///  Returns a localized label for user-visible display.
 /// <param> name="id" the id of the accelerator
 /// </param></remarks>        <return> a localized label for the accelerator
 ///    </return>
 ///         <short>    Returns a localized label for user-visible display.</short>
 public static string Label(KStandardShortcut.StandardShortcut id)
 {
     return (string) staticInterceptor.Invoke("label$", "label(KStandardShortcut::StandardShortcut)", typeof(string), typeof(KStandardShortcut.StandardShortcut), id);
 }
示例#6
0
 /// <remarks>
 ///  Returns the hardcoded default shortcut for <code>id.</code>
 ///  This does not take into account the user's configuration.
 /// <param> name="id" the id of the accelerator
 /// </param></remarks>        <return> the default shortcut of the accelerator
 ///    </return>
 ///         <short>    Returns the hardcoded default shortcut for <code>id.</code></short>
 public static KShortcut HardcodedDefaultShortcut(KStandardShortcut.StandardShortcut id)
 {
     return (KShortcut) staticInterceptor.Invoke("hardcodedDefaultShortcut$", "hardcodedDefaultShortcut(KStandardShortcut::StandardShortcut)", typeof(KShortcut), typeof(KStandardShortcut.StandardShortcut), id);
 }