Commit c7f61f17 authored by Nishant Rodrigues's avatar Nishant Rodrigues

Rename *Autobrush* -> AutoBrush for consistency

parent 317f4413
......@@ -69,7 +69,7 @@ private Q_SLOTS:
void init();
// Autobrush
// AutoBrush
void pixelbrush300px();
void pixelbrush300pxRL();
......
......@@ -22,8 +22,8 @@ macro_add_unittest_definitions()
########### next target ###############
set(kis_auto_brush_test_SRCS kis_auto_brush_test.cpp )
kde4_add_unit_test(KisAutobrushTest TESTNAME krita-libbrush-KisAutobrushTest ${kis_auto_brush_test_SRCS})
target_link_libraries(KisAutobrushTest kritaimage kritalibbrush Qt5::Test)
kde4_add_unit_test(KisAutoBrushTest TESTNAME krita-libbrush-KisAutoBrushTest ${kis_auto_brush_test_SRCS})
target_link_libraries(KisAutoBrushTest kritaimage kritalibbrush Qt5::Test)
########### next target ###############
......
......@@ -131,7 +131,7 @@ private:
QScopedPointer<QColor> m_paintColor;
};
void FreehandStrokeTest::testAutobrushStroke()
void FreehandStrokeTest::testAutoBrushStroke()
{
FreehandStrokeTester tester("autobrush_300px.kpp");
tester.test();
......@@ -169,7 +169,7 @@ void FreehandStrokeTest::testMixDullCompositioning()
tester.test();
}
void FreehandStrokeTest::testAutobrushStrokeLod()
void FreehandStrokeTest::testAutoBrushStrokeLod()
{
FreehandStrokeTester tester("Basic_tip_default.kpp", true);
tester.testSimpleStroke();
......
......@@ -27,14 +27,14 @@ class FreehandStrokeTest : public QObject
Q_OBJECT
private Q_SLOTS:
void testAutobrushStroke();
void testAutoBrushStroke();
void testHatchingStroke();
void testColorSmudgeStroke();
void testAutoTextured17();
void testAutoTextured38();
void testMixDullCompositioning();
void testAutobrushStrokeLod();
void testAutoBrushStrokeLod();
void testPredefinedBrushStrokeLod();
};
......
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>KisWdgAutobrush</class>
<widget class="QWidget" name="KisWdgAutobrush">
<class>KisWdgAutoBrush</class>
<widget class="QWidget" name="KisWdgAutoBrush">
<property name="geometry">
<rect>
<x>0</x>
......
......@@ -43,7 +43,7 @@
#include <kis_cubic_curve.h>
KisAutoBrushWidget::KisAutoBrushWidget(QWidget *parent, const char* name)
: KisWdgAutobrush(parent, name)
: KisWdgAutoBrush(parent, name)
, m_autoBrush(0)
, m_updateCompressor(new KisSignalCompressor(100, KisSignalCompressor::FIRST_ACTIVE))
, m_fadeAspectLocker(new KisAspectRatioLocker())
......
......@@ -29,18 +29,18 @@ class KisSignalCompressor;
class KisAspectRatioLocker;
class PAINTOP_EXPORT KisWdgAutobrush : public QWidget, public Ui::KisWdgAutobrush
class PAINTOP_EXPORT KisWdgAutoBrush : public QWidget, public Ui::KisWdgAutoBrush
{
Q_OBJECT
public:
KisWdgAutobrush(QWidget *parent, const char *name) : QWidget(parent) {
KisWdgAutoBrush(QWidget *parent, const char *name) : QWidget(parent) {
setObjectName(name); setupUi(this);
}
};
class PAINTOP_EXPORT KisAutoBrushWidget : public KisWdgAutobrush
class PAINTOP_EXPORT KisAutoBrushWidget : public KisWdgAutoBrush
{
Q_OBJECT
......
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