LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Attributes | List of all members
dbaui::OQueryTabConnUndoAction Class Referenceabstract

#include <QueryTabConnUndoAction.hxx>

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

Public Member Functions

 OQueryTabConnUndoAction (OQueryTableView *pOwner, TranslateId pCommentID)
 
virtual ~OQueryTabConnUndoAction () override
 
virtual void Undo () override=0
 
virtual void Redo () override=0
 
void SetConnection (OQueryTableConnection *pConn)
 
void SetOwnership (bool bTakeIt)
 
- 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
 

Protected Attributes

VclPtr< OQueryTableConnectionm_pConnection
 
bool m_bOwnerOfConn
 
- Protected Attributes inherited from dbaui::OQueryDesignUndoAction
VclPtr< OJoinTableViewm_pOwner
 

Detailed Description

Definition at line 29 of file QueryTabConnUndoAction.hxx.

Constructor & Destructor Documentation

◆ OQueryTabConnUndoAction()

OQueryTabConnUndoAction::OQueryTabConnUndoAction ( OQueryTableView pOwner,
TranslateId  pCommentID 
)

Definition at line 38 of file QueryTabConnUndoAction.cxx.

References pOwner.

◆ ~OQueryTabConnUndoAction()

OQueryTabConnUndoAction::~OQueryTabConnUndoAction ( )
overridevirtual

Member Function Documentation

◆ Redo()

virtual void dbaui::OQueryTabConnUndoAction::Redo ( )
overridepure virtual

◆ SetConnection()

void dbaui::OQueryTabConnUndoAction::SetConnection ( OQueryTableConnection pConn)
inline

Definition at line 43 of file QueryTabConnUndoAction.hxx.

References m_pConnection.

◆ SetOwnership()

void dbaui::OQueryTabConnUndoAction::SetOwnership ( bool  bTakeIt)
inline

◆ Undo()

virtual void dbaui::OQueryTabConnUndoAction::Undo ( )
overridepure virtual

Member Data Documentation

◆ m_bOwnerOfConn

bool dbaui::OQueryTabConnUndoAction::m_bOwnerOfConn
protected

Definition at line 33 of file QueryTabConnUndoAction.hxx.

Referenced by SetOwnership(), and ~OQueryTabConnUndoAction().

◆ m_pConnection

VclPtr<OQueryTableConnection> dbaui::OQueryTabConnUndoAction::m_pConnection
protected

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