[Libreoffice-commits] core.git: include/vcl

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 23 18:04:53 UTC 2019


 include/vcl/combobox.hxx |    1 +
 include/vcl/lstbox.hxx   |    1 +
 include/vcl/weld.hxx     |    1 +
 3 files changed, 3 insertions(+)

New commits:
commit 93e3945330cd231e05c637aefe00419cb14f2ab7
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Fri Aug 23 10:08:16 2019 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri Aug 23 20:03:50 2019 +0200

    vcl: document ComboBox vs ListBox
    
    These are two separate VCL classes, but merged together for weld, which
    confused me.
    
    Change-Id: Id6827532218917753cc036188176bef6ac0c5d88
    Reviewed-on: https://gerrit.libreoffice.org/77995
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
    Tested-by: Jenkins

diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx
index 0080e39dfda5..1993d00e0ae6 100644
--- a/include/vcl/combobox.hxx
+++ b/include/vcl/combobox.hxx
@@ -30,6 +30,7 @@
 
 class UserDrawEvent;
 
+/// A widget used to choose from a list of items and which has an entry.
 class VCL_DLLPUBLIC ComboBox : public Edit
 {
 private:
diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx
index df42d7b6b9d2..4e6130a7dd18 100644
--- a/include/vcl/lstbox.hxx
+++ b/include/vcl/lstbox.hxx
@@ -74,6 +74,7 @@ class ImplBtn;
 class ImplWin;
 class ImplListBoxWindow;
 
+/// A widget used to choose from a list of items and which has no entry.
 class VCL_DLLPUBLIC ListBox : public Control
 {
 private:
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 61deac2be88a..3200164f1da6 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -514,6 +514,7 @@ enum class EntryMessageType
     Error,
 };
 
+/// A widget used to choose from a list of items.
 class VCL_DLLPUBLIC ComboBox : virtual public Container
 {
 private:


More information about the Libreoffice-commits mailing list