src/corelib/statemachine/qstate.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    74     ~QState();
    74     ~QState();
    75 
    75 
    76     QAbstractState *errorState() const;
    76     QAbstractState *errorState() const;
    77     void setErrorState(QAbstractState *state);
    77     void setErrorState(QAbstractState *state);
    78 
    78 
    79     QAbstractTransition *addTransition(QAbstractTransition *transition);
    79     void addTransition(QAbstractTransition *transition);
    80     QSignalTransition *addTransition(QObject *sender, const char *signal, QAbstractState *target);
    80     QSignalTransition *addTransition(QObject *sender, const char *signal, QAbstractState *target);
    81     QAbstractTransition *addTransition(QAbstractState *target);
    81     QAbstractTransition *addTransition(QAbstractState *target);
    82     void removeTransition(QAbstractTransition *transition);
    82     void removeTransition(QAbstractTransition *transition);
    83 
    83 
    84     QAbstractState *initialState() const;
    84     QAbstractState *initialState() const;
    92                         const QVariant &value);
    92                         const QVariant &value);
    93 #endif
    93 #endif
    94 
    94 
    95 Q_SIGNALS:
    95 Q_SIGNALS:
    96     void finished();
    96     void finished();
    97     void polished();
    97     void propertiesAssigned();
    98 
    98 
    99 protected:
    99 protected:
   100     void onEntry(QEvent *event);
   100     void onEntry(QEvent *event);
   101     void onExit(QEvent *event);
   101     void onExit(QEvent *event);
   102 
   102