Commit 7c75e931 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Use Q_SLOTS and Q_SIGNALS instead of slots and signals

parent 2208d61e

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -37,7 +37,7 @@ private:
KisPaintDeviceSP m_device;
private slots:
private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
......
......@@ -35,7 +35,7 @@ private:
KisPaintDeviceSP m_device;
KoColor m_color;
private slots:
private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
......
......@@ -24,7 +24,7 @@
class KisCompositionBenchmark : public QObject
{
Q_OBJECT
private slots:
private Q_SLOTS:
void checkRoundingAlphaDarken_05_03();
void checkRoundingAlphaDarken_05_05();
void checkRoundingAlphaDarken_05_07();
......
......@@ -25,7 +25,7 @@ class KisDatamanagerBenchmark : public QObject
{
Q_OBJECT
private slots:
private Q_SLOTS:
void initTestCase();
void benchmarkCreation();
......
......@@ -23,7 +23,7 @@
class KisFastMathBenchmark : public QObject {
Q_OBJECT
private slots:
private Q_SLOTS:
void benchmarkFastAtan2();
void benchmarkLibCAtan2();
};
......
......@@ -30,7 +30,7 @@
class KisFilterSelectionsBenchmark : public QObject
{
Q_OBJECT
private slots:
private Q_SLOTS:
void testAll();
......
......@@ -38,7 +38,7 @@ private:
int m_startX;
int m_startY;
private slots:
private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
......
......@@ -38,7 +38,7 @@ private:
int m_startX;
int m_startY;
private slots:
private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
......
......@@ -34,7 +34,7 @@ private:
const KoColorSpace * m_colorSpace;
KisPaintDevice * m_device;
KoColor * m_color;
private slots:
private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
......
......@@ -24,7 +24,7 @@
class KisLowMemoryBenchmark : public QObject
{
Q_OBJECT
private slots:
private Q_SLOTS:
void unlimitedMemoryNoHistoryNoPool();
void unlimitedMemoryHistoryNoPool();
void unlimitedMemoryHistoryPool50();
......
......@@ -24,7 +24,7 @@
class KisMaskGeneratorBenchmark : public QObject
{
Q_OBJECT
private slots:
private Q_SLOTS:
void benchmarkCircle();
void benchmarkSIMD();
void benchmarkSquare();
......
......@@ -36,7 +36,7 @@ private:
KoColor m_color;
QVector<QPointF> m_points;
private slots:
private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
......
......@@ -26,7 +26,7 @@ class KisProjectionBenchmark : public QObject
{
Q_OBJECT
private slots:
private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
......
......@@ -34,7 +34,7 @@ private:
const KoColorSpace * m_colorSpace;
KisPaintDevice * m_device;
KoColor * m_color;
private slots:
private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
......
......@@ -62,7 +62,7 @@ private:
inline void benchmarkLine(QString presetFileName);
inline void benchmarkCircle(QString presetFileName);
private slots:
private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
......
......@@ -34,7 +34,7 @@ private:
const KoColorSpace * m_colorSpace;
KisPaintDevice * m_device;
KoColor * m_color;
private slots:
private Q_SLOTS:
void initTestCase();
void cleanupTestCase();
......
......@@ -31,10 +31,10 @@ public:
MainWindow(const QString &dumpPath, const QString &id, QWidget *parent = 0);
virtual ~MainWindow();
public slots:
public Q_SLOTS:
void restart();
private slots:
private Q_SLOTS:
void close();
void startUpload();
void uploadDone(QNetworkReply *reply);
......
......@@ -44,7 +44,7 @@ public:
void add(const QString &id, KisFilterSP item);
KisFilterConfiguration* cloneConfiguration(KisFilterConfiguration*);
signals:
Q_SIGNALS:
void filterAdded(QString id);
......
......@@ -72,7 +72,7 @@ public:
void setX(qint32 x);
void setY(qint32 y);
private slots:
private Q_SLOTS:
void slotDelayedStaticUpdate();
public:
......
......@@ -45,7 +45,7 @@ public:
void add(const QString &id, KisGeneratorSP item);
KisFilterConfiguration* cloneConfiguration(KisFilterConfiguration* kfc);
signals:
Q_SIGNALS:
void generatorAdded(QString id);
......
......@@ -73,7 +73,7 @@ public:
void connectBackwardVoid(QObject *sender, const char *signal,
QObject *receiver, const char *method);
private slots:
private Q_SLOTS:
void forwardSlotDouble(double value);
void backwardSlotDouble(double value);
......@@ -86,7 +86,7 @@ private slots:
void forwardSlotVoid();
void backwardSlotVoid();
signals:
Q_SIGNALS:
void forwardSignalDouble(double value);
void backwardSignalDouble(double value);
......
......@@ -105,7 +105,7 @@ public:
void setChannelFlags(const QBitArray & channelFlags);
public slots:
public Q_SLOTS:
/**
* gets this AdjustmentLayer. Overrides function in
* KisIndirectPaintingSupport
......
......@@ -415,7 +415,7 @@ protected:
virtual void baseNodeChangedCallback() {
}
signals:
Q_SIGNALS:
/**
* This signal is emitted when the visibility of the layer is changed with \ref setVisible.
......