summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins/rotateimage/rotateimage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/viewplugins/rotateimage/rotateimage.cc')
-rw-r--r--chalk/plugins/viewplugins/rotateimage/rotateimage.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/plugins/viewplugins/rotateimage/rotateimage.cc b/chalk/plugins/viewplugins/rotateimage/rotateimage.cc
index e8961cec..60d6f254 100644
--- a/chalk/plugins/viewplugins/rotateimage/rotateimage.cc
+++ b/chalk/plugins/viewplugins/rotateimage/rotateimage.cc
@@ -51,14 +51,14 @@ typedef KGenericFactory<RotateImage> RotateImageFactory;
K_EXPORT_COMPONENT_FACTORY( chalkrotateimage, RotateImageFactory( "chalk" ) )
// XXX: this plugin could also provide layer scaling/resizing
-RotateImage::RotateImage(TQObject *tqparent, const char *name, const TQStringList &)
- : KParts::Plugin(tqparent, name)
+RotateImage::RotateImage(TQObject *parent, const char *name, const TQStringList &)
+ : KParts::Plugin(parent, name)
{
- if ( tqparent->inherits("KisView") ) {
+ if ( parent->inherits("KisView") ) {
setInstance(RotateImageFactory::instance());
setXMLFile(locate("data","chalkplugins/rotateimage.rc"), true);
- m_view = (KisView*) tqparent;
+ m_view = (KisView*) parent;
(void) new KAction(i18n("&Rotate Image..."), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(slotRotateImage()), actionCollection(), "rotateimage");
(void) new KAction(i18n("Rotate Image CW"), "rotate_cw", 0, TQT_TQOBJECT(this), TQT_SLOT(slotRotateImage90()), actionCollection(), "rotateImageCW90");
(void) new KAction(i18n("Rotate Image 1&80"), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(slotRotateImage180()), actionCollection(), "rotateImage180");