LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbaui::OJoinMoveTabWinUndoAct Class Referencefinal

#include <QueryMoveTabWinUndoAct.hxx>

Inheritance diagram for dbaui::OJoinMoveTabWinUndoAct:
[legend]
Collaboration diagram for dbaui::OJoinMoveTabWinUndoAct:
[legend]

Public Member Functions

 OJoinMoveTabWinUndoAct (OJoinTableView *pOwner, const Point &ptOriginalPosition, OTableWindow *pTabWin)
 
virtual void Undo () override
 
virtual void Redo () override
 
- Public Member Functions inherited from dbaui::OQueryDesignUndoAction
 OQueryDesignUndoAction (OJoinTableView *pOwner, TranslateId pCommentID)
 
- Public Member Functions inherited from dbaui::OCommentUndoAction
 OCommentUndoAction (TranslateId pCommentID)
 
virtual OUString GetComment () const override
 
- Public Member Functions inherited from SfxUndoAction
 SfxUndoAction ()
 
virtual ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE
 
virtual void Undo ()
 
virtual void UndoWithContext (SfxUndoContext &i_context)
 
virtual void Redo ()
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual void Repeat (SfxRepeatTarget &)
 
virtual bool CanRepeat (SfxRepeatTarget &) const
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
virtual OUString GetComment () const
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
virtual ViewShellId GetViewShellId () const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Member Functions

void TogglePosition ()
 

Private Attributes

Point m_ptNextPosition
 
VclPtr< OTableWindowm_pTabWin
 

Additional Inherited Members

- Protected Attributes inherited from dbaui::OQueryDesignUndoAction
VclPtr< OJoinTableViewm_pOwner
 

Detailed Description

Definition at line 32 of file QueryMoveTabWinUndoAct.hxx.

Constructor & Destructor Documentation

◆ OJoinMoveTabWinUndoAct()

dbaui::OJoinMoveTabWinUndoAct::OJoinMoveTabWinUndoAct ( OJoinTableView pOwner,
const Point ptOriginalPosition,
OTableWindow pTabWin 
)
inline

Definition at line 46 of file QueryMoveTabWinUndoAct.hxx.

References pOwner.

Member Function Documentation

◆ Redo()

virtual void dbaui::OJoinMoveTabWinUndoAct::Redo ( )
inlineoverridevirtual

Reimplemented from SfxUndoAction.

Definition at line 43 of file QueryMoveTabWinUndoAct.hxx.

References TogglePosition().

◆ TogglePosition()

void OJoinMoveTabWinUndoAct::TogglePosition ( )
private

Definition at line 24 of file QueryMoveTabWinUndoAct.cxx.

References dbaui::OQueryDesignUndoAction::m_pOwner, m_pTabWin, and m_ptNextPosition.

Referenced by Redo(), and Undo().

◆ Undo()

virtual void dbaui::OJoinMoveTabWinUndoAct::Undo ( )
inlineoverridevirtual

Reimplemented from SfxUndoAction.

Definition at line 42 of file QueryMoveTabWinUndoAct.hxx.

References TogglePosition().

Member Data Documentation

◆ m_pTabWin

VclPtr<OTableWindow> dbaui::OJoinMoveTabWinUndoAct::m_pTabWin
private

Definition at line 35 of file QueryMoveTabWinUndoAct.hxx.

Referenced by TogglePosition().

◆ m_ptNextPosition

Point dbaui::OJoinMoveTabWinUndoAct::m_ptNextPosition
private

Definition at line 34 of file QueryMoveTabWinUndoAct.hxx.

Referenced by TogglePosition().


The documentation for this class was generated from the following files: