summaryrefslogtreecommitdiffstats
path: root/krita/plugins/tools/selectiontools/selection_tools.cc
diff options
context:
space:
mode:
Diffstat (limited to 'krita/plugins/tools/selectiontools/selection_tools.cc')
-rw-r--r--krita/plugins/tools/selectiontools/selection_tools.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/krita/plugins/tools/selectiontools/selection_tools.cc b/krita/plugins/tools/selectiontools/selection_tools.cc
index 1297aa31..cff97ea5 100644
--- a/krita/plugins/tools/selectiontools/selection_tools.cc
+++ b/krita/plugins/tools/selectiontools/selection_tools.cc
@@ -20,7 +20,7 @@
#include <stdlib.h>
#include <vector>
-#include <qpoint.h>
+#include <tqpoint.h>
#include <klocale.h>
#include <kiconloader.h>
@@ -51,14 +51,14 @@ typedef KGenericFactory<SelectionTools> SelectionToolsFactory;
K_EXPORT_COMPONENT_FACTORY( kritaselectiontools, SelectionToolsFactory( "krita" ) )
-SelectionTools::SelectionTools(QObject *parent, const char *name, const QStringList &)
- : KParts::Plugin(parent, name)
+SelectionTools::SelectionTools(TQObject *tqparent, const char *name, const TQStringList &)
+ : KParts::Plugin(tqparent, name)
{
setInstance(SelectionToolsFactory::instance());
- if ( parent->inherits("KisToolRegistry") )
+ if ( tqparent->inherits("KisToolRegistry") )
{
- KisToolRegistry * r = dynamic_cast<KisToolRegistry*>(parent);
+ KisToolRegistry * r = dynamic_cast<KisToolRegistry*>(tqparent);
r->add(new KisToolSelectOutlineFactory());
r->add(new KisToolSelectPolygonalFactory());
r->add(new KisToolSelectRectangularFactory());