summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-06-26 22:53:28 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-06-27 10:41:10 +0200
commit41905ffb2a3d8d1362fe55690bf2a716b1e04064 (patch)
tree6db5e65b0f177fcc4edaf49ba36e57e56f00fd4e /include
parent766cd45488ab8c2cb2ae772f225cd967a7d32475 (diff)
tdf#108809 Message boxes: Add more descriptive window title
E.g. 'Error' for error boxes instead of just 'LibreOffice 6.0' Change-Id: I7142d15e9219a2aa6733523887cdf43b50200b7b Reviewed-on: https://gerrit.libreoffice.org/39284 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/msgbox.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/msgbox.hxx b/include/vcl/msgbox.hxx
index 01379bdcb73b..305e36c381ce 100644
--- a/include/vcl/msgbox.hxx
+++ b/include/vcl/msgbox.hxx
@@ -73,6 +73,7 @@ public:
const OUString& rMessage );
static Image GetStandardImage();
+ static OUString GetStandardText();
};
class VCL_DLLPUBLIC WarningBox : public MessBox
@@ -84,6 +85,7 @@ public:
void SetDefaultCheckBoxText();
static Image GetStandardImage();
+ static OUString GetStandardText();
};
class VCL_DLLPUBLIC ErrorBox : public MessBox
@@ -94,6 +96,7 @@ public:
const OUString& rMessage );
static Image GetStandardImage();
+ static OUString GetStandardText();
};
class VCL_DLLPUBLIC QueryBox : public MessBox
@@ -105,6 +108,7 @@ public:
void SetDefaultCheckBoxText();
static Image GetStandardImage();
+ static OUString GetStandardText();
};
#endif // INCLUDED_VCL_MSGBOX_HXX