Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1e8d02e856)
r14.1.x
Michele Calgaro 11 months ago
parent 6b648c7424
commit 7913867573
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -395,8 +395,8 @@ ToolStar::~ToolStar()
setInstance(ShearImageFactory::instance()); setInstance(ShearImageFactory::instance());
setXMLFile(locate("data","chalkplugins/shearimage.rc"), true); setXMLFile(locate("data","chalkplugins/shearimage.rc"), true);
(void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, SLOT(slotShearImage()), actionCollection(), "shearimage"); (void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, TQ_SLOT(slotShearImage()), actionCollection(), "shearimage");
(void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, SLOT(slotShearLayer()), actionCollection(), "shearlayer"); (void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, TQ_SLOT(slotShearLayer()), actionCollection(), "shearlayer");
m_view = (KisView*) parent; m_view = (KisView*) parent;
} }
@ -1102,7 +1102,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
"tool_star", "tool_star",
shortcut, shortcut,
this, this,
SLOT(activate()), TQ_SLOT(activate()),
collection, collection,
name()); name());
TQ_CHECK_PTR(m_action); TQ_CHECK_PTR(m_action);

@ -395,8 +395,8 @@ ToolStar::~ToolStar()
setInstance(ShearImageFactory::instance()); setInstance(ShearImageFactory::instance());
setXMLFile(locate("data","chalkplugins/shearimage.rc"), true); setXMLFile(locate("data","chalkplugins/shearimage.rc"), true);
(void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, SLOT(slotShearImage()), actionCollection(), "shearimage"); (void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, TQ_SLOT(slotShearImage()), actionCollection(), "shearimage");
(void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, SLOT(slotShearLayer()), actionCollection(), "shearlayer"); (void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, TQ_SLOT(slotShearLayer()), actionCollection(), "shearlayer");
m_view = (KisView*) parent; m_view = (KisView*) parent;
} }
@ -1102,7 +1102,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
"tool_star", "tool_star",
shortcut, shortcut,
this, this,
SLOT(activate()), TQ_SLOT(activate()),
collection, collection,
name()); name());
TQ_CHECK_PTR(m_action); TQ_CHECK_PTR(m_action);

@ -395,8 +395,8 @@ ToolStar::~ToolStar()
setInstance(ShearImageFactory::instance()); setInstance(ShearImageFactory::instance());
setXMLFile(locate("data","chalkplugins/shearimage.rc"), true); setXMLFile(locate("data","chalkplugins/shearimage.rc"), true);
(void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, SLOT(slotShearImage()), actionCollection(), "shearimage"); (void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, TQ_SLOT(slotShearImage()), actionCollection(), "shearimage");
(void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, SLOT(slotShearLayer()), actionCollection(), "shearlayer"); (void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, TQ_SLOT(slotShearLayer()), actionCollection(), "shearlayer");
m_view = (KisView*) parent; m_view = (KisView*) parent;
} }
@ -1100,7 +1100,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
"tool_star", "tool_star",
shortcut, shortcut,
this, this,
SLOT(activate()), TQ_SLOT(activate()),
collection, collection,
name()); name());
TQ_CHECK_PTR(m_action); TQ_CHECK_PTR(m_action);

@ -395,8 +395,8 @@ ToolStar::~ToolStar()
setInstance(ShearImageFactory::instance()); setInstance(ShearImageFactory::instance());
setXMLFile(locate("data","chalkplugins/shearimage.rc"), true); setXMLFile(locate("data","chalkplugins/shearimage.rc"), true);
(void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, SLOT(slotShearImage()), actionCollection(), "shearimage"); (void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, TQ_SLOT(slotShearImage()), actionCollection(), "shearimage");
(void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, SLOT(slotShearLayer()), actionCollection(), "shearlayer"); (void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, TQ_SLOT(slotShearLayer()), actionCollection(), "shearlayer");
m_view = (KisView*) parent; m_view = (KisView*) parent;
} }
@ -1102,7 +1102,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
"tool_star", "tool_star",
shortcut, shortcut,
this, this,
SLOT(activate()), TQ_SLOT(activate()),
collection, collection,
name()); name());
TQ_CHECK_PTR(m_action); TQ_CHECK_PTR(m_action);

@ -394,8 +394,8 @@ ToolStar::~ToolStar()
setInstance(ShearImageFactory::instance()); setInstance(ShearImageFactory::instance());
setXMLFile(locate("data","chalkplugins/shearimage.rc"), true); setXMLFile(locate("data","chalkplugins/shearimage.rc"), true);
(void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, SLOT(slotShearImage()), actionCollection(), "shearimage"); (void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, TQ_SLOT(slotShearImage()), actionCollection(), "shearimage");
(void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, SLOT(slotShearLayer()), actionCollection(), "shearlayer"); (void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, TQ_SLOT(slotShearLayer()), actionCollection(), "shearlayer");
m_view = (KisView*) parent; m_view = (KisView*) parent;
} }
@ -1103,7 +1103,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
"tool_star", "tool_star",
shortcut, shortcut,
this, this,
SLOT(activate()), TQ_SLOT(activate()),
collection, collection,
name()); name());
TQ_CHECK_PTR(m_action); TQ_CHECK_PTR(m_action);

