diff --git a/QHotkey/qhotkey.h b/QHotkey/qhotkey.h index 3f92d77..b55f691 100644 --- a/QHotkey/qhotkey.h +++ b/QHotkey/qhotkey.h @@ -22,11 +22,11 @@ public: typedef QPair NativeShortcut; //! Constructor - explicit QHotkey(QObject *parent = 0); + explicit QHotkey(QObject *parent = Q_NULLPTR); //! Constructs a hotkey with a shortcut and optionally registers it - explicit QHotkey(const QKeySequence &shortcut, bool autoRegister = false, QObject *parent = 0); + explicit QHotkey(const QKeySequence &shortcut, bool autoRegister = false, QObject *parent = Q_NULLPTR); //! Constructs a hotkey with a key and modifiers and optionally registers it - explicit QHotkey(Qt::Key key, Qt::KeyboardModifiers modifiers, bool autoRegister = false, QObject *parent = 0); + explicit QHotkey(Qt::Key key, Qt::KeyboardModifiers modifiers, bool autoRegister = false, QObject *parent = Q_NULLPTR); //! Destructor ~QHotkey();