Kimono.KMessageBox.WarningContinueCancel C# (CSharp) Method

WarningContinueCancel() public static method

Display a "warning" 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("Warning"). name="buttonContinue" The text for the first button. The default is KStandardGuiItem.Cont(). name="buttonCancel" The text for the second 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 "You are about to Print. Are you sure?" the continueButton should then be labeled "Print". The default button is buttonContinue. Pressing "Esc" selects "Cancel".
public static WarningContinueCancel ( QWidget parent, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName, uint options ) : int
parent QWidget
text string
caption string
buttonContinue KGuiItem
buttonCancel KGuiItem
dontAskAgainName string
options uint
return int
        public static int WarningContinueCancel(QWidget parent, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName, uint options)
        {
            return (int) staticInterceptor.Invoke("warningContinueCancel#$$##$$", "warningContinueCancel(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const QString&, KMessageBox::Options)", typeof(int), typeof(QWidget), parent, typeof(string), text, typeof(string), caption, typeof(KGuiItem), buttonContinue, typeof(KGuiItem), buttonCancel, typeof(string), dontAskAgainName, typeof(uint), options);
        }

Same methods

KMessageBox::WarningContinueCancel ( QWidget parent, string text ) : int
KMessageBox::WarningContinueCancel ( QWidget parent, string text, string caption ) : int
KMessageBox::WarningContinueCancel ( QWidget parent, string text, string caption, KGuiItem buttonContinue ) : int
KMessageBox::WarningContinueCancel ( QWidget parent, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel ) : int
KMessageBox::WarningContinueCancel ( QWidget parent, string text, string caption, KGuiItem buttonContinue, KGuiItem buttonCancel, string dontAskAgainName ) : int