summaryrefslogtreecommitdiffstats
path: root/krita/plugins/tools/tool_curves/tool_curves.cc
diff options
context:
space:
mode:
Diffstat (limited to 'krita/plugins/tools/tool_curves/tool_curves.cc')
-rw-r--r--krita/plugins/tools/tool_curves/tool_curves.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/krita/plugins/tools/tool_curves/tool_curves.cc b/krita/plugins/tools/tool_curves/tool_curves.cc
index bb4b2736..c25ed941 100644
--- a/krita/plugins/tools/tool_curves/tool_curves.cc
+++ b/krita/plugins/tools/tool_curves/tool_curves.cc
@@ -21,7 +21,7 @@
#include <stdlib.h>
#include <vector>
-#include <qpoint.h>
+#include <tqpoint.h>
#include <klocale.h>
#include <kiconloader.h>
@@ -45,14 +45,14 @@ typedef KGenericFactory<ToolCurves> ToolCurvesFactory;
K_EXPORT_COMPONENT_FACTORY( kritatoolcurves, ToolCurvesFactory( "krita" ) )
-ToolCurves::ToolCurves(QObject *parent, const char *name, const QStringList &)
- : KParts::Plugin(parent, name)
+ToolCurves::ToolCurves(TQObject *tqparent, const char *name, const TQStringList &)
+ : KParts::Plugin(tqparent, name)
{
setInstance(ToolCurvesFactory::instance());
- if ( parent->inherits("KisToolRegistry") )
+ if ( tqparent->inherits("KisToolRegistry") )
{
- KisToolRegistry * r = dynamic_cast<KisToolRegistry*>( parent );
+ KisToolRegistry * r = dynamic_cast<KisToolRegistry*>( tqparent );
r->add(new KisToolBezierPaintFactory());
r->add(new KisToolBezierSelectFactory());
r->add(new KisToolMagneticFactory());