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

#include <undosqledit.hxx>

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

Public Member Functions

 OSqlEditUndoAct (OQueryTextView &rEdit)
 
void SetOriginalText (const OUString &strText)
 
- 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

virtual void Undo () override
 
virtual void Redo () override
 
void ToggleText ()
 

Private Attributes

OQueryTextViewm_rOwner
 
OUString m_strNextText
 

Detailed Description

Definition at line 29 of file undosqledit.hxx.

Constructor & Destructor Documentation

◆ OSqlEditUndoAct()

dbaui::OSqlEditUndoAct::OSqlEditUndoAct ( OQueryTextView rEdit)
inline

Definition at line 39 of file undosqledit.hxx.

Member Function Documentation

◆ Redo()

virtual void dbaui::OSqlEditUndoAct::Redo ( )
inlineoverrideprivatevirtual

Reimplemented from SfxUndoAction.

Definition at line 35 of file undosqledit.hxx.

References ToggleText().

◆ SetOriginalText()

void dbaui::OSqlEditUndoAct::SetOriginalText ( const OUString &  strText)
inline

Definition at line 41 of file undosqledit.hxx.

References m_strNextText.

◆ ToggleText()

void dbaui::OSqlEditUndoAct::ToggleText ( )
private

◆ Undo()

virtual void dbaui::OSqlEditUndoAct::Undo ( )
inlineoverrideprivatevirtual

Reimplemented from SfxUndoAction.

Definition at line 34 of file undosqledit.hxx.

References ToggleText().

Member Data Documentation

◆ m_rOwner

OQueryTextView& dbaui::OSqlEditUndoAct::m_rOwner
private

Definition at line 31 of file undosqledit.hxx.

Referenced by ToggleText().

◆ m_strNextText

OUString dbaui::OSqlEditUndoAct::m_strNextText
private

Definition at line 32 of file undosqledit.hxx.

Referenced by SetOriginalText(), and ToggleText().


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