summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNickson Thanda <nicksonthanda10@msn.com>2018-07-03 13:54:40 +0100
committerMuhammet Kara <muhammet.kara@pardus.org.tr>2018-07-19 13:03:33 +0200
commit11b60b16739bfd88cc6f9f16834870a296921883 (patch)
tree2a88e6fa2c9aad772c1c770a595aa43caac8f25a /include/vcl
parent9f01dca60e6539f48cd529180f0d64c2131e0ea1 (diff)
tdf#108012 - Clicking in the font field should select the contents
Change-Id: I1276976e031b419ca5cc3cc8e848f2af58ce4cfb Reviewed-on: https://gerrit.libreoffice.org/56865 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/combobox.hxx2
-rw-r--r--include/vcl/edit.hxx4
2 files changed, 5 insertions, 1 deletions
diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx
index 2f7efd3e006e..4d30398e8c6e 100644
--- a/include/vcl/combobox.hxx
+++ b/include/vcl/combobox.hxx
@@ -90,7 +90,7 @@ public:
virtual void RemoveEntryAt(sal_Int32 nPos);
void Clear();
-
+ void EnableSelectAll();
sal_Int32 GetEntryPos( const OUString& rStr ) const;
sal_Int32 GetEntryPos( const void* pData ) const;
Image GetEntryImage( sal_Int32 nPos ) const;
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx
index 61649aeef6f1..bee63aae0488 100644
--- a/include/vcl/edit.hxx
+++ b/include/vcl/edit.hxx
@@ -88,6 +88,7 @@ private:
sal_Int32 mnMaxWidthChars;
sal_Unicode mcEchoChar;
bool mbModified:1,
+ mbSelectAllSingleClick:1,
mbInternModified:1,
mbReadOnly:1,
mbInsertMode:1,
@@ -201,6 +202,9 @@ public:
virtual void SetReadOnly( bool bReadOnly = true );
virtual bool IsReadOnly() const { return mbReadOnly; }
+ void SetSelectAllSingleClick( bool bSelectAllSingleClick );
+ bool IsSelectAllSingleClick() const { return mbSelectAllSingleClick; }
+
void SetInsertMode( bool bInsert );
bool IsInsertMode() const;