TuiNodeDateTime.hpp   TuiNodeDateTime.hpp 
skipping to change at line 41 skipping to change at line 41
Q_OBJECT Q_OBJECT
public: public:
//! Create a TuiNodeDateTime node. //! Create a TuiNodeDateTime 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 is changed //! @param receiver a QObject which will receive a signal when the v alue is changed
//! @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 SLOT() macro. //! @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 SLOT() macro.
//! @param defValue the default value for the node //! @param defValue the default value for the node
//! @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)
TuiNodeDateTime(const QString& text, QObject* receiver, const char* method, double defValue, TuiNode* parent=NULL, TuiNode* prev=NULL); TuiNodeDateTime(const QString& text, QObject* receiver, const char* method, double 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(double d); void setValue(double d);
private: private:
double value; double value;
int editingPart; int editingPart;
bool typing; bool typing;
void incPart(int part, bool add); void incPart(int part, bool add);
QList<int> getParts(double jd); QList<int> getParts(double jd) const;
bool setPart(int part, int val); bool setPart(int part, int val);
}; };
#endif /*_TUINODEDATETIME_HPP_*/ #endif /*_TUINODEDATETIME_HPP_*/
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 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/