messagebox.h
69 static int warningContinueCancel(TQWidget* parent, ButtonCode defaultButton, const TQString& text,
84 static int warningContinueCancel(TQWidget* parent, const TQString& text, const TQString& caption = TQString(),
94 static bool setDefaultShouldBeShownContinue(const TQString& dontShowAgainName, bool defaultShow);
107 static void saveDontShowAgainYesNo(const TQString& dontShowAgainName, bool dontShow = true, ButtonCode result = No);
120 static void saveDontShowAgain(const TQString& dontShowAgainName, bool yesno, bool dontShow, const char* yesnoResult = 0);
static bool shouldBeShownContinue(const TQString &dontShowAgainName)
Returns whether a non-Yes/No message box should be shown.
Definition: messagebox.cpp:127
static void saveDontShowAgainContinue(const TQString &dontShowAgainName, bool dontShow=true)
Stores whether a non-Yes/No message box should or should not be shown again.
Definition: messagebox.cpp:155
static void setContinueDefault(const TQString &dontAskAgainName, ButtonCode defaultButton)
Sets the default button for the Continue/Cancel message box with the specified "don't ask again" name...
Definition: messagebox.cpp:34
static int warningContinueCancel(TQWidget *parent, ButtonCode defaultButton, const TQString &text, const TQString &caption=TQString(), const KGuiItem &buttonContinue=KStdGuiItem::cont(), const TQString &dontAskAgainName=TQString())
Displays a Continue/Cancel message box with the option as to which button is the default.
Definition: messagebox.cpp:75
static bool setDefaultShouldBeShownContinue(const TQString &dontShowAgainName, bool defaultShow)
If there is no current setting for whether a non-Yes/No message box should be shown,...
Definition: messagebox.cpp:106
static void setDontShowAskAgainConfig(TDEConfig *cfg)
Sets the TDEConfig object to be used by the MessageBox class.
Definition: messagebox.h:117
static ButtonCode getContinueDefault(const TQString &dontAskAgainName)
Gets the default button for the Continue/Cancel message box with the specified "don't ask again" name...
Definition: messagebox.cpp:43
static void saveDontShowAgainYesNo(const TQString &dontShowAgainName, bool dontShow=true, ButtonCode result=No)
Stores whether the Yes/No message box should or should not be shown again.
Definition: messagebox.cpp:142