summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins/colorrange
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /chalk/plugins/viewplugins/colorrange
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz
koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'chalk/plugins/viewplugins/colorrange')
-rw-r--r--chalk/plugins/viewplugins/colorrange/colorrange.cc8
-rw-r--r--chalk/plugins/viewplugins/colorrange/colorrange.h2
-rw-r--r--chalk/plugins/viewplugins/colorrange/dlg_colorrange.cc4
-rw-r--r--chalk/plugins/viewplugins/colorrange/dlg_colorrange.h4
4 files changed, 9 insertions, 9 deletions
diff --git a/chalk/plugins/viewplugins/colorrange/colorrange.cc b/chalk/plugins/viewplugins/colorrange/colorrange.cc
index 1bf90bbc..9a2ab407 100644
--- a/chalk/plugins/viewplugins/colorrange/colorrange.cc
+++ b/chalk/plugins/viewplugins/colorrange/colorrange.cc
@@ -50,14 +50,14 @@
typedef KGenericFactory<ColorRange> ColorRangeFactory;
K_EXPORT_COMPONENT_FACTORY( chalkcolorrange, ColorRangeFactory( "chalk" ) )
-ColorRange::ColorRange(TQObject *tqparent, const char *name, const TQStringList &)
- : KParts::Plugin(tqparent, name)
+ColorRange::ColorRange(TQObject *parent, const char *name, const TQStringList &)
+ : KParts::Plugin(parent, name)
{
- if (tqparent->inherits("KisView")) {
+ if (parent->inherits("KisView")) {
setInstance(ColorRangeFactory::instance());
setXMLFile(locate("data","chalkplugins/colorrange.rc"), true);
- m_view = dynamic_cast<KisView*>(tqparent);
+ m_view = dynamic_cast<KisView*>(parent);
m_view->canvasSubject()->selectionManager()->addSelectionAction( new KAction(i18n("&Color Range..."), 0, 0, this, TQT_SLOT(slotActivated()), actionCollection(), "colorrange") );
}
diff --git a/chalk/plugins/viewplugins/colorrange/colorrange.h b/chalk/plugins/viewplugins/colorrange/colorrange.h
index 38e008d9..2cedfe7c 100644
--- a/chalk/plugins/viewplugins/colorrange/colorrange.h
+++ b/chalk/plugins/viewplugins/colorrange/colorrange.h
@@ -30,7 +30,7 @@ class ColorRange : public KParts::Plugin
Q_OBJECT
TQ_OBJECT
public:
- ColorRange(TQObject *tqparent, const char *name, const TQStringList &);
+ ColorRange(TQObject *parent, const char *name, const TQStringList &);
virtual ~ColorRange();
private slots:
diff --git a/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cc b/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cc
index 22a82e55..1d2c4d61 100644
--- a/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cc
+++ b/chalk/plugins/viewplugins/colorrange/dlg_colorrange.cc
@@ -174,8 +174,8 @@ TQ_UINT32 matchColors(const TQColor & c, enumAction action)
-DlgColorRange::DlgColorRange( KisView * view, KisPaintDeviceSP dev, TQWidget * tqparent, const char * name)
- : super (tqparent, name, true, i18n("Color Range"), Ok | Cancel, Ok)
+DlgColorRange::DlgColorRange( KisView * view, KisPaintDeviceSP dev, TQWidget * parent, const char * name)
+ : super (parent, name, true, i18n("Color Range"), Ok | Cancel, Ok)
{
m_dev = dev;
m_view = view;
diff --git a/chalk/plugins/viewplugins/colorrange/dlg_colorrange.h b/chalk/plugins/viewplugins/colorrange/dlg_colorrange.h
index ce39ebd2..6ee21c7d 100644
--- a/chalk/plugins/viewplugins/colorrange/dlg_colorrange.h
+++ b/chalk/plugins/viewplugins/colorrange/dlg_colorrange.h
@@ -51,7 +51,7 @@ enum enumAction {
/**
- * This dialog allows the user to create a selection tqmask based
+ * This dialog allows the user to create a selection mask based
* on a (range of) colors.
*/
class DlgColorRange: public KDialogBase {
@@ -63,7 +63,7 @@ class DlgColorRange: public KDialogBase {
public:
- DlgColorRange(KisView * view, KisPaintDeviceSP layer, TQWidget * tqparent = 0, const char* name = 0);
+ DlgColorRange(KisView * view, KisPaintDeviceSP layer, TQWidget * parent = 0, const char* name = 0);
~DlgColorRange();
private slots: