Commit 7c75e931 authored by Halla Rempt's avatar Halla Rempt
Browse files

Use Q_SLOTS and Q_SIGNALS instead of slots and signals

parent 2208d61e
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment