Kimono.KMessageBox.QuestionYesNoCancel C# (CSharp) Method

QuestionYesNoCancel() public static method

Display a simple "question" dialog. name="parent" If parent is 0, then the message box becomes an application-global modal dialog box. If parent is a widget, the message box becomes modal relative to parent. name="text" Message string. name="caption" Message box title. The application name is added to the title. The default title is i18n("Question"). name="buttonYes" The text for the first button. The default is KStandardGuiItem.Yes(). name="buttonNo" The text for the second button. The default is KStandardGuiItem.No(). name="buttonCancel" The text for the third button. The default is KStandardGuiItem.Cancel(). name="dontAskAgainName" If provided, a checkbox is added with which further confirmation can be turned off. The string is used to lookup and store the setting in the applications config file. The setting is stored in the "Notification Messages" group. If dontAskAgainName starts with a ':' then the setting is stored in the global config file. name="options" see Options To be used for questions like "Do you want to discard the message or save it for later?", The default button is "Yes". Pressing "Esc" selects "Cancel".
public static QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int
parent QWidget
text string
caption string
buttonYes KGuiItem
buttonNo KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
options uint
return int
        public static int QuestionYesNoCancel(QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName, uint options)
        {
            return (int) staticInterceptor.Invoke("questionYesNoCancel#$$###$$", "questionYesNoCancel(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&, const QString&, KMessageBox::Options)", typeof(int), typeof(QWidget), parent, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonYes, typeof(KGuiItem), buttonNo, typeof(KGuiItem), buttonCancel, typeof(string), dontAskAgainName, typeof(uint), options);
        }

Same methods

KMessageBox::QuestionYesNoCancel ( QWidget parent, string text ) : int
KMessageBox::QuestionYesNoCancel ( QWidget parent, string text, string caption ) : int
KMessageBox::QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes ) : int
KMessageBox::QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo ) : int
KMessageBox::QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel ) : int
KMessageBox::QuestionYesNoCancel ( QWidget parent, string text, string caption, KGuiItem buttonYes, KGuiItem buttonNo, KGuiItem buttonCancel, string dontAskAgainName ) : int