projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
qa: Avoid deprecation warnings for QList/QSet conversions
[quassel.git]
/
src
/
uisupport
/
colorbutton.h
diff --git
a/src/uisupport/colorbutton.h
b/src/uisupport/colorbutton.h
index
48811f6
..
ca7937d
100644
(file)
--- a/
src/uisupport/colorbutton.h
+++ b/
src/uisupport/colorbutton.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
8
by the Quassel Project *
+ * Copyright (C) 2005-201
9
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-29,15
+29,15
@@
class UISUPPORT_EXPORT ColorButton : public QToolButton
Q_OBJECT
Q_PROPERTY(QColor color READ color WRITE setColor USER true)
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:
QColor color() const;
signals:
- void colorChanged(const QColor
&);
+ void colorChanged(const QColor&);
private slots:
void chooseColor();
private slots:
void chooseColor();