• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

lokalize

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SetStateCmd Class Reference

#include <cmd.h>

Inheritance diagram for SetStateCmd:
Inheritance graph
[legend]

Public Member Functions

 ~SetStateCmd ()
 
void doRedo ()
 
void doUndo ()
 
int id () const
 
- Public Member Functions inherited from LokalizeUnitCmd
 LokalizeUnitCmd (Catalog *catalog, const DocPosition &pos, const QString &name)
 
virtual ~LokalizeUnitCmd ()
 
DocPosition pos () const
 
virtual void redo ()
 
virtual void undo ()
 
- Public Member Functions inherited from QUndoCommand
 QUndoCommand (QUndoCommand *parent)
 
 QUndoCommand (const QString &text, QUndoCommand *parent)
 
virtual  ~QUndoCommand ()
 
QString actionText () const
 
const QUndoCommand * child (int index) const
 
int childCount () const
 
virtual bool mergeWith (const QUndoCommand *command)
 
void setText (const QString &text)
 
QString text () const
 

Static Public Member Functions

static void instantiateAndPush (Catalog *catalog, const DocPosition &pos, TargetState state)
 
static void push (Catalog *catalog, const DocPosition &pos, bool approved)
 

Public Attributes

TargetState _prevState
 
TargetState _state
 

Additional Inherited Members

- Protected Member Functions inherited from LokalizeUnitCmd
virtual void setJumpingPos ()
 
- Protected Attributes inherited from LokalizeUnitCmd
Catalog * _catalog
 
bool _firstModificationForThisEntry
 
DocPosition _pos
 
QString _prevPhase
 

Detailed Description

Definition at line 112 of file cmd.h.

Constructor & Destructor Documentation

SetStateCmd::~SetStateCmd ( )
inline

Definition at line 117 of file cmd.h.

Member Function Documentation

void SetStateCmd::doRedo ( )
virtual

Implements LokalizeUnitCmd.

Definition at line 196 of file cmd.cpp.

void SetStateCmd::doUndo ( )
virtual

Implements LokalizeUnitCmd.

Definition at line 201 of file cmd.cpp.

int SetStateCmd::id ( ) const
inlinevirtual

Reimplemented from QUndoCommand.

Definition at line 119 of file cmd.h.

void SetStateCmd::instantiateAndPush ( Catalog *  catalog,
const DocPosition &  pos,
TargetState  state 
)
static

Definition at line 186 of file cmd.cpp.

void SetStateCmd::push ( Catalog *  catalog,
const DocPosition &  pos,
bool  approved 
)
static

Definition at line 182 of file cmd.cpp.

Member Data Documentation

TargetState SetStateCmd::_prevState

Definition at line 127 of file cmd.h.

TargetState SetStateCmd::_state

Definition at line 126 of file cmd.h.


The documentation for this class was generated from the following files:
  • cmd.h
  • cmd.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

lokalize

Skip menu "lokalize"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal