java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QUndoCommand
- All Implemented Interfaces:
QtObjectInterface
public class QUndoCommand extends QtObject
The base class of all commands stored on a QUndoStack
Java wrapper for Qt class QUndoCommand
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QUndoCommand()
Overloaded constructor forQUndoCommand(io.qt.gui.QUndoCommand)
withparent = null
.QUndoCommand(QUndoCommand parent)
protected
QUndoCommand(QtObject.QPrivateConstructor p)
Constructor for internal use only.QUndoCommand(String text)
Overloaded constructor forQUndoCommand(java.lang.String, io.qt.gui.QUndoCommand)
withparent = null
.QUndoCommand(String text, QUndoCommand parent)
-
Method Summary
Modifier and Type Method Description String
actionText()
QUndoCommand
child(int index)
int
childCount()
int
id()
boolean
isObsolete()
boolean
mergeWith(QUndoCommand other)
void
redo()
void
setObsolete(boolean obsolete)
void
setText(String text)
String
text()
void
undo()
-
Constructor Details
-
QUndoCommand
public QUndoCommand()Overloaded constructor for
QUndoCommand(io.qt.gui.QUndoCommand)
withparent = null
. -
QUndoCommand
-
QUndoCommand
Overloaded constructor for
QUndoCommand(java.lang.String, io.qt.gui.QUndoCommand)
withparent = null
. -
QUndoCommand
-
QUndoCommand
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details