summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneyedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kmymoneyedit.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneyedit.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/widgets/kmymoneyedit.cpp b/kmymoney2/widgets/kmymoneyedit.cpp
index ad51606..59f4efd 100644
--- a/kmymoney2/widgets/kmymoneyedit.cpp
+++ b/kmymoney2/widgets/kmymoneyedit.cpp
@@ -42,14 +42,14 @@
#include "kmymoneycalculator.h"
#include "../mymoney/mymoneymoney.h"
-kMyMoneyMoneyValidator::kMyMoneyMoneyValidator(TQObject * tqparent, const char * name) :
- TQDoubleValidator(tqparent, name)
+kMyMoneyMoneyValidator::kMyMoneyMoneyValidator(TQObject * parent, const char * name) :
+ TQDoubleValidator(parent, name)
{
}
kMyMoneyMoneyValidator::kMyMoneyMoneyValidator( double bottom, double top, int decimals,
- TQObject * tqparent, const char * name ) :
- TQDoubleValidator(bottom, top, decimals, tqparent, name)
+ TQObject * parent, const char * name ) :
+ TQDoubleValidator(bottom, top, decimals, parent, name)
{
}
@@ -154,8 +154,8 @@ TQValidator::State kMyMoneyMoneyValidator::validate( TQString & input, int & _p
return rc;
}
-kMyMoneyEdit::kMyMoneyEdit(TQWidget *tqparent, const char *name, const int prec)
- : TQHBox(tqparent, name)
+kMyMoneyEdit::kMyMoneyEdit(TQWidget *parent, const char *name, const int prec)
+ : TQHBox(parent, name)
{
m_prec = prec;
if(prec < -1 || prec > 20)
@@ -163,8 +163,8 @@ kMyMoneyEdit::kMyMoneyEdit(TQWidget *tqparent, const char *name, const int prec)
init();
}
-kMyMoneyEdit::kMyMoneyEdit(const MyMoneySecurity& sec, TQWidget *tqparent, const char *name)
- : TQHBox(tqparent, name)
+kMyMoneyEdit::kMyMoneyEdit(const MyMoneySecurity& sec, TQWidget *parent, const char *name)
+ : TQHBox(parent, name)
{
m_prec = MyMoneyMoney::denomToPrec(sec.smallestAccountFraction());
init();