forked from qt-creator/qt-creator
Reduced the moc abuse in qtcolorbutton
This commit is contained in:
@@ -40,8 +40,9 @@
|
||||
|
||||
namespace Utils {
|
||||
|
||||
class QtColorButtonPrivate
|
||||
class QtColorButtonPrivate: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
QtColorButton *q_ptr;
|
||||
Q_DECLARE_PUBLIC(QtColorButton)
|
||||
public:
|
||||
@@ -286,4 +287,4 @@ void QtColorButton::dropEvent(QDropEvent *event)
|
||||
|
||||
} // namespace Utils
|
||||
|
||||
#include "moc_qtcolorbutton.cpp"
|
||||
#include "qtcolorbutton.moc"
|
||||
|
@@ -75,7 +75,6 @@ private:
|
||||
class QtColorButtonPrivate *d_ptr;
|
||||
friend class QtColorButtonPrivate;
|
||||
Q_DISABLE_COPY(QtColorButton)
|
||||
Q_PRIVATE_SLOT(d_ptr, void slotEditColor())
|
||||
};
|
||||
|
||||
} // namespace Utils
|
||||
|
Reference in New Issue
Block a user