summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-28 20:14:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-29 11:20:14 +0200
commitdf56a000a165da01a14b2fdf2ad66f371a452ce8 (patch)
tree3d660e7fa7f4fd57f37a6a2ce96cb256c4732007 /include/vcl
parentd19a21a81bea24cdcfc8618ed3d37b825e638f65 (diff)
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>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/button.hxx15
-rw-r--r--include/vcl/toolkit/button.hxx15
2 files changed, 15 insertions, 15 deletions
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index 0819ff1b5aab..4c3a7beafa5f 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -335,21 +335,6 @@ public:
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
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/toolkit/button.hxx b/include/vcl/toolkit/button.hxx
index cb581a407c59..0c90976cbd70 100644
--- a/include/vcl/toolkit/button.hxx
+++ b/include/vcl/toolkit/button.hxx
@@ -167,4 +167,19 @@ public:
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: */