TuiNodeBool.hpp   TuiNodeBool.hpp 
skipping to change at line 41 skipping to change at line 41
//! Create a TuiNodeBool node. //! Create a TuiNodeBool node.
//! @param text the text to be displayed for this node //! @param text the text to be displayed for this node
//! @param receiver a QObject which will receive a signal when the v alue //! @param receiver a QObject which will receive a signal when the v alue
//! is changed //! is changed
//! @param method the method in the receiver which will be called wh en //! @param method the method in the receiver which will be called wh en
//! the value is changed. Note that this should be passed using the //! the value is changed. Note that this should be passed using the
//! SLOT() macro. //! SLOT() macro.
//! @param parent the node for the parent menu item //! @param parent the node for the parent menu item
//! @param prev the previous node in the current menu (typically //! @param prev the previous node in the current menu (typically
//! shares the same parent) //! shares the same parent)
TuiNodeBool(const QString& text, QObject* receiver, const char* meth od, bool defValue, TuiNode* parent=NULL, TuiNode* prev=NULL); TuiNodeBool(const QString& text, QObject* receiver, const char* meth od, bool defValue, TuiNode* parent=Q_NULLPTR, TuiNode* prev=Q_NULLPTR);
virtual TuiNodeResponse handleEditingKey(int key); virtual TuiNodeResponse handleEditingKey(int key);
virtual QString getDisplayText(); virtual QString getDisplayText() const;
signals: signals:
void setValue(bool b); void setValue(bool b);
private: private:
bool state; bool state;
}; };
#endif /*_TUINODEBOOL_HPP_*/ #endif /*_TUINODEBOOL_HPP_*/
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/