C
QStateManagerException Class
class SafeRenderer::QStateManagerExceptionAn instance of QStateManagerException is thrown in case of an exception. More...
Header: | #include <QStateManagerException> |
Since: | QtSafeRenderer 2.1 |
Inherits: | SafeRenderer::QSafeException |
Public Types
enum | StateManagerException { ConnectionAlreadyExists, NotConnectedEvent, TooManyConnections, StateNotFound, MaxNumOfLayoutsExceed, …, UnsupportedEvent } |
Detailed Description
Instance of this class is thrown when an exception occurs related to state manager.
Member Type Documentation
enum QStateManagerException::StateManagerException
This enum describes the id of a thrown state manager exception.
Constant | Value | Description |
---|---|---|
SafeRenderer::QStateManagerException::ConnectionAlreadyExists | 0 | The event is already connected. |
SafeRenderer::QStateManagerException::NotConnectedEvent | 1 | The event is not connected. |
SafeRenderer::QStateManagerException::TooManyConnections | 2 | The number of connections exceeds the value defined in SafeRenderer::Constraints::MAX_NUM_OF_CONNECTIONS. |
SafeRenderer::QStateManagerException::StateNotFound | 3 | The connected item could not be found. |
SafeRenderer::QStateManagerException::MaxNumOfLayoutsExceed | 4 | The number of layouts exceeds maximum defined in SafeRenderer::Constraints::MAX_NUM_OF_LAYOUTS |
SafeRenderer::QStateManagerException::LayoutAlreadyExists | 5 | A layout with the same id have already been added. |
SafeRenderer::QStateManagerException::InvalidLayoutId | 6 | The layout id is 0. |
SafeRenderer::QStateManagerException::InvalidLayoutObject | 7 | The layout pointer is NULL or the layout is not in OK state. |
SafeRenderer::QStateManagerException::ItemOutOfBounds | 8 | The layout item is out of bounds. |
SafeRenderer::QStateManagerException::UnsupportedEvent | 9 | The event ID is not supported. |
Available under certain Qt licenses.
Find out more.