diff options
Diffstat (limited to 'dbaccess/source/ui/dlg/adminpages.hxx')
-rw-r--r-- | dbaccess/source/ui/dlg/adminpages.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/adminpages.hxx b/dbaccess/source/ui/dlg/adminpages.hxx index dfc47c8e11a7..a87342fed9bb 100644 --- a/dbaccess/source/ui/dlg/adminpages.hxx +++ b/dbaccess/source/ui/dlg/adminpages.hxx @@ -230,11 +230,15 @@ namespace dbaui /** This link be used for controls where the tabpage does not need to take any special action when the control is modified. The implementation just calls callModifiedHdl. */ - DECL_LINK(OnControlModified, void*); - DECL_LINK(OnTestConnectionClickHdl, PushButton*); + DECL_LINK(OnControlModified, Button*); + DECL_LINK_TYPED(OnTestConnectionClickHdl, Button*, void); /// may be used in SetXXXHdl calls to controls, is a link to <method>OnControlModified</method> virtual Link<> getControlModifiedLink() { return LINK(this, OGenericAdministrationPage, OnControlModified); } + // calls via getControlModifiedLink() + Link<Button*,void> getControlModifiedClickLink() { return LINK(this, OGenericAdministrationPage, OnControlModifiedClick); } + private: + DECL_LINK_TYPED(OnControlModifiedClick, Button*, void); }; // ControlRelation |