diff options
Diffstat (limited to 'kview/modules/effects')
-rw-r--r-- | kview/modules/effects/kvieweffects.cpp | 6 | ||||
-rw-r--r-- | kview/modules/effects/kvieweffects.h | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/kview/modules/effects/kvieweffects.cpp b/kview/modules/effects/kvieweffects.cpp index a2e57327..c1ac49c2 100644 --- a/kview/modules/effects/kvieweffects.cpp +++ b/kview/modules/effects/kvieweffects.cpp @@ -24,15 +24,15 @@ typedef KGenericFactory<KViewEffects> KViewEffectsFactory; K_EXPORT_COMPONENT_FACTORY( kview_effectsplugin, KViewEffectsFactory( "kvieweffectsplugin" ) ) -KViewEffects::KViewEffects( TQObject* parent, const char* name, const TQStringList & ) - : Plugin( parent, name ) +KViewEffects::KViewEffects( TQObject* tqparent, const char* name, const TQStringList & ) + : Plugin( tqparent, name ) , m_gamma( 0.5 ), m_lastgamma( -1.0 ) , m_opacity( 50 ), m_lastopacity( -1 ) , m_intensity( 50 ), m_lastintensity( -1 ) , m_color( white ) , m_image( 0 ) { - TQObjectList * viewerList = parent->queryList( 0, "KImageViewer Part", false, false ); + TQObjectList * viewerList = tqparent->queryList( 0, "KImageViewer Part", false, false ); m_pViewer = static_cast<KImageViewer::Viewer *>( viewerList->getFirst() ); delete viewerList; if( m_pViewer ) diff --git a/kview/modules/effects/kvieweffects.h b/kview/modules/effects/kvieweffects.h index 821b99c8..43c1b16d 100644 --- a/kview/modules/effects/kvieweffects.h +++ b/kview/modules/effects/kvieweffects.h @@ -13,8 +13,9 @@ namespace KImageViewer { class Viewer; } class KViewEffects : public KParts::Plugin { Q_OBJECT + TQ_OBJECT public: - KViewEffects( TQObject* parent, const char* name, const TQStringList & ); + KViewEffects( TQObject* tqparent, const char* name, const TQStringList & ); virtual ~KViewEffects(); private slots: |