summaryrefslogtreecommitdiffstats
path: root/kig/misc/kiginputdialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kig/misc/kiginputdialog.cc')
-rw-r--r--kig/misc/kiginputdialog.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/kig/misc/kiginputdialog.cc b/kig/misc/kiginputdialog.cc
index de8f691d..99e635b2 100644
--- a/kig/misc/kiginputdialog.cc
+++ b/kig/misc/kiginputdialog.cc
@@ -65,8 +65,8 @@ KigInputDialogPrivate::KigInputDialogPrivate()
}
KigInputDialog::KigInputDialog( const TQString& caption, const TQString& label,
- TQWidget* tqparent, const KigDocument& doc, Coordinate* c1, Coordinate* c2 )
- : KDialogBase( tqparent, "kigdialog", true, caption, Ok|Cancel, Cancel, true ),
+ TQWidget* parent, const KigDocument& doc, Coordinate* c1, Coordinate* c2 )
+ : KDialogBase( parent, "kigdialog", true, caption, Ok|Cancel, Cancel, true ),
d( new KigInputDialogPrivate() )
{
d->m_coord1 = c1 ? Coordinate( *c1 ) : Coordinate::invalidCoord();
@@ -121,8 +121,8 @@ KigInputDialog::KigInputDialog( const TQString& caption, const TQString& label,
enableButtonOK( ok );
}
-KigInputDialog::KigInputDialog( TQWidget* tqparent, const Goniometry& g )
- : KDialogBase( tqparent, "kigdialog", true, i18n( "Set Angle Size" ), Ok|Cancel, Cancel, true ),
+KigInputDialog::KigInputDialog( TQWidget* parent, const Goniometry& g )
+ : KDialogBase( parent, "kigdialog", true, i18n( "Set Angle Size" ), Ok|Cancel, Cancel, true ),
d( new KigInputDialogPrivate() )
{
d->m_gonio = g;
@@ -247,16 +247,16 @@ Goniometry KigInputDialog::goniometry() const
}
void KigInputDialog::getCoordinate( const TQString& caption, const TQString& label,
- TQWidget* tqparent, bool* ok, const KigDocument& doc, Coordinate* cvalue )
+ TQWidget* parent, bool* ok, const KigDocument& doc, Coordinate* cvalue )
{
- getTwoCoordinates( caption, label, tqparent, ok, doc, cvalue, 0 );
+ getTwoCoordinates( caption, label, parent, ok, doc, cvalue, 0 );
}
void KigInputDialog::getTwoCoordinates( const TQString& caption, const TQString& label,
- TQWidget* tqparent, bool* ok, const KigDocument& doc, Coordinate* cvalue,
+ TQWidget* parent, bool* ok, const KigDocument& doc, Coordinate* cvalue,
Coordinate* cvalue2 )
{
- KigInputDialog dlg( caption, label, tqparent, doc, cvalue, cvalue2 );
+ KigInputDialog dlg( caption, label, parent, doc, cvalue, cvalue2 );
*ok = ( dlg.exec() == Accepted );
@@ -273,9 +273,9 @@ void KigInputDialog::getTwoCoordinates( const TQString& caption, const TQString&
}
-Goniometry KigInputDialog::getAngle( TQWidget* tqparent, bool* ok, const Goniometry& g )
+Goniometry KigInputDialog::getAngle( TQWidget* parent, bool* ok, const Goniometry& g )
{
- KigInputDialog dlg( tqparent, g );
+ KigInputDialog dlg( parent, g );
*ok = ( dlg.exec() == Accepted );