Qt 4.8
|
#include <qundostack_p.h>
Public Functions | |
bool | checkUndoLimit () |
If the number of commands on the stack exceedes the undo limit, deletes commands from the bottom of the stack. More... | |
QUndoStackPrivate () | |
void | setIndex (int idx, bool clean) |
Sets the current index to idx, emitting appropriate signals. More... | |
Public Functions inherited from QObjectPrivate | |
void | _q_reregisterTimers (void *pointer) |
void | addConnection (int signal, Connection *c) |
void | cleanConnectionLists () |
void | connectNotify (const char *signal) |
void | deleteChildren () |
void | disconnectNotify (const char *signal) |
bool | isSender (const QObject *receiver, const char *signal) const |
bool | isSignalConnected (uint signalIdx) const |
Returns true if the signal with index signal_index from object sender is connected. More... | |
void | moveToThread_helper () |
QObjectPrivate (int version=QObjectPrivateVersion) | |
QObjectList | receiverList (const char *signal) const |
QObjectList | senderList () const |
void | setParent_helper (QObject *) |
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
int | signalIndex (const char *signalName) const |
Returns the signal index used in the internal connectionLists vector. More... | |
virtual | ~QObjectPrivate () |
Public Functions inherited from QObjectData | |
virtual | ~QObjectData ()=0 |
Public Variables | |
int | clean_index |
QList< QUndoCommand * > | command_list |
QUndoGroup * | group |
int | index |
QList< QUndoCommand * > | macro_stack |
int | undo_limit |
Public Variables inherited from QObjectPrivate | |
union { | |
QObject * currentChildBeingDeleted | |
QAbstractDeclarativeData * declarativeData | |
}; | |
quint32 | connectedSignals [2] |
QObjectConnectionListVector * | connectionLists |
Sender * | currentSender |
QList< QPointer< QObject > > | eventFilters |
ExtraData * | extraData |
QString | objectName |
Connection * | senders |
QAtomicPointer< QtSharedPointer::ExternalRefCountData > | sharedRefcount |
QThreadData * | threadData |
void * | unused |
Public Variables inherited from QObjectData | |
uint | blockSig: 1 |
QObjectList | children |
uint | hasGuards: 1 |
uint | inEventHandler: 1 |
uint | inThreadChangeEvent: 1 |
uint | isWidget: 1 |
QMetaObject * | metaObject |
uint | ownObjectName: 1 |
QObject * | parent |
uint | pendTimer: 1 |
int | postedEvents |
QObject * | q_ptr |
uint | receiveChildEvents: 1 |
uint | sendChildEvents: 1 |
uint | unused: 22 |
uint | wasDeleted: 1 |
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Definition at line 79 of file qundostack_p.h.
|
inline |
Definition at line 83 of file qundostack_p.h.
bool QUndoStackPrivate::checkUndoLimit | ( | ) |
If the number of commands on the stack exceedes the undo limit, deletes commands from the bottom of the stack.
Returns true if commands were deleted.
Definition at line 484 of file qundostack.cpp.
void QUndoStackPrivate::setIndex | ( | int | idx, |
bool | clean | ||
) |
Sets the current index to idx, emitting appropriate signals.
Definition at line 451 of file qundostack.cpp.
int QUndoStackPrivate::clean_index |
Definition at line 88 of file qundostack_p.h.
QList<QUndoCommand*> QUndoStackPrivate::command_list |
Definition at line 85 of file qundostack_p.h.
QUndoGroup* QUndoStackPrivate::group |
Definition at line 89 of file qundostack_p.h.
int QUndoStackPrivate::index |
Definition at line 87 of file qundostack_p.h.
QList<QUndoCommand*> QUndoStackPrivate::macro_stack |
Definition at line 86 of file qundostack_p.h.
int QUndoStackPrivate::undo_limit |
Definition at line 90 of file qundostack_p.h.