summaryrefslogtreecommitdiff
path: root/basctl/source/inc/dlgedfunc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/inc/dlgedfunc.hxx')
-rw-r--r--basctl/source/inc/dlgedfunc.hxx49
1 files changed, 19 insertions, 30 deletions
diff --git a/basctl/source/inc/dlgedfunc.hxx b/basctl/source/inc/dlgedfunc.hxx
index 1d6e9efe6526..9e20f39015a8 100644
--- a/basctl/source/inc/dlgedfunc.hxx
+++ b/basctl/source/inc/dlgedfunc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_DLGEDFUNC_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_DLGEDFUNC_HXX
+#pragma once
#include <vcl/event.hxx>
#include <vcl/timer.hxx>
@@ -27,65 +26,55 @@
namespace basctl
{
-
class DlgEditor;
-
// DlgEdFunc
-
class DlgEdFunc /* : public LinkHdl */
{
protected:
DlgEditor& rParent;
- Timer aScrollTimer;
+ Timer aScrollTimer;
- DECL_LINK( ScrollTimeout, Timer *, void );
- void ForceScroll( const Point& rPos );
+ DECL_LINK(ScrollTimeout, Timer*, void);
+ void ForceScroll(const Point& rPos);
public:
- explicit DlgEdFunc (DlgEditor& rParent);
+ explicit DlgEdFunc(DlgEditor& rParent);
virtual ~DlgEdFunc();
- virtual void MouseButtonDown( const MouseEvent& rMEvt );
- virtual bool MouseButtonUp( const MouseEvent& rMEvt );
- virtual void MouseMove( const MouseEvent& rMEvt );
- bool KeyInput( const KeyEvent& rKEvt );
+ virtual void MouseButtonDown(const MouseEvent& rMEvt);
+ virtual bool MouseButtonUp(const MouseEvent& rMEvt);
+ virtual void MouseMove(const MouseEvent& rMEvt);
+ bool KeyInput(const KeyEvent& rKEvt);
};
-
// DlgEdFuncInsert
-
class DlgEdFuncInsert : public DlgEdFunc
{
public:
- explicit DlgEdFuncInsert (DlgEditor& rParent);
- virtual ~DlgEdFuncInsert () override;
+ explicit DlgEdFuncInsert(DlgEditor& rParent);
+ virtual ~DlgEdFuncInsert() override;
- virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
- virtual bool MouseButtonUp( const MouseEvent& rMEvt ) override;
- virtual void MouseMove( const MouseEvent& rMEvt ) override;
+ virtual void MouseButtonDown(const MouseEvent& rMEvt) override;
+ virtual bool MouseButtonUp(const MouseEvent& rMEvt) override;
+ virtual void MouseMove(const MouseEvent& rMEvt) override;
};
-
// DlgEdFuncSelect
-
class DlgEdFuncSelect : public DlgEdFunc
{
public:
- explicit DlgEdFuncSelect (DlgEditor& rParent);
- virtual ~DlgEdFuncSelect () override;
+ explicit DlgEdFuncSelect(DlgEditor& rParent);
+ virtual ~DlgEdFuncSelect() override;
- virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
- virtual bool MouseButtonUp( const MouseEvent& rMEvt ) override;
- virtual void MouseMove( const MouseEvent& rMEvt ) override;
+ virtual void MouseButtonDown(const MouseEvent& rMEvt) override;
+ virtual bool MouseButtonUp(const MouseEvent& rMEvt) override;
+ virtual void MouseMove(const MouseEvent& rMEvt) override;
};
-
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_DLGEDFUNC_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */