ShortcutLineEdit.hpp   ShortcutLineEdit.hpp 
skipping to change at line 40 skipping to change at line 40
//! //!
//! When ShortcutLineEdit receives the focus, its whole contents get //! When ShortcutLineEdit receives the focus, its whole contents get
//! selected. On a key press, if any of the contents are selected, //! selected. On a key press, if any of the contents are selected,
//! the new key replaces @em all the previous contents. Otherwise, it's //! the new key replaces @em all the previous contents. Otherwise, it's
//! appended to the sequence. //! appended to the sequence.
class ShortcutLineEdit : public QLineEdit class ShortcutLineEdit : public QLineEdit
{ {
Q_OBJECT Q_OBJECT
public: public:
ShortcutLineEdit(QWidget* parent = 0); ShortcutLineEdit(QWidget* parent = Q_NULLPTR);
QKeySequence getKeySequence(); QKeySequence getKeySequence();
bool isEmpty() const; bool isEmpty() const;
public slots: public slots:
//! Clear contents and stored keys. //! Clear contents and stored keys.
void clear(); void clear();
//! Remove the last key from the key sequence. //! Remove the last key from the key sequence.
void backspace(); void backspace();
//! Emits contentsChanged() if the new sequence is not the same. //! Emits contentsChanged() if the new sequence is not the same.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 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/