/***************************************************************************
- * Copyright (C) 2010 by the Quassel Project *
+ * Copyright (C) 2005-2018 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This class has been inspired by KDE's KKeySequenceWidget and uses *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifndef KEYSEQUENCEWIDGET_H
{
Q_OBJECT
public:
- KeySequenceWidget(QWidget *parent = 0);
+ KeySequenceWidget(QWidget *parent = nullptr);
void setModel(ShortcutsModel *model);
{
Q_OBJECT
public:
- explicit KeySequenceButton(KeySequenceWidget *d, QWidget *parent = 0);
+ explicit KeySequenceButton(KeySequenceWidget *d, QWidget *parent = nullptr);
protected:
- virtual bool event(QEvent *event);
- virtual void keyPressEvent(QKeyEvent *event);
- virtual void keyReleaseEvent(QKeyEvent *event);
+ bool event(QEvent *event) override;
+ void keyPressEvent(QKeyEvent *event) override;
+ void keyReleaseEvent(QKeyEvent *event) override;
private:
KeySequenceWidget *d;