summaryrefslogtreecommitdiffstats
path: root/kview/modules/scale
diff options
context:
space:
mode:
Diffstat (limited to 'kview/modules/scale')
-rw-r--r--kview/modules/scale/kfloatspinbox.cpp4
-rw-r--r--kview/modules/scale/kfloatspinbox.h2
-rw-r--r--kview/modules/scale/kview_scale.cpp6
-rw-r--r--kview/modules/scale/kview_scale.h2
-rw-r--r--kview/modules/scale/scaledlg.cpp8
-rw-r--r--kview/modules/scale/scaledlg.h2
6 files changed, 12 insertions, 12 deletions
diff --git a/kview/modules/scale/kfloatspinbox.cpp b/kview/modules/scale/kfloatspinbox.cpp
index 428dc2ee..6870a20b 100644
--- a/kview/modules/scale/kfloatspinbox.cpp
+++ b/kview/modules/scale/kfloatspinbox.cpp
@@ -37,8 +37,8 @@ int pow( int a, int b )
return ret;
}
-KFloatSpinBox::KFloatSpinBox( float minValue, float maxValue, float step, unsigned int precision, TQWidget * tqparent, const char * name )
- : TQSpinBox( tqparent, name )
+KFloatSpinBox::KFloatSpinBox( float minValue, float maxValue, float step, unsigned int precision, TQWidget * parent, const char * name )
+ : TQSpinBox( parent, name )
, m_doselection( true )
{
setRange( minValue, maxValue, step, precision );
diff --git a/kview/modules/scale/kfloatspinbox.h b/kview/modules/scale/kfloatspinbox.h
index 572fc952..5c8897c0 100644
--- a/kview/modules/scale/kfloatspinbox.h
+++ b/kview/modules/scale/kfloatspinbox.h
@@ -28,7 +28,7 @@ class KFloatSpinBox : public TQSpinBox
Q_OBJECT
TQ_OBJECT
public:
- KFloatSpinBox( float minValue, float maxValue, float step, unsigned int precision, TQWidget * tqparent = 0, const char * name = 0 );
+ KFloatSpinBox( float minValue, float maxValue, float step, unsigned int precision, TQWidget * parent = 0, const char * name = 0 );
virtual ~KFloatSpinBox();
void setRange( float minValue, float maxValue, float step, unsigned int precision );
diff --git a/kview/modules/scale/kview_scale.cpp b/kview/modules/scale/kview_scale.cpp
index 39cf9e37..95802df4 100644
--- a/kview/modules/scale/kview_scale.cpp
+++ b/kview/modules/scale/kview_scale.cpp
@@ -35,12 +35,12 @@
typedef KGenericFactory<KViewScale> KViewScaleFactory;
K_EXPORT_COMPONENT_FACTORY( kview_scale, KViewScaleFactory( "kview_scale" ) )
-KViewScale::KViewScale( TQObject* tqparent, const char* name, const TQStringList & )
- : Plugin( tqparent, name )
+KViewScale::KViewScale( TQObject* parent, const char* name, const TQStringList & )
+ : Plugin( parent, name )
, m_pViewer( 0 )
, m_pCanvas( 0 )
{
- m_pViewer = static_cast<KImageViewer::Viewer *>( tqparent );
+ m_pViewer = static_cast<KImageViewer::Viewer *>( parent );
if( m_pViewer )
{
kdDebug( 4630 ) << "m_pViewer->canvas() = " << m_pViewer->canvas() << endl;
diff --git a/kview/modules/scale/kview_scale.h b/kview/modules/scale/kview_scale.h
index 99417425..a3be4e48 100644
--- a/kview/modules/scale/kview_scale.h
+++ b/kview/modules/scale/kview_scale.h
@@ -33,7 +33,7 @@ class KViewScale : public KParts::Plugin
Q_OBJECT
TQ_OBJECT
public:
- KViewScale( TQObject* tqparent, const char* name, const TQStringList & );
+ KViewScale( TQObject* parent, const char* name, const TQStringList & );
virtual ~KViewScale();
private slots:
diff --git a/kview/modules/scale/scaledlg.cpp b/kview/modules/scale/scaledlg.cpp
index 8483f763..335ab1c9 100644
--- a/kview/modules/scale/scaledlg.cpp
+++ b/kview/modules/scale/scaledlg.cpp
@@ -37,8 +37,8 @@
#define ONEINCHINMM 2.54
-ScaleDlg::ScaleDlg( const TQSize & origsize, TQVBox * tqparent, const char * name )
- : TQObject( tqparent, name )
+ScaleDlg::ScaleDlg( const TQSize & origsize, TQVBox * parent, const char * name )
+ : TQObject( parent, name )
, m_origsize( origsize )
, m_newsizeunit( 0 )
, m_newsizeunit2( 0 )
@@ -48,8 +48,8 @@ ScaleDlg::ScaleDlg( const TQSize & origsize, TQVBox * tqparent, const char * nam
, m_resx( 72 )
, m_resy( 72 )
{
- TQGroupBox * pixelgroup = new TQGroupBox( i18n( "Pixel Dimensions" ), tqparent );
- TQGroupBox * printgroup = new TQGroupBox( i18n( "Print Size && Display Units" ), tqparent );
+ TQGroupBox * pixelgroup = new TQGroupBox( i18n( "Pixel Dimensions" ), parent );
+ TQGroupBox * printgroup = new TQGroupBox( i18n( "Print Size && Display Units" ), parent );
TQGridLayout * pixelgroupgrid = new TQGridLayout( pixelgroup, 1, 1,
KDialog::marginHint(), KDialog::spacingHint() );
diff --git a/kview/modules/scale/scaledlg.h b/kview/modules/scale/scaledlg.h
index 9c039d8c..dace8109 100644
--- a/kview/modules/scale/scaledlg.h
+++ b/kview/modules/scale/scaledlg.h
@@ -35,7 +35,7 @@ class ScaleDlg : public TQObject
Q_OBJECT
TQ_OBJECT
public:
- ScaleDlg( const TQSize & originalsize, TQVBox * tqparent, const char * name = 0 );
+ ScaleDlg( const TQSize & originalsize, TQVBox * parent, const char * name = 0 );
~ScaleDlg();
private slots: