/***************************************************************************
- * Copyright (C) 2005-2018 by the Quassel Project *
+ * Copyright (C) 2005-2019 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
Q_OBJECT
Q_PROPERTY(QColor color READ color WRITE setColor USER true)
-public :
- explicit ColorButton(QWidget *parent = 0);
- explicit ColorButton(const QColor &c, QWidget *parent = 0);
+public:
+ explicit ColorButton(QWidget* parent = nullptr);
+ explicit ColorButton(const QColor& c, QWidget* parent = nullptr);
- void setColor(const QColor &color);
+ void setColor(const QColor& color);
QColor color() const;
signals:
- void colorChanged(const QColor &);
+ void colorChanged(const QColor&);
private slots:
void chooseColor();