move ImageButton to toolkit-only headers

Change-Id: I2413d4165f2b1a88c53facbb0993cc6623a28082
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99650
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara 2020-07-28 20:14:51 +01:00
parent d19a21a81b
commit df56a000a1
2 changed files with 15 additions and 15 deletions

View File

@ -335,21 +335,6 @@ public:
virtual FactoryFunction GetUITestFactory() const override; virtual FactoryFunction GetUITestFactory() const override;
}; };
class VCL_DLLPUBLIC ImageButton final : public PushButton
{
protected:
using PushButton::ImplInitStyle;
private:
SAL_DLLPRIVATE void ImplInitStyle();
ImageButton( const ImageButton & ) = delete;
ImageButton & operator= ( const ImageButton & ) = delete;
public:
ImageButton( vcl::Window* pParent, WinBits nStyle = 0 );
};
#endif // INCLUDED_VCL_BUTTON_HXX #endif // INCLUDED_VCL_BUTTON_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -167,4 +167,19 @@ public:
virtual FactoryFunction GetUITestFactory() const override; virtual FactoryFunction GetUITestFactory() const override;
}; };
class VCL_DLLPUBLIC ImageButton final : public PushButton
{
protected:
using PushButton::ImplInitStyle;
private:
SAL_DLLPRIVATE void ImplInitStyle();
ImageButton( const ImageButton & ) = delete;
ImageButton & operator= ( const ImageButton & ) = delete;
public:
ImageButton( vcl::Window* pParent, WinBits nStyle = 0 );
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */