diff options
author | Malte Timmermann <mt@openoffice.org> | 2001-07-26 11:24:37 +0000 |
---|---|---|
committer | Malte Timmermann <mt@openoffice.org> | 2001-07-26 11:24:37 +0000 |
commit | cdd10baa433734468a5787a6a3c0b7818f463479 (patch) | |
tree | b280dc58036953ce19566a70c96c0cf2bcb4f30e /toolkit/inc/toolkit/controls | |
parent | 29c97d1515f9defc5b50177fde4cc146a130fbdb (diff) |
#86374# CheckBoxes are supporting XButton now...
Diffstat (limited to 'toolkit/inc/toolkit/controls')
-rw-r--r-- | toolkit/inc/toolkit/controls/unocontrols.hxx | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/toolkit/inc/toolkit/controls/unocontrols.hxx b/toolkit/inc/toolkit/controls/unocontrols.hxx index ccc4c28664ae..1a12a099d6d3 100644 --- a/toolkit/inc/toolkit/controls/unocontrols.hxx +++ b/toolkit/inc/toolkit/controls/unocontrols.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unocontrols.hxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: mt $ $Date: 2001-06-18 09:25:14 $ + * last change: $Author: mt $ $Date: 2001-07-26 12:21:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -780,13 +780,15 @@ public: // class UnoCheckBoxControl // ---------------------------------------------------- class UnoCheckBoxControl : public UnoControlBase, + public ::com::sun::star::awt::XButton, public ::com::sun::star::awt::XCheckBox, public ::com::sun::star::awt::XItemListener, public ::com::sun::star::awt::XLayoutConstrains { private: - ItemListenerMultiplexer maItemListeners; - ::rtl::OUString maLabel; + ItemListenerMultiplexer maItemListeners; + ActionListenerMultiplexer maActionListeners; + ::rtl::OUString maActionCommand; public: @@ -809,6 +811,11 @@ public: // ::com::sun::star::awt::XControl sal_Bool SAL_CALL isTransparent( ) throw(::com::sun::star::uno::RuntimeException); + // ::com::sun::star::awt::XButton + void SAL_CALL addActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException); + void SAL_CALL removeActionListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& l ) throw(::com::sun::star::uno::RuntimeException); + void SAL_CALL setActionCommand( const ::rtl::OUString& Command ) throw(::com::sun::star::uno::RuntimeException); + // ::com::sun::star::awt::XCheckBox void SAL_CALL addItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException); void SAL_CALL removeItemListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XItemListener >& l ) throw(::com::sun::star::uno::RuntimeException); |