diff options
Diffstat (limited to 'kpovmodeler/pmlineedits.cpp')
-rw-r--r-- | kpovmodeler/pmlineedits.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kpovmodeler/pmlineedits.cpp b/kpovmodeler/pmlineedits.cpp index 19391338..e6e350b6 100644 --- a/kpovmodeler/pmlineedits.cpp +++ b/kpovmodeler/pmlineedits.cpp @@ -19,8 +19,8 @@ #include <kmessagebox.h> #include <klocale.h> -PMFloatEdit::PMFloatEdit( TQWidget* parent, const char* name /*= 0*/ ) - : TQLineEdit( parent, name ) +PMFloatEdit::PMFloatEdit( TQWidget* tqparent, const char* name /*= 0*/ ) + : TQLineEdit( tqparent, name ) { m_bCheckLower = false; m_bCheckUpper = false; @@ -67,28 +67,28 @@ bool PMFloatEdit::isDataValid( ) if( m_bCheckLower && m_bCheckUpper ) KMessageBox::error( this, i18n( "Please enter a float value " "between %1 and %2" ) - .arg( m_lowerValue ).arg( m_upperValue ), + .tqarg( m_lowerValue ).tqarg( m_upperValue ), i18n( "Error" ) ); else if( m_bCheckLower ) { if( m_lowerOp == OpGreaterEqual ) KMessageBox::error( this, i18n( "Please enter a float value " - ">= %1" ).arg( m_lowerValue ), + ">= %1" ).tqarg( m_lowerValue ), i18n( "Error" ) ); else KMessageBox::error( this, i18n( "Please enter a float value " - "> %1" ).arg( m_lowerValue ), + "> %1" ).tqarg( m_lowerValue ), i18n( "Error" ) ); } else { if( m_upperOp == OpLessEqual ) KMessageBox::error( this, i18n( "Please enter a float value " - "<= %1" ).arg( m_upperValue ), + "<= %1" ).tqarg( m_upperValue ), i18n( "Error" ) ); else KMessageBox::error( this, i18n( "Please enter a float value " - "< %1" ).arg( m_upperValue ), + "< %1" ).tqarg( m_upperValue ), i18n( "Error" ) ); } } @@ -129,8 +129,8 @@ void PMFloatEdit::slotEditTextChanged( const TQString& /*t*/ ) -PMIntEdit::PMIntEdit( TQWidget* parent, const char* name /*= 0*/ ) - : TQLineEdit( parent, name ) +PMIntEdit::PMIntEdit( TQWidget* tqparent, const char* name /*= 0*/ ) + : TQLineEdit( tqparent, name ) { m_bCheckLower = false; m_bCheckUpper = false; @@ -183,15 +183,15 @@ bool PMIntEdit::isDataValid( ) if( m_bCheckLower && m_bCheckUpper ) KMessageBox::error( this, i18n( "Please enter an integer value " "between %1 and %2" ) - .arg( m_lowerValue ).arg( m_upperValue ), + .tqarg( m_lowerValue ).tqarg( m_upperValue ), i18n( "Error" ) ); else if( m_bCheckLower ) KMessageBox::error( this, i18n( "Please enter an integer value " - ">= %1" ).arg( m_lowerValue ), + ">= %1" ).tqarg( m_lowerValue ), i18n( "Error" ) ); else KMessageBox::error( this, i18n( "Please enter an integer value " - "<= %1" ).arg( m_upperValue ), + "<= %1" ).tqarg( m_upperValue ), i18n( "Error" ) ); } } |