summaryrefslogtreecommitdiff
path: root/svx/source/inc/tbxform.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-22 17:09:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-22 22:17:34 +0200
commite3bf5b17bf4b8c8a7abb2c524d0f0da34295766c (patch)
tree9b715ff390b89a4695bd029aea7daaf5d3a00e35 /svx/source/inc/tbxform.hxx
parent2943666a7737d57e4307a24e08b8fd000f50e6d1 (diff)
split SvxFmAbsRecWin up to make a reusable piece
Change-Id: I3c9992d39f7dd45ac354b8e4087bacfd9715b234 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99246 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/inc/tbxform.hxx')
-rw-r--r--svx/source/inc/tbxform.hxx16
1 files changed, 3 insertions, 13 deletions
diff --git a/svx/source/inc/tbxform.hxx b/svx/source/inc/tbxform.hxx
index 153fc0c74631..a167b51d42ea 100644
--- a/svx/source/inc/tbxform.hxx
+++ b/svx/source/inc/tbxform.hxx
@@ -20,25 +20,15 @@
#define INCLUDED_SVX_SOURCE_INC_TBXFORM_HXX
#include <sfx2/tbxctrl.hxx>
-#include <vcl/InterimItemWindow.hxx>
+#include <svx/recorditemwindow.hxx>
-class SvxFmAbsRecWin final : public InterimItemWindow
+class SvxFmAbsRecWin final : public RecordItemWindow
{
public:
SvxFmAbsRecWin( vcl::Window* _pParent, SfxToolBoxControl* _pController );
- virtual void dispose() override;
- virtual ~SvxFmAbsRecWin() override;
-
- void set_text(const OUString& rText) { m_xWidget->set_text(rText); }
private:
- std::unique_ptr<weld::Entry> m_xWidget;
-
- DECL_LINK(KeyInputHdl, const KeyEvent&, bool);
- DECL_LINK(ActivatedHdl, weld::Entry&, bool);
- DECL_LINK(FocusOutHdl, weld::Widget&, void); // for invalidating our content when losing the focus
-
- void FirePosition( bool _bForce );
+ virtual void PositionFired(sal_Int64 nRecord) override;
SfxToolBoxControl* m_pController;
};