コード例 #1
0
ファイル: KGuiItem.cs プロジェクト: KDE/kimono
 public KGuiItem(string text, KIcon icon)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KGuiItem$#", "KGuiItem(const QString&, const KIcon&)", typeof(void), typeof(string), text, typeof(KIcon), icon);
 }
コード例 #2
0
ファイル: KFontAction.cs プロジェクト: KDE/kimono
 public KFontAction(KIcon icon, string text, QObject parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KFontAction#$#", "KFontAction(const KIcon&, const QString&, QObject*)", typeof(void), typeof(KIcon), icon, typeof(string), text, typeof(QObject), parent);
 }
コード例 #3
0
ファイル: KGuiItem.cs プロジェクト: KDE/kimono
 public KGuiItem(string text, KIcon icon, string toolTip, string whatsThis)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KGuiItem$#$$", "KGuiItem(const QString&, const KIcon&, const QString&, const QString&)", typeof(void), typeof(string), text, typeof(KIcon), icon, typeof(string), toolTip, typeof(string), whatsThis);
 }
コード例 #4
0
ファイル: KGuiItem.cs プロジェクト: KDE/kimono
 public void SetIcon(KIcon iconset)
 {
     interceptor.Invoke("setIcon#", "setIcon(const KIcon&)", typeof(void), typeof(KIcon), iconset);
 }
コード例 #5
0
ファイル: KSelectAction.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  \overload addAction(QAction action)
 ///  Convenience function which creates an action from \a text and \a icon and inserts it into
 ///  the list of selectable actions.
 ///  The newly created action is checkable and not user configurable.
 ///      </remarks>        <short>    \overload addAction(QAction  action) </short>
 public KAction AddAction(KIcon icon, string text)
 {
     return (KAction) interceptor.Invoke("addAction#$", "addAction(const KIcon&, const QString&)", typeof(KAction), typeof(KIcon), icon, typeof(string), text);
 }
コード例 #6
0
ファイル: KCodecAction.cs プロジェクト: 0xd34df00d/Qross
 public KCodecAction(KIcon icon, string text, QObject parent, bool showAutoOptions)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KCodecAction#$#$", "KCodecAction(const KIcon&, const QString&, QObject*, bool)", typeof(void), typeof(KIcon), icon, typeof(string), text, typeof(QObject), parent, typeof(bool), showAutoOptions);
 }
コード例 #7
0
ファイル: KDialog.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Sets the icon of any button.
 /// <param> name="id" The button identifier.
 /// </param><param> name="icon" Button icon.
 ///      </param></remarks>        <short>    Sets the icon of any button.</short>
 public void SetButtonIcon(KDialog.ButtonCode id, KIcon icon)
 {
     interceptor.Invoke("setButtonIcon$#", "setButtonIcon(KDialog::ButtonCode, const KIcon&)", typeof(void), typeof(KDialog.ButtonCode), id, typeof(KIcon), icon);
 }