@ -396,8 +396,8 @@ ToolStar::~ToolStar()
setInstance(ShearImageFactory::instance()); setInstance(ShearImageFactory::instance());
setXMLFile(locate("data","chalkplugins/shearimage.rc"), true); setXMLFile(locate("data","chalkplugins/shearimage.rc"), true);
(void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, SLOT(slotShearImage()), actionCollection(), "shearimage"); (void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, TQ_SLOT(slotShearImage()), actionCollection(), "shearimage");
(void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, SLOT(slotShearLayer()), actionCollection(), "shearlayer"); (void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, TQ_SLOT(slotShearLayer()), actionCollection(), "shearlayer");
m_view = (KisView*) parent; m_view = (KisView*) parent;
} }
@ -1103,7 +1103,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
"tool_star", "tool_star",
shortcut, shortcut,
this, this,
SLOT(activate()), TQ_SLOT(activate()),
collection, collection,
name()); name());
TQ_CHECK_PTR(m_action); TQ_CHECK_PTR(m_action);

@ -395,8 +395,8 @@ FerramentaEstrela::~FerramentaEstrela()
setInstance(ShearImageFactory::instance()); setInstance(ShearImageFactory::instance());
setXMLFile(locate("data","chalkplugins/shearimage.rc"), true); setXMLFile(locate("data","chalkplugins/shearimage.rc"), true);
(void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, SLOT(slotShearImage()), actionCollection(), "shearimage"); (void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, TQ_SLOT(slotShearImage()), actionCollection(), "shearimage");
(void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, SLOT(slotShearLayer()), actionCollection(), "shearlayer"); (void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, TQ_SLOT(slotShearLayer()), actionCollection(), "shearlayer");
m_vista = (KisView*) mae; m_vista = (KisView*) mae;
} }
@ -1102,7 +1102,7 @@ void KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento)
"ferramenta_estrela", "ferramenta_estrela",
atalho, atalho,
this, this,
SLOT(activate()), TQ_SLOT(activate()),
colleccao, colleccao,
name()); name());
TQ_CHECK_PTR(m_action); TQ_CHECK_PTR(m_action);

@ -395,8 +395,8 @@ FerramentaEstrela::~FerramentaEstrela()
setInstance(ShearImagefatory::instance()); setInstance(ShearImagefatory::instance());
setXMLFile(locate("data","chalkplugins/shearimage.rc"), true); setXMLFile(locate("data","chalkplugins/shearimage.rc"), true);
(void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, SLOT(slotShearImage()), actionCollection(), "shearimage"); (void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, TQ_SLOT(slotShearImage()), actionCollection(), "shearimage");
(void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, SLOT(slotShearLayer()), actionCollection(), "shearlayer"); (void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, TQ_SLOT(slotShearLayer()), actionCollection(), "shearlayer");
m_vista = (KisView*) mae; m_vista = (KisView*) mae;
} }
@ -1102,7 +1102,7 @@ void KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento)
"ferramenta_estrela", "ferramenta_estrela",
atalho, atalho,
this, this,
SLOT(activate()), TQ_SLOT(activate()),
colleccao, colleccao,
name()); name());
TQ_CHECK_PTR(m_action); TQ_CHECK_PTR(m_action);

@ -395,8 +395,8 @@ ToolStar::~ToolStar()
setInstance(ShearImageFactory::instance()); setInstance(ShearImageFactory::instance());
setXMLFile(locate("data","chalkplugins/shearimage.rc"), true); setXMLFile(locate("data","chalkplugins/shearimage.rc"), true);
(void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, SLOT(slotShearImage()), actionCollection(), "shearimage"); (void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, TQ_SLOT(slotShearImage()), actionCollection(), "shearimage");
(void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, SLOT(slotShearLayer()), actionCollection(), "shearlayer"); (void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, TQ_SLOT(slotShearLayer()), actionCollection(), "shearlayer");
m_view = (KisView*) parent; m_view = (KisView*) parent;
} }
@ -1102,7 +1102,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
"tool_star", "tool_star",
shortcut, shortcut,
this, this,
SLOT(activate()), TQ_SLOT(activate()),
collection, collection,
name()); name());
TQ_CHECK_PTR(m_action); TQ_CHECK_PTR(m_action);

Loading…
Cancel
Save