diff options
Diffstat (limited to 'krita/plugins/tools/tool_crop/tool_crop.cc')
-rw-r--r-- | krita/plugins/tools/tool_crop/tool_crop.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/krita/plugins/tools/tool_crop/tool_crop.cc b/krita/plugins/tools/tool_crop/tool_crop.cc index 542af31b..7090b713 100644 --- a/krita/plugins/tools/tool_crop/tool_crop.cc +++ b/krita/plugins/tools/tool_crop/tool_crop.cc @@ -20,7 +20,7 @@ #include <stdlib.h> #include <vector> -#include <qpoint.h> +#include <tqpoint.h> #include <klocale.h> #include <kiconloader.h> @@ -42,14 +42,14 @@ typedef KGenericFactory<ToolCrop> ToolCropFactory; K_EXPORT_COMPONENT_FACTORY( kritatoolcrop, ToolCropFactory( "krita" ) ) -ToolCrop::ToolCrop(QObject *parent, const char *name, const QStringList &) - : KParts::Plugin(parent, name) +ToolCrop::ToolCrop(TQObject *tqparent, const char *name, const TQStringList &) + : KParts::Plugin(tqparent, name) { setInstance(ToolCropFactory::instance()); - if ( parent->inherits("KisToolRegistry") ) + if ( tqparent->inherits("KisToolRegistry") ) { - KisToolRegistry * r = dynamic_cast<KisToolRegistry*>(parent); + KisToolRegistry * r = dynamic_cast<KisToolRegistry*>(tqparent); r->add(new KisToolCropFactory()); } |