summaryrefslogtreecommitdiffstats
path: root/krita/plugins/tools/tool_selectsimilar/selectsimilar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'krita/plugins/tools/tool_selectsimilar/selectsimilar.cc')
-rw-r--r--krita/plugins/tools/tool_selectsimilar/selectsimilar.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/krita/plugins/tools/tool_selectsimilar/selectsimilar.cc b/krita/plugins/tools/tool_selectsimilar/selectsimilar.cc
index fc6b0c41..2b1cb867 100644
--- a/krita/plugins/tools/tool_selectsimilar/selectsimilar.cc
+++ b/krita/plugins/tools/tool_selectsimilar/selectsimilar.cc
@@ -21,8 +21,8 @@
#include <stdlib.h>
-#include <qslider.h>
-#include <qpoint.h>
+#include <tqslider.h>
+#include <tqpoint.h>
#include <klocale.h>
#include <kiconloader.h>
@@ -41,14 +41,14 @@
typedef KGenericFactory<SelectSimilar> SelectSimilarFactory;
K_EXPORT_COMPONENT_FACTORY( kritatoolselectsimilar, SelectSimilarFactory( "krita" ) )
-SelectSimilar::SelectSimilar(QObject *parent, const char *name, const QStringList &)
- : KParts::Plugin(parent, name)
+SelectSimilar::SelectSimilar(TQObject *tqparent, const char *name, const TQStringList &)
+ : KParts::Plugin(tqparent, name)
{
setInstance(SelectSimilarFactory::instance());
- if ( parent->inherits("KisToolRegistry") )
+ if ( tqparent->inherits("KisToolRegistry") )
{
- KisToolRegistry * r = dynamic_cast<KisToolRegistry*>(parent);
+ KisToolRegistry * r = dynamic_cast<KisToolRegistry*>(tqparent);
r->add(new KisToolSelectSimilarFactory());
}
}