diff options
Diffstat (limited to 'kmymoney2/dialogs')
115 files changed, 238 insertions, 238 deletions
diff --git a/kmymoney2/dialogs/investtransactioneditor.cpp b/kmymoney2/dialogs/investtransactioneditor.cpp index 6e777ca..92ea338 100644 --- a/kmymoney2/dialogs/investtransactioneditor.cpp +++ b/kmymoney2/dialogs/investtransactioneditor.cpp @@ -64,8 +64,8 @@ class InvestTransactionEditor::Private { friend class Invest::Activity; public: - Private(InvestTransactionEditor* tqparent) : - m_parent(tqparent), + Private(InvestTransactionEditor* parent) : + m_parent(parent), m_activity(0) { m_phonyAccount = MyMoneyAccount("Phony-ID", MyMoneyAccount()); diff --git a/kmymoney2/dialogs/kaccountselectdlg.cpp b/kmymoney2/dialogs/kaccountselectdlg.cpp index 48cef18..3a05481 100644 --- a/kmymoney2/dialogs/kaccountselectdlg.cpp +++ b/kmymoney2/dialogs/kaccountselectdlg.cpp @@ -48,8 +48,8 @@ #include <../kmymoney2.h> -KAccountSelectDlg::KAccountSelectDlg(const KMyMoneyUtils::categoryTypeE accountType, const TQString& purpose, TQWidget *tqparent, const char *name ) - : KAccountSelectDlgDecl(tqparent, name), +KAccountSelectDlg::KAccountSelectDlg(const KMyMoneyUtils::categoryTypeE accountType, const TQString& purpose, TQWidget *parent, const char *name ) + : KAccountSelectDlgDecl(parent, name), m_purpose(purpose), m_accountType(accountType), m_aborted(false) diff --git a/kmymoney2/dialogs/kaccountselectdlg.h b/kmymoney2/dialogs/kaccountselectdlg.h index 180587e..1b106df 100644 --- a/kmymoney2/dialogs/kaccountselectdlg.h +++ b/kmymoney2/dialogs/kaccountselectdlg.h @@ -49,7 +49,7 @@ class KAccountSelectDlg : public KAccountSelectDlgDecl Q_OBJECT TQ_OBJECT public: - KAccountSelectDlg(const KMyMoneyUtils::categoryTypeE type, const TQString& purpose = "General", TQWidget *tqparent=0, const char *name=0); + KAccountSelectDlg(const KMyMoneyUtils::categoryTypeE type, const TQString& purpose = "General", TQWidget *parent=0, const char *name=0); ~KAccountSelectDlg(); /** diff --git a/kmymoney2/dialogs/kbackupdlg.cpp b/kmymoney2/dialogs/kbackupdlg.cpp index d975e46..08e0cef 100644 --- a/kmymoney2/dialogs/kbackupdlg.cpp +++ b/kmymoney2/dialogs/kbackupdlg.cpp @@ -44,8 +44,8 @@ #include "kbackupdlg.h" -KBackupDlg::KBackupDlg( TQWidget* tqparent, const char* name/*, bool modal*/) - : kbackupdlgdecl( tqparent, name , true) +KBackupDlg::KBackupDlg( TQWidget* parent, const char* name/*, bool modal*/) + : kbackupdlgdecl( parent, name , true) { readConfig(); diff --git a/kmymoney2/dialogs/kbackupdlg.h b/kmymoney2/dialogs/kbackupdlg.h index be2e749..0705d93 100644 --- a/kmymoney2/dialogs/kbackupdlg.h +++ b/kmymoney2/dialogs/kbackupdlg.h @@ -38,7 +38,7 @@ protected slots: void chooseButtonClicked(); public: - KBackupDlg( TQWidget* tqparent, const char* name/*, bool modal*/); + KBackupDlg( TQWidget* parent, const char* name/*, bool modal*/); ~KBackupDlg(); }; diff --git a/kmymoney2/dialogs/kbalancechartdlg.cpp b/kmymoney2/dialogs/kbalancechartdlg.cpp index f1fcdda..85134da 100644 --- a/kmymoney2/dialogs/kbalancechartdlg.cpp +++ b/kmymoney2/dialogs/kbalancechartdlg.cpp @@ -52,8 +52,8 @@ #define KMM_KDCHART_PROPSET_NORMAL_DATA KDCHART_PROPSET_NORMAL_DATA #endif -KBalanceChartDlg::KBalanceChartDlg(const MyMoneyAccount& account, TQWidget* tqparent, const char* name) : - KDialog(tqparent, name) +KBalanceChartDlg::KBalanceChartDlg(const MyMoneyAccount& account, TQWidget* parent, const char* name) : + KDialog(parent, name) { #ifdef HAVE_KDCHART setCaption(i18n("Balance of %1").tqarg(account.name())); diff --git a/kmymoney2/dialogs/kbalancechartdlg.h b/kmymoney2/dialogs/kbalancechartdlg.h index afb1b1d..d7ff4a9 100644 --- a/kmymoney2/dialogs/kbalancechartdlg.h +++ b/kmymoney2/dialogs/kbalancechartdlg.h @@ -39,7 +39,7 @@ class KBalanceChartDlg : public KDialog Q_OBJECT TQ_OBJECT public: - KBalanceChartDlg(const MyMoneyAccount& account, TQWidget* tqparent = 0, const char* name = 0); + KBalanceChartDlg(const MyMoneyAccount& account, TQWidget* parent = 0, const char* name = 0); ~KBalanceChartDlg(); }; diff --git a/kmymoney2/dialogs/kbalancewarning.cpp b/kmymoney2/dialogs/kbalancewarning.cpp index f42be18..542b993 100644 --- a/kmymoney2/dialogs/kbalancewarning.cpp +++ b/kmymoney2/dialogs/kbalancewarning.cpp @@ -40,8 +40,8 @@ public: TQMap<TQString, bool> m_deselectedAccounts; }; -KBalanceWarning::KBalanceWarning(TQObject* tqparent, const char* name) : - TQObject(tqparent, name), +KBalanceWarning::KBalanceWarning(TQObject* parent, const char* name) : + TQObject(parent, name), d(new Private) { KMessageBox::enableMessage(d->dontShowAgain()); @@ -52,10 +52,10 @@ KBalanceWarning::~KBalanceWarning() delete d; } -void KBalanceWarning::slotShowMessage(TQWidget* tqparent, const MyMoneyAccount& account, const TQString& msg) +void KBalanceWarning::slotShowMessage(TQWidget* parent, const MyMoneyAccount& account, const TQString& msg) { if(d->m_deselectedAccounts.find(account.id()) == d->m_deselectedAccounts.end()) { - KMessageBox::information(tqparent, msg, TQString(), d->dontShowAgain()); + KMessageBox::information(parent, msg, TQString(), d->dontShowAgain()); if(!KMessageBox::shouldBeShownContinue(d->dontShowAgain())) { d->m_deselectedAccounts[account.id()] = true; KMessageBox::enableMessage(d->dontShowAgain()); diff --git a/kmymoney2/dialogs/kbalancewarning.h b/kmymoney2/dialogs/kbalancewarning.h index cb9848d..5466388 100644 --- a/kmymoney2/dialogs/kbalancewarning.h +++ b/kmymoney2/dialogs/kbalancewarning.h @@ -37,11 +37,11 @@ class KBalanceWarning : public TQObject Q_OBJECT TQ_OBJECT public: - KBalanceWarning(TQObject* tqparent, const char* name = 0); + KBalanceWarning(TQObject* parent, const char* name = 0); virtual ~KBalanceWarning(); public slots: - void slotShowMessage(TQWidget* tqparent, const MyMoneyAccount& account, const TQString& msg); + void slotShowMessage(TQWidget* parent, const MyMoneyAccount& account, const TQString& msg); private: class Private; diff --git a/kmymoney2/dialogs/kcategoryreassigndlg.cpp b/kmymoney2/dialogs/kcategoryreassigndlg.cpp index 3bead48..e0fb54d 100644 --- a/kmymoney2/dialogs/kcategoryreassigndlg.cpp +++ b/kmymoney2/dialogs/kcategoryreassigndlg.cpp @@ -36,8 +36,8 @@ #include <kmymoney/kmymoneyaccountselector.h> #include <kmymoney/kguiutils.h> -KCategoryReassignDlg::KCategoryReassignDlg( TQWidget* tqparent, const char* name) : - KCategoryReassignDlgDecl( tqparent, name) +KCategoryReassignDlg::KCategoryReassignDlg( TQWidget* parent, const char* name) : + KCategoryReassignDlgDecl( parent, name) { buttonOk->setGuiItem(KStdGuiItem::ok()); buttonCancel->setGuiItem(KStdGuiItem::cancel()); diff --git a/kmymoney2/dialogs/kcategoryreassigndlg.h b/kmymoney2/dialogs/kcategoryreassigndlg.h index 4639bd4..9880f07 100644 --- a/kmymoney2/dialogs/kcategoryreassigndlg.h +++ b/kmymoney2/dialogs/kcategoryreassigndlg.h @@ -42,7 +42,7 @@ class KCategoryReassignDlg : public KCategoryReassignDlgDecl TQ_OBJECT public: /** Default constructor */ - KCategoryReassignDlg( TQWidget* tqparent = 0, const char* name = 0); + KCategoryReassignDlg( TQWidget* parent = 0, const char* name = 0); /** Destructor */ ~KCategoryReassignDlg(); diff --git a/kmymoney2/dialogs/kchooseimportexportdlg.cpp b/kmymoney2/dialogs/kchooseimportexportdlg.cpp index 1038bf1..4a44fa3 100644 --- a/kmymoney2/dialogs/kchooseimportexportdlg.cpp +++ b/kmymoney2/dialogs/kchooseimportexportdlg.cpp @@ -33,8 +33,8 @@ #include "kchooseimportexportdlg.h" -KChooseImportExportDlg::KChooseImportExportDlg(int type, TQWidget *tqparent, const char *name ) - : KChooseImportExportDlgDecl(tqparent,name, true) +KChooseImportExportDlg::KChooseImportExportDlg(int type, TQWidget *parent, const char *name ) + : KChooseImportExportDlgDecl(parent,name, true) { TQString filename; diff --git a/kmymoney2/dialogs/kchooseimportexportdlg.h b/kmymoney2/dialogs/kchooseimportexportdlg.h index c93ba8b..83ba6b7 100644 --- a/kmymoney2/dialogs/kchooseimportexportdlg.h +++ b/kmymoney2/dialogs/kchooseimportexportdlg.h @@ -40,7 +40,7 @@ protected slots: void slotTypeActivated(const TQString& text); public: - KChooseImportExportDlg(int type, TQWidget *tqparent=0, const char *name=0); + KChooseImportExportDlg(int type, TQWidget *parent=0, const char *name=0); ~KChooseImportExportDlg(); TQString importExportType(void); }; diff --git a/kmymoney2/dialogs/kconfirmmanualenterdlg.cpp b/kmymoney2/dialogs/kconfirmmanualenterdlg.cpp index 8c1678f..0179721 100644 --- a/kmymoney2/dialogs/kconfirmmanualenterdlg.cpp +++ b/kmymoney2/dialogs/kconfirmmanualenterdlg.cpp @@ -36,8 +36,8 @@ #include <kmymoney/kmymoneyutils.h> #include "kconfirmmanualenterdlg.h" -KConfirmManualEnterDlg::KConfirmManualEnterDlg(const MyMoneySchedule& schedule, TQWidget* tqparent, const char* name) : - KConfirmManualEnterDlgDecl(tqparent, name) +KConfirmManualEnterDlg::KConfirmManualEnterDlg(const MyMoneySchedule& schedule, TQWidget* parent, const char* name) : + KConfirmManualEnterDlgDecl(parent, name) { buttonOk->setGuiItem(KStdGuiItem::ok()); buttonCancel->setGuiItem(KStdGuiItem::cancel()); diff --git a/kmymoney2/dialogs/kconfirmmanualenterdlg.h b/kmymoney2/dialogs/kconfirmmanualenterdlg.h index 95a0b9b..25bba1e 100644 --- a/kmymoney2/dialogs/kconfirmmanualenterdlg.h +++ b/kmymoney2/dialogs/kconfirmmanualenterdlg.h @@ -38,7 +38,7 @@ class KConfirmManualEnterDlg : public KConfirmManualEnterDlgDecl Q_OBJECT TQ_OBJECT public: - KConfirmManualEnterDlg(const MyMoneySchedule& schedule, TQWidget* tqparent = 0, const char* name = 0); + KConfirmManualEnterDlg(const MyMoneySchedule& schedule, TQWidget* parent = 0, const char* name = 0); typedef enum { UseOriginal = 0, diff --git a/kmymoney2/dialogs/kcsvprogressdlg.cpp b/kmymoney2/dialogs/kcsvprogressdlg.cpp index 7b923e7..2330a8a 100644 --- a/kmymoney2/dialogs/kcsvprogressdlg.cpp +++ b/kmymoney2/dialogs/kcsvprogressdlg.cpp @@ -47,8 +47,8 @@ #include "../kmymoneyutils.h" /** Simple constructor */ -KCsvProgressDlg::KCsvProgressDlg(int type, MyMoneyAccount *account, TQWidget *tqparent, const char *name ) - : KCsvProgressDlgDecl(tqparent,name, true) +KCsvProgressDlg::KCsvProgressDlg(int type, MyMoneyAccount *account, TQWidget *parent, const char *name ) + : KCsvProgressDlgDecl(parent,name, true) { m_nType = type; if (m_nType==0) diff --git a/kmymoney2/dialogs/kcsvprogressdlg.h b/kmymoney2/dialogs/kcsvprogressdlg.h index 20d6990..c1ba969 100644 --- a/kmymoney2/dialogs/kcsvprogressdlg.h +++ b/kmymoney2/dialogs/kcsvprogressdlg.h @@ -62,7 +62,7 @@ protected slots: void slotSetProgress(int progress); public: - KCsvProgressDlg(int type, MyMoneyAccount *account, TQWidget *tqparent=0, const char *name=0); + KCsvProgressDlg(int type, MyMoneyAccount *account, TQWidget *parent=0, const char *name=0); ~KCsvProgressDlg(); }; diff --git a/kmymoney2/dialogs/kcurrencycalculator.cpp b/kmymoney2/dialogs/kcurrencycalculator.cpp index 1b73ecd..2306816 100644 --- a/kmymoney2/dialogs/kcurrencycalculator.cpp +++ b/kmymoney2/dialogs/kcurrencycalculator.cpp @@ -111,8 +111,8 @@ bool KCurrencyCalculator::setupSplitPrice(MyMoneyMoney& shares, const MyMoneyTra return rc; } -KCurrencyCalculator::KCurrencyCalculator(const MyMoneySecurity& from, const MyMoneySecurity& to, const MyMoneyMoney& value, const MyMoneyMoney& shares, const TQDate& date, const signed64 resultFraction, TQWidget *tqparent, const char *name ) : - KCurrencyCalculatorDecl(tqparent, name), +KCurrencyCalculator::KCurrencyCalculator(const MyMoneySecurity& from, const MyMoneySecurity& to, const MyMoneyMoney& value, const MyMoneyMoney& shares, const TQDate& date, const signed64 resultFraction, TQWidget *parent, const char *name ) : + KCurrencyCalculatorDecl(parent, name), m_fromCurrency(from), m_toCurrency(to), m_result(shares.abs()), diff --git a/kmymoney2/dialogs/kcurrencycalculator.h b/kmymoney2/dialogs/kcurrencycalculator.h index 41cfed0..a4c4c24 100644 --- a/kmymoney2/dialogs/kcurrencycalculator.h +++ b/kmymoney2/dialogs/kcurrencycalculator.h @@ -54,12 +54,12 @@ public: * @param shares the number of foreign currency units * @param date the date when the conversion took place * @param resultFraction the smallest fraction of the result (default 100) - * @param tqparent see TQWidget constructor + * @param parent see TQWidget constructor * @param name see TQWidget constructor * * @note @p value must not be 0! */ - KCurrencyCalculator(const MyMoneySecurity& from, const MyMoneySecurity& to, const MyMoneyMoney& value, const MyMoneyMoney& shares, const TQDate& date, const signed64 resultFraction = 100, TQWidget *tqparent=0, const char *name=0); + KCurrencyCalculator(const MyMoneySecurity& from, const MyMoneySecurity& to, const MyMoneyMoney& value, const MyMoneyMoney& shares, const TQDate& date, const signed64 resultFraction = 100, TQWidget *parent=0, const char *name=0); ~KCurrencyCalculator(); const MyMoneyMoney price(void) const; diff --git a/kmymoney2/dialogs/kcurrencyeditdlg.cpp b/kmymoney2/dialogs/kcurrencyeditdlg.cpp index aad8f20..d902941 100644 --- a/kmymoney2/dialogs/kcurrencyeditdlg.cpp +++ b/kmymoney2/dialogs/kcurrencyeditdlg.cpp @@ -56,8 +56,8 @@ #include "../widgets/kmymoneypriceview.h" -KCurrencyEditDlg::KCurrencyEditDlg(TQWidget *tqparent, const char *name ) : - KCurrencyEditDlgDecl(tqparent,name) +KCurrencyEditDlg::KCurrencyEditDlg(TQWidget *parent, const char *name ) : + KCurrencyEditDlgDecl(parent,name) { m_currencyList->addColumn(i18n("Currency")); m_currencyList->header()->hide(); diff --git a/kmymoney2/dialogs/kcurrencyeditdlg.h b/kmymoney2/dialogs/kcurrencyeditdlg.h index 5a1e00f..d5a30fa 100644 --- a/kmymoney2/dialogs/kcurrencyeditdlg.h +++ b/kmymoney2/dialogs/kcurrencyeditdlg.h @@ -48,7 +48,7 @@ class KCurrencyEditDlg : public KCurrencyEditDlgDecl Q_OBJECT TQ_OBJECT public: - KCurrencyEditDlg(TQWidget *tqparent=0, const char *name=0); + KCurrencyEditDlg(TQWidget *parent=0, const char *name=0); ~KCurrencyEditDlg(); public slots: diff --git a/kmymoney2/dialogs/keditequityentrydlg.cpp b/kmymoney2/dialogs/keditequityentrydlg.cpp index ef9ed84..3eed5e6 100644 --- a/kmymoney2/dialogs/keditequityentrydlg.cpp +++ b/kmymoney2/dialogs/keditequityentrydlg.cpp @@ -40,8 +40,8 @@ #include "kupdatestockpricedlg.h" #include "../widgets/kmymoneypriceview.h" -KEditEquityEntryDlg::KEditEquityEntryDlg(const MyMoneySecurity& selectedSecurity, TQWidget *tqparent, const char *name) - : KEditEquityEntryDecl(tqparent, name, true) +KEditEquityEntryDlg::KEditEquityEntryDlg(const MyMoneySecurity& selectedSecurity, TQWidget *parent, const char *name) + : KEditEquityEntryDecl(parent, name, true) { m_selectedSecurity = selectedSecurity; diff --git a/kmymoney2/dialogs/keditequityentrydlg.h b/kmymoney2/dialogs/keditequityentrydlg.h index ae9dc58..c9fc34c 100644 --- a/kmymoney2/dialogs/keditequityentrydlg.h +++ b/kmymoney2/dialogs/keditequityentrydlg.h @@ -49,7 +49,7 @@ class KEditEquityEntryDlg : public KEditEquityEntryDecl Q_OBJECT TQ_OBJECT public: - KEditEquityEntryDlg(const MyMoneySecurity& selectedSecurity, TQWidget *tqparent = NULL, const char *name = NULL); + KEditEquityEntryDlg(const MyMoneySecurity& selectedSecurity, TQWidget *parent = NULL, const char *name = NULL); ~KEditEquityEntryDlg(); void updatedEquity(MyMoneySecurity& security) { security = m_selectedSecurity; } diff --git a/kmymoney2/dialogs/keditloanwizard.cpp b/kmymoney2/dialogs/keditloanwizard.cpp index 7fda8bc..89b2f90 100644 --- a/kmymoney2/dialogs/keditloanwizard.cpp +++ b/kmymoney2/dialogs/keditloanwizard.cpp @@ -48,8 +48,8 @@ #include "../mymoney/mymoneyfile.h" #include "../kmymoneyutils.h" -KEditLoanWizard::KEditLoanWizard(const MyMoneyAccount& account, TQWidget *tqparent, const char *name ) : - KNewLoanWizard(tqparent, name) +KEditLoanWizard::KEditLoanWizard(const MyMoneyAccount& account, TQWidget *parent, const char *name ) : + KNewLoanWizard(parent, name) { MyMoneyFile* file = MyMoneyFile::instance(); diff --git a/kmymoney2/dialogs/keditloanwizard.h b/kmymoney2/dialogs/keditloanwizard.h index f2efbdf..252bbd0 100644 --- a/kmymoney2/dialogs/keditloanwizard.h +++ b/kmymoney2/dialogs/keditloanwizard.h @@ -46,7 +46,7 @@ class KEditLoanWizard : public KNewLoanWizard Q_OBJECT TQ_OBJECT public: - KEditLoanWizard(const MyMoneyAccount& account, TQWidget *tqparent=0, const char *name=0); + KEditLoanWizard(const MyMoneyAccount& account, TQWidget *parent=0, const char *name=0); ~KEditLoanWizard(); /** diff --git a/kmymoney2/dialogs/keditscheduledlg.cpp b/kmymoney2/dialogs/keditscheduledlg.cpp index 42fc31e..c6ece41 100644 --- a/kmymoney2/dialogs/keditscheduledlg.cpp +++ b/kmymoney2/dialogs/keditscheduledlg.cpp @@ -60,8 +60,8 @@ public: kMandatoryFieldGroup* m_requiredFields; }; -KEditScheduleDlg::KEditScheduleDlg(const MyMoneySchedule& schedule, TQWidget *tqparent, const char *name) : - KEditScheduleDlgDecl(tqparent, name, true), +KEditScheduleDlg::KEditScheduleDlg(const MyMoneySchedule& schedule, TQWidget *parent, const char *name) : + KEditScheduleDlgDecl(parent, name, true), d(new Private) { d->m_schedule = schedule; @@ -197,7 +197,7 @@ TransactionEditor* KEditScheduleDlg::startEdit(void) connect(editor, TQT_SIGNAL(createSecurity(MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQT_SLOT(slotInvestmentNew(MyMoneyAccount&, const MyMoneyAccount&))); connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), editor, TQT_SLOT(slotReloadEditWidgets())); - // create the widgets, place them in the tqparent and load them with data + // create the widgets, place them in the parent and load them with data // setup tab order d->m_tabOrderWidgets.clear(); KMyMoneyRegister::Action action = KMyMoneyRegister::ActionWithdrawal; @@ -395,7 +395,7 @@ bool KEditScheduleDlg::focusNextPrevChild(bool next) w = tqApp->tqfocusWidget(); while(w && d->m_tabOrderWidgets.find(w) == -1) { - // qDebug("'%s' not in list, use tqparent", w->className()); + // qDebug("'%s' not in list, use parent", w->className()); w = w->parentWidget(); } // if(w) qDebug("tab order is at '%s'", w->className()); diff --git a/kmymoney2/dialogs/keditscheduledlg.h b/kmymoney2/dialogs/keditscheduledlg.h index db80aea..e00069e 100644 --- a/kmymoney2/dialogs/keditscheduledlg.h +++ b/kmymoney2/dialogs/keditscheduledlg.h @@ -45,7 +45,7 @@ public: /** * Standard TQWidget constructor. **/ - KEditScheduleDlg(const MyMoneySchedule& schedule, TQWidget *tqparent=0, const char *name=0); + KEditScheduleDlg(const MyMoneySchedule& schedule, TQWidget *parent=0, const char *name=0); /** * Standard destructor. diff --git a/kmymoney2/dialogs/kendingbalancedlg.cpp b/kmymoney2/dialogs/kendingbalancedlg.cpp index 05b2896..9aeb0e1 100644 --- a/kmymoney2/dialogs/kendingbalancedlg.cpp +++ b/kmymoney2/dialogs/kendingbalancedlg.cpp @@ -58,8 +58,8 @@ public: TQMap<TQWidget*, TQString> m_helpAnchor; }; -KEndingBalanceDlg::KEndingBalanceDlg(const MyMoneyAccount& account, TQWidget *tqparent, const char *name) : - KEndingBalanceDlgDecl(tqparent, name, true), +KEndingBalanceDlg::KEndingBalanceDlg(const MyMoneyAccount& account, TQWidget *parent, const char *name) : + KEndingBalanceDlgDecl(parent, name, true), d(new Private) { TQString value; @@ -246,12 +246,12 @@ void KEndingBalanceDlg::slotCreateChargesCategory(const TQString& txt, TQString& createCategory(txt, id, MyMoneyFile::instance()->expense()); } -void KEndingBalanceDlg::createCategory(const TQString& txt, TQString& id, const MyMoneyAccount& tqparent) +void KEndingBalanceDlg::createCategory(const TQString& txt, TQString& id, const MyMoneyAccount& parent) { MyMoneyAccount acc; acc.setName(txt); - emit createCategory(acc, tqparent); + emit createCategory(acc, parent); id = acc.id(); } @@ -380,8 +380,8 @@ void KEndingBalanceDlg::help(void) kapp->invokeHelp(anchor); } -KEndingBalanceLoanDlg::KEndingBalanceLoanDlg(const MyMoneyAccount& account, TQWidget *tqparent, const char *name) : - KEndingBalanceDlgDecl(tqparent, name, true), +KEndingBalanceLoanDlg::KEndingBalanceLoanDlg(const MyMoneyAccount& account, TQWidget *parent, const char *name) : + KEndingBalanceDlgDecl(parent, name, true), d(new Private) { d->m_account = account; diff --git a/kmymoney2/dialogs/kendingbalancedlg.h b/kmymoney2/dialogs/kendingbalancedlg.h index 67a1098..5bb6831 100644 --- a/kmymoney2/dialogs/kendingbalancedlg.h +++ b/kmymoney2/dialogs/kendingbalancedlg.h @@ -53,7 +53,7 @@ class KEndingBalanceDlg : public KEndingBalanceDlgDecl Q_OBJECT TQ_OBJECT public: - KEndingBalanceDlg(const MyMoneyAccount& account, TQWidget *tqparent=0, const char *name=0); + KEndingBalanceDlg(const MyMoneyAccount& account, TQWidget *parent=0, const char *name=0); ~KEndingBalanceDlg(); const MyMoneyMoney endingBalance(void) const; @@ -66,7 +66,7 @@ public: protected: bool createTransaction(MyMoneyTransaction& t, const int sign, kMyMoneyEdit *amountEdit, KMyMoneyCategory *categoryEdit, kMyMoneyDateInput* dateEdit); const MyMoneyMoney adjustedReturnValue(const MyMoneyMoney& v) const; - void createCategory(const TQString& txt, TQString& id, const MyMoneyAccount& tqparent); + void createCategory(const TQString& txt, TQString& id, const MyMoneyAccount& parent); protected slots: void slotCheckPageFinished(void); @@ -86,7 +86,7 @@ signals: /** * emit when a category is about to be created */ - void createCategory(MyMoneyAccount& acc, const MyMoneyAccount& tqparent); + void createCategory(MyMoneyAccount& acc, const MyMoneyAccount& parent); private: /// \internal d-pointer class. @@ -105,7 +105,7 @@ class KEndingBalanceLoanDlg : public KEndingBalanceDlgDecl Q_OBJECT TQ_OBJECT public: - KEndingBalanceLoanDlg(const MyMoneyAccount& account, TQWidget *tqparent=0, const char *name=0); + KEndingBalanceLoanDlg(const MyMoneyAccount& account, TQWidget *parent=0, const char *name=0); ~KEndingBalanceLoanDlg(); /** diff --git a/kmymoney2/dialogs/kenterscheduledlg.cpp b/kmymoney2/dialogs/kenterscheduledlg.cpp index 58d2e25..4c078f1 100644 --- a/kmymoney2/dialogs/kenterscheduledlg.cpp +++ b/kmymoney2/dialogs/kenterscheduledlg.cpp @@ -62,8 +62,8 @@ public: KMyMoneyUtils::EnterScheduleResultCodeE m_extendedReturnCode; }; -KEnterScheduleDlg::KEnterScheduleDlg(TQWidget *tqparent, const MyMoneySchedule& schedule) : - KEnterScheduleDlgDecl(tqparent, "kenterscheduledlg"), +KEnterScheduleDlg::KEnterScheduleDlg(TQWidget *parent, const MyMoneySchedule& schedule) : + KEnterScheduleDlgDecl(parent, "kenterscheduledlg"), d(new Private) { d->m_schedule = schedule; @@ -217,7 +217,7 @@ TransactionEditor* KEnterScheduleDlg::startEdit(void) connect(editor, TQT_SIGNAL(createSecurity(MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQT_SLOT(slotInvestmentNew(MyMoneyAccount&, const MyMoneyAccount&))); connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), editor, TQT_SLOT(slotReloadEditWidgets())); - // create the widgets, place them in the tqparent and load them with data + // create the widgets, place them in the parent and load them with data // setup tab order d->m_tabOrderWidgets.clear(); KMyMoneyRegister::Action action = KMyMoneyRegister::ActionWithdrawal; @@ -291,7 +291,7 @@ bool KEnterScheduleDlg::focusNextPrevChild(bool next) w = tqApp->tqfocusWidget(); while(w && d->m_tabOrderWidgets.find(w) == -1) { - // qDebug("'%s' not in list, use tqparent", w->className()); + // qDebug("'%s' not in list, use parent", w->className()); w = w->parentWidget(); } // if(w) qDebug("tab order is at '%s'", w->className()); diff --git a/kmymoney2/dialogs/kenterscheduledlg.h b/kmymoney2/dialogs/kenterscheduledlg.h index 8f45d75..c3d670a 100644 --- a/kmymoney2/dialogs/kenterscheduledlg.h +++ b/kmymoney2/dialogs/kenterscheduledlg.h @@ -41,7 +41,7 @@ class KEnterScheduleDlg : public KEnterScheduleDlgDecl Q_OBJECT TQ_OBJECT public: - KEnterScheduleDlg(TQWidget *tqparent, const MyMoneySchedule& schedule); + KEnterScheduleDlg(TQWidget *parent, const MyMoneySchedule& schedule); ~KEnterScheduleDlg(); TransactionEditor* startEdit(void); diff --git a/kmymoney2/dialogs/kequitypriceupdatedlg.cpp b/kmymoney2/dialogs/kequitypriceupdatedlg.cpp index ede8f88..4121abd 100644 --- a/kmymoney2/dialogs/kequitypriceupdatedlg.cpp +++ b/kmymoney2/dialogs/kequitypriceupdatedlg.cpp @@ -61,8 +61,8 @@ #define ID_COL 4 #define SOURCE_COL 5 -KEquityPriceUpdateDlg::KEquityPriceUpdateDlg(TQWidget *tqparent, const TQString& securityId) : - KEquityPriceUpdateDlgDecl(tqparent), +KEquityPriceUpdateDlg::KEquityPriceUpdateDlg(TQWidget *parent, const TQString& securityId) : + KEquityPriceUpdateDlgDecl(parent), m_fUpdateAll(false) { lvEquityList->setRootIsDecorated(false); diff --git a/kmymoney2/dialogs/kequitypriceupdatedlg.h b/kmymoney2/dialogs/kequitypriceupdatedlg.h index a5a0bac..ecc8030 100644 --- a/kmymoney2/dialogs/kequitypriceupdatedlg.h +++ b/kmymoney2/dialogs/kequitypriceupdatedlg.h @@ -53,7 +53,7 @@ class KEquityPriceUpdateDlg : public KEquityPriceUpdateDlgDecl Q_OBJECT TQ_OBJECT public: - KEquityPriceUpdateDlg(TQWidget *tqparent, const TQString& securityId = TQString()); + KEquityPriceUpdateDlg(TQWidget *parent, const TQString& securityId = TQString()); ~KEquityPriceUpdateDlg(); void storePrices(void); MyMoneyPrice price(const TQString& id) const; diff --git a/kmymoney2/dialogs/kexportdlg.cpp b/kmymoney2/dialogs/kexportdlg.cpp index a0b5743..3332c0d 100644 --- a/kmymoney2/dialogs/kexportdlg.cpp +++ b/kmymoney2/dialogs/kexportdlg.cpp @@ -45,8 +45,8 @@ #include "../widgets/kmymoneyaccountcombo.h" #include "../kmymoneyutils.h" -KExportDlg::KExportDlg(TQWidget *tqparent) - : KExportDlgDecl(tqparent, 0, true) +KExportDlg::KExportDlg(TQWidget *parent) + : KExportDlgDecl(parent, 0, true) { // Set (almost) all the last used options readConfig(); diff --git a/kmymoney2/dialogs/kexportdlg.h b/kmymoney2/dialogs/kexportdlg.h index 9afca12..8fdcf1f 100644 --- a/kmymoney2/dialogs/kexportdlg.h +++ b/kmymoney2/dialogs/kexportdlg.h @@ -58,7 +58,7 @@ class KExportDlg : public KExportDlgDecl TQ_OBJECT public: - KExportDlg(TQWidget *tqparent); + KExportDlg(TQWidget *parent); ~KExportDlg(); /** diff --git a/kmymoney2/dialogs/kfindtransactiondlg.cpp b/kmymoney2/dialogs/kfindtransactiondlg.cpp index 5c7a789..c97e32e 100644 --- a/kmymoney2/dialogs/kfindtransactiondlg.cpp +++ b/kmymoney2/dialogs/kfindtransactiondlg.cpp @@ -56,8 +56,8 @@ #include "ksortoptiondlg.h" -KFindTransactionDlg::KFindTransactionDlg(TQWidget *tqparent, const char *name) : - KFindTransactionDlgDecl(tqparent, name, false), +KFindTransactionDlg::KFindTransactionDlg(TQWidget *parent, const char *name) : + KFindTransactionDlgDecl(parent, name, false), m_needReload(false) { m_register->installEventFilter(this); diff --git a/kmymoney2/dialogs/kfindtransactiondlg.h b/kmymoney2/dialogs/kfindtransactiondlg.h index bd0cb7a..c40cb40 100644 --- a/kmymoney2/dialogs/kfindtransactiondlg.h +++ b/kmymoney2/dialogs/kfindtransactiondlg.h @@ -78,7 +78,7 @@ public: dateOptionCount }; */ - KFindTransactionDlg(TQWidget *tqparent=0, const char *name=0); + KFindTransactionDlg(TQWidget *parent=0, const char *name=0); ~KFindTransactionDlg() {} virtual bool eventFilter( TQObject *o, TQEvent *e ); diff --git a/kmymoney2/dialogs/kgncimportoptionsdlg.cpp b/kmymoney2/dialogs/kgncimportoptionsdlg.cpp index 9aaf5b6..40f47d8 100644 --- a/kmymoney2/dialogs/kgncimportoptionsdlg.cpp +++ b/kmymoney2/dialogs/kgncimportoptionsdlg.cpp @@ -35,8 +35,8 @@ #include "kgncimportoptionsdlg.h" // dialog constructor -KGncImportOptionsDlg::KGncImportOptionsDlg(TQWidget *tqparent, const char *name) - : KGncImportOptionsDlgDecl(tqparent, name) +KGncImportOptionsDlg::KGncImportOptionsDlg(TQWidget *parent, const char *name) + : KGncImportOptionsDlgDecl(parent, name) { buttonInvestGroup->setRadioButtonExclusive (true); buttonInvestGroup->setButton (0); diff --git a/kmymoney2/dialogs/kgncimportoptionsdlg.h b/kmymoney2/dialogs/kgncimportoptionsdlg.h index 787bd8b..1c682c0 100644 --- a/kmymoney2/dialogs/kgncimportoptionsdlg.h +++ b/kmymoney2/dialogs/kgncimportoptionsdlg.h @@ -44,7 +44,7 @@ class KGncImportOptionsDlg : public KGncImportOptionsDlgDecl Q_OBJECT TQ_OBJECT public: - KGncImportOptionsDlg(TQWidget *tqparent = 0, const char *name = 0); + KGncImportOptionsDlg(TQWidget *parent = 0, const char *name = 0); ~KGncImportOptionsDlg(); int investmentOption () const {return (buttonInvestGroup->selectedId());}; diff --git a/kmymoney2/dialogs/kgncpricesourcedlg.cpp b/kmymoney2/dialogs/kgncpricesourcedlg.cpp index 5058d5b..8c807f3 100644 --- a/kmymoney2/dialogs/kgncpricesourcedlg.cpp +++ b/kmymoney2/dialogs/kgncpricesourcedlg.cpp @@ -36,8 +36,8 @@ #include "kgncpricesourcedlg.h" #include "../converter/webpricequote.h" -KGncPriceSourceDlg::KGncPriceSourceDlg(TQWidget *tqparent, const char *name) - : KGncPriceSourceDlgDecl(tqparent, name) +KGncPriceSourceDlg::KGncPriceSourceDlg(TQWidget *parent, const char *name) + : KGncPriceSourceDlgDecl(parent, name) { } KGncPriceSourceDlg::KGncPriceSourceDlg(const TQString &stockName, const TQString &gncSource){ diff --git a/kmymoney2/dialogs/kgncpricesourcedlg.h b/kmymoney2/dialogs/kgncpricesourcedlg.h index 1d2eac6..4550240 100644 --- a/kmymoney2/dialogs/kgncpricesourcedlg.h +++ b/kmymoney2/dialogs/kgncpricesourcedlg.h @@ -36,7 +36,7 @@ class KGncPriceSourceDlg : public KGncPriceSourceDlgDecl Q_OBJECT TQ_OBJECT public: - KGncPriceSourceDlg(TQWidget *tqparent = 0, const char *name = 0); + KGncPriceSourceDlg(TQWidget *parent = 0, const char *name = 0); KGncPriceSourceDlg(const TQString &stockName, const TQString &gncSource); ~KGncPriceSourceDlg(); diff --git a/kmymoney2/dialogs/kgpgkeyselectiondlg.cpp b/kmymoney2/dialogs/kgpgkeyselectiondlg.cpp index 38ff094..03bdff4 100644 --- a/kmymoney2/dialogs/kgpgkeyselectiondlg.cpp +++ b/kmymoney2/dialogs/kgpgkeyselectiondlg.cpp @@ -34,8 +34,8 @@ #include "kgpgkeyselectiondlg.h" #include <kmymoney/kgpgfile.h> -KGpgKeySelectionDlg::KGpgKeySelectionDlg(TQWidget *tqparent, const char *name) : - KDialogBase(tqparent, name, true, i18n("Select additional keys"), Ok | Cancel), +KGpgKeySelectionDlg::KGpgKeySelectionDlg(TQWidget *parent, const char *name) : + KDialogBase(parent, name, true, i18n("Select additional keys"), Ok | Cancel), m_needCheckList(true), m_listOk(false), m_checkCount(0) diff --git a/kmymoney2/dialogs/kgpgkeyselectiondlg.h b/kmymoney2/dialogs/kgpgkeyselectiondlg.h index 35b86b4..83536a2 100644 --- a/kmymoney2/dialogs/kgpgkeyselectiondlg.h +++ b/kmymoney2/dialogs/kgpgkeyselectiondlg.h @@ -39,7 +39,7 @@ class KGpgKeySelectionDlg : public KDialogBase TQ_OBJECT public: - KGpgKeySelectionDlg(TQWidget *tqparent=0, const char *name=0); + KGpgKeySelectionDlg(TQWidget *parent=0, const char *name=0); virtual ~KGpgKeySelectionDlg() {} /** diff --git a/kmymoney2/dialogs/kimportdlg.cpp b/kmymoney2/dialogs/kimportdlg.cpp index 4a1b591..72a7452 100644 --- a/kmymoney2/dialogs/kimportdlg.cpp +++ b/kmymoney2/dialogs/kimportdlg.cpp @@ -51,8 +51,8 @@ #include "mymoneyqifprofileeditor.h" #include "../converter/mymoneyqifprofile.h" -KImportDlg::KImportDlg(TQWidget *tqparent, const char * name) - : KImportDlgDecl(tqparent, name, TRUE) +KImportDlg::KImportDlg(TQWidget *parent, const char * name) + : KImportDlgDecl(parent, name, TRUE) { // Set all the last used options readConfig(); diff --git a/kmymoney2/dialogs/kimportdlg.h b/kmymoney2/dialogs/kimportdlg.h index 119d77d..5c3d068 100644 --- a/kmymoney2/dialogs/kimportdlg.h +++ b/kmymoney2/dialogs/kimportdlg.h @@ -60,7 +60,7 @@ public: /** * Standard constructor */ - KImportDlg(TQWidget *tqparent, const char *name = 0); + KImportDlg(TQWidget *parent, const char *name = 0); /** Standard destructor */ ~KImportDlg(); diff --git a/kmymoney2/dialogs/kloadtemplatedlg.cpp b/kmymoney2/dialogs/kloadtemplatedlg.cpp index 3666281..ed075b4 100644 --- a/kmymoney2/dialogs/kloadtemplatedlg.cpp +++ b/kmymoney2/dialogs/kloadtemplatedlg.cpp @@ -33,8 +33,8 @@ #include "kloadtemplatedlg.h" #include "../widgets/kaccounttemplateselector.h" -KLoadTemplateDlg::KLoadTemplateDlg(TQWidget* tqparent, const char* name) : - KLoadTemplateDlgDecl(tqparent, name) +KLoadTemplateDlg::KLoadTemplateDlg(TQWidget* parent, const char* name) : + KLoadTemplateDlgDecl(parent, name) { buttonOk->setGuiItem(KStdGuiItem::ok()); buttonCancel->setGuiItem(KStdGuiItem::cancel()); diff --git a/kmymoney2/dialogs/kloadtemplatedlg.h b/kmymoney2/dialogs/kloadtemplatedlg.h index d2f36b1..51a75a0 100644 --- a/kmymoney2/dialogs/kloadtemplatedlg.h +++ b/kmymoney2/dialogs/kloadtemplatedlg.h @@ -36,7 +36,7 @@ class KLoadTemplateDlg : public KLoadTemplateDlgDecl TQ_OBJECT public: - KLoadTemplateDlg(TQWidget *tqparent = 0, const char *name = 0); + KLoadTemplateDlg(TQWidget *parent = 0, const char *name = 0); TQValueList<MyMoneyTemplate> templates(void) const; diff --git a/kmymoney2/dialogs/kmergetransactionsdlg.cpp b/kmymoney2/dialogs/kmergetransactionsdlg.cpp index 99dadbd..aeb4f69 100644 --- a/kmymoney2/dialogs/kmergetransactionsdlg.cpp +++ b/kmymoney2/dialogs/kmergetransactionsdlg.cpp @@ -31,8 +31,8 @@ #include "kmergetransactionsdlg.h" -KMergeTransactionsDlg::KMergeTransactionsDlg(const MyMoneyAccount& account, TQWidget* tqparent, const char* name) : - KSelectTransactionsDlg(account, tqparent, name) +KMergeTransactionsDlg::KMergeTransactionsDlg(const MyMoneyAccount& account, TQWidget* parent, const char* name) : + KSelectTransactionsDlg(account, parent, name) { // setup descriptive texts diff --git a/kmymoney2/dialogs/kmergetransactionsdlg.h b/kmymoney2/dialogs/kmergetransactionsdlg.h index 23d1d5d..a8f2cb6 100644 --- a/kmymoney2/dialogs/kmergetransactionsdlg.h +++ b/kmymoney2/dialogs/kmergetransactionsdlg.h @@ -41,7 +41,7 @@ class KMergeTransactionsDlg: public KSelectTransactionsDlg Q_OBJECT TQ_OBJECT public: - KMergeTransactionsDlg(const MyMoneyAccount& account, TQWidget* tqparent = 0, const char* name = 0); + KMergeTransactionsDlg(const MyMoneyAccount& account, TQWidget* parent = 0, const char* name = 0); bool eventFilter(TQObject* , TQEvent* ) { return false; } diff --git a/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp b/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp index c7ae4b1..b692bf7 100644 --- a/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp +++ b/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp @@ -34,8 +34,8 @@ #include <kmymoney/mymoneyfile.h> #include <kmymoney/kmymoneyutils.h> -KMyMoneyFileInfoDlg::KMyMoneyFileInfoDlg(TQWidget *tqparent, const char *name ) - : KMyMoneyFileInfoDlgDecl(tqparent, name) +KMyMoneyFileInfoDlg::KMyMoneyFileInfoDlg(TQWidget *parent, const char *name ) + : KMyMoneyFileInfoDlgDecl(parent, name) { // Hide the unused buttons. buttonCancel->hide(); diff --git a/kmymoney2/dialogs/kmymoneyfileinfodlg.h b/kmymoney2/dialogs/kmymoneyfileinfodlg.h index 548b5a3..8ead4f2 100644 --- a/kmymoney2/dialogs/kmymoneyfileinfodlg.h +++ b/kmymoney2/dialogs/kmymoneyfileinfodlg.h @@ -38,7 +38,7 @@ class KMyMoneyFileInfoDlg : public KMyMoneyFileInfoDlgDecl Q_OBJECT TQ_OBJECT public: - KMyMoneyFileInfoDlg(TQWidget *tqparent=0, const char *name=0); + KMyMoneyFileInfoDlg(TQWidget *parent=0, const char *name=0); virtual ~KMyMoneyFileInfoDlg(); }; diff --git a/kmymoney2/dialogs/kmymoneypricedlg.cpp b/kmymoney2/dialogs/kmymoneypricedlg.cpp index a64fd13..5e5e268 100644 --- a/kmymoney2/dialogs/kmymoneypricedlg.cpp +++ b/kmymoney2/dialogs/kmymoneypricedlg.cpp @@ -53,8 +53,8 @@ #define PRICE_COL 3 #define SOURCE_COL 4 -KMyMoneyPriceDlg::KMyMoneyPriceDlg(TQWidget* tqparent, const char *name) : - KMyMoneyPriceDlgDecl(tqparent, name) +KMyMoneyPriceDlg::KMyMoneyPriceDlg(TQWidget* parent, const char *name) : + KMyMoneyPriceDlgDecl(parent, name) { KIconLoader *il = KGlobal::iconLoader(); KGuiItem removeButtenItem( i18n( "&Delete" ), diff --git a/kmymoney2/dialogs/kmymoneypricedlg.h b/kmymoney2/dialogs/kmymoneypricedlg.h index c3c23e5..a050507 100644 --- a/kmymoney2/dialogs/kmymoneypricedlg.h +++ b/kmymoney2/dialogs/kmymoneypricedlg.h @@ -42,7 +42,7 @@ class KMyMoneyPriceDlg : public KMyMoneyPriceDlgDecl Q_OBJECT TQ_OBJECT public: - KMyMoneyPriceDlg(TQWidget* tqparent, const char *name); + KMyMoneyPriceDlg(TQWidget* parent, const char *name); ~KMyMoneyPriceDlg(); protected slots: diff --git a/kmymoney2/dialogs/kmymoneysplittable.cpp b/kmymoney2/dialogs/kmymoneysplittable.cpp index 61b8d4e..f549d4c 100644 --- a/kmymoney2/dialogs/kmymoneysplittable.cpp +++ b/kmymoney2/dialogs/kmymoneysplittable.cpp @@ -62,8 +62,8 @@ #include "../mymoney/mymoneyutils.h" -kMyMoneySplitTable::kMyMoneySplitTable(TQWidget *tqparent, const char *name ) : - TQTable(tqparent,name), +kMyMoneySplitTable::kMyMoneySplitTable(TQWidget *parent, const char *name ) : + TQTable(parent,name), m_currentRow(0), m_maxRows(0), m_editMode(false), diff --git a/kmymoney2/dialogs/kmymoneysplittable.h b/kmymoney2/dialogs/kmymoneysplittable.h index 2fda964..bbb5994 100644 --- a/kmymoney2/dialogs/kmymoneysplittable.h +++ b/kmymoney2/dialogs/kmymoneysplittable.h @@ -55,7 +55,7 @@ class kMyMoneySplitTable : public TQTable Q_OBJECT TQ_OBJECT public: - kMyMoneySplitTable(TQWidget *tqparent=0, const char *name=0); + kMyMoneySplitTable(TQWidget *parent=0, const char *name=0); virtual ~kMyMoneySplitTable(); void paintCell(TQPainter *p, int row, int col, const TQRect& r, bool /*selected*/); diff --git a/kmymoney2/dialogs/knewaccountdlg.cpp b/kmymoney2/dialogs/knewaccountdlg.cpp index 529fbf8..2f2748b 100644 --- a/kmymoney2/dialogs/knewaccountdlg.cpp +++ b/kmymoney2/dialogs/knewaccountdlg.cpp @@ -88,8 +88,8 @@ #define KMM_KDCHART_PROPSET_NORMAL_DATA KDCHART_PROPSET_NORMAL_DATA #endif -KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bool categoryEditor, TQWidget *tqparent, const char *name, const TQString& title) - : KNewAccountDlgDecl(tqparent,name,true), +KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bool categoryEditor, TQWidget *parent, const char *name, const TQString& title) + : KNewAccountDlgDecl(parent,name,true), m_account(account), m_bSelectedParentAccount(false), m_categoryEditor(categoryEditor), @@ -393,7 +393,7 @@ KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bo m_vatCategory->setChecked(false); m_vatAssignment->setChecked(false); - // make sure our account does not have an id and no tqparent assigned + // make sure our account does not have an id and no parent assigned // and certainly no tqchildren in case we create a new account if(!m_isEditing) { m_account.clearId(); @@ -403,7 +403,7 @@ KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bo m_account.removeAccountId(*it); if(m_parentItem == 0) { - // force loading of initial tqparent + // force loading of initial parent m_account.setAccountType(MyMoneyAccount::UnknownAccountType); MyMoneyAccount::_accountTypeE type = account.accountType(); if(type == MyMoneyAccount::UnknownAccountType) @@ -476,10 +476,10 @@ void KNewAccountDlg::okClicked() return; } - MyMoneyAccount tqparent = parentAccount(); - if (tqparent.name().length() == 0) + MyMoneyAccount parent = parentAccount(); + if (parent.name().length() == 0) { - KMessageBox::error(this, i18n("Please select a tqparent account.")); + KMessageBox::error(this, i18n("Please select a parent account.")); return; } @@ -538,10 +538,10 @@ void KNewAccountDlg::okClicked() if (!m_categoryEditor) { acctype = KMyMoneyUtils::stringToAccountType(typeCombo->currentText()); - // If it's a loan, check if the tqparent is asset or liability. In + // If it's a loan, check if the parent is asset or liability. In // case of asset, we change the account type to be AssetLoan if(acctype == MyMoneyAccount::Loan - && tqparent.accountGroup() == MyMoneyAccount::Asset) + && parent.accountGroup() == MyMoneyAccount::Asset) acctype = MyMoneyAccount::AssetLoan; #if 0 @@ -556,10 +556,10 @@ void KNewAccountDlg::okClicked() } else { - acctype = tqparent.accountGroup(); + acctype = parent.accountGroup(); TQString newName; - if(!MyMoneyFile::instance()->isStandardAccount(tqparent.id())) { - newName = MyMoneyFile::instance()->accountToCategory(tqparent.id()) + MyMoneyFile::AccountSeperator; + if(!MyMoneyFile::instance()->isStandardAccount(parent.id())) { + newName = MyMoneyFile::instance()->accountToCategory(parent.id()) + MyMoneyFile::AccountSeperator; } newName += accountNameText; if(!file->categoryToAccount(newName, acctype).isEmpty() @@ -723,7 +723,7 @@ void KNewAccountDlg::initParentWidget(TQString parentId, const TQString& account m_parentItem = 0; m_accountItem = 0; - // Determine the tqparent account + // Determine the parent account try { m_parentAccount = file->account(parentId); @@ -748,7 +748,7 @@ void KNewAccountDlg::initParentWidget(TQString parentId, const TQString& account m_qlistviewParentAccounts->clear(); - // Now scan all 4 account roots to load the list and mark the tqparent + // Now scan all 4 account roots to load the list and mark the parent try { if (!m_categoryEditor) diff --git a/kmymoney2/dialogs/knewaccountdlg.h b/kmymoney2/dialogs/knewaccountdlg.h index a4ae636..807af7e 100644 --- a/kmymoney2/dialogs/knewaccountdlg.h +++ b/kmymoney2/dialogs/knewaccountdlg.h @@ -81,17 +81,17 @@ public: * apply and will be handled by the dialog. * * @param account The original data to be used to create the account. In case - * of @p isEditing is false, the account id, the tqparent account id + * of @p isEditing is false, the account id, the parent account id * and the list of all child accounts will be cleared. * @param isEditing If @p false, rules for new account creation apply. * If @p true, rules for account editing apply * @param categoryEditor If @p false, rules for asset/liability accounts apply. * If @p true, rules for income/expense account apply. - * @param tqparent Pointer to tqparent object (passed to TQDialog). Default is 0. + * @param parent Pointer to parent object (passed to TQDialog). Default is 0. * @param name Name of the object (passed to TQDialog). Default is 0. * @param title Caption of the object (passed to TQDialog). Default is empty string. */ - KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bool categoryEditor, TQWidget *tqparent=0, const char *name=0, const TQString& title=TQString()); + KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bool categoryEditor, TQWidget *parent=0, const char *name=0, const TQString& title=TQString()); /** * This method returns the edited account object. @@ -99,7 +99,7 @@ public: const MyMoneyAccount& account(void); /** - * This method returns the tqparent account of the edited account object. + * This method returns the parent account of the edited account object. */ const MyMoneyAccount& parentAccount(void); diff --git a/kmymoney2/dialogs/knewbankdlg.cpp b/kmymoney2/dialogs/knewbankdlg.cpp index fd886b8..efbf3b5 100644 --- a/kmymoney2/dialogs/knewbankdlg.cpp +++ b/kmymoney2/dialogs/knewbankdlg.cpp @@ -43,8 +43,8 @@ #include "knewbankdlg.h" -KNewBankDlg::KNewBankDlg(MyMoneyInstitution& institution, TQWidget *tqparent, const char *name) - : KNewBankDlgDecl(tqparent,name,true), m_institution(institution) +KNewBankDlg::KNewBankDlg(MyMoneyInstitution& institution, TQWidget *parent, const char *name) + : KNewBankDlgDecl(parent,name,true), m_institution(institution) { okBtn->setGuiItem(KStdGuiItem::ok()); cancelBtn->setGuiItem(KStdGuiItem::cancel()); diff --git a/kmymoney2/dialogs/knewbankdlg.h b/kmymoney2/dialogs/knewbankdlg.h index 55deee1..6b5ae21 100644 --- a/kmymoney2/dialogs/knewbankdlg.h +++ b/kmymoney2/dialogs/knewbankdlg.h @@ -42,7 +42,7 @@ class KNewBankDlg : public KNewBankDlgDecl TQ_OBJECT public: - KNewBankDlg(MyMoneyInstitution& institution, TQWidget *tqparent = 0, const char *name = 0); + KNewBankDlg(MyMoneyInstitution& institution, TQWidget *parent = 0, const char *name = 0); ~KNewBankDlg(); const MyMoneyInstitution& institution(void); diff --git a/kmymoney2/dialogs/knewbudgetdlg.cpp b/kmymoney2/dialogs/knewbudgetdlg.cpp index 67fcbda..0224abb 100644 --- a/kmymoney2/dialogs/knewbudgetdlg.cpp +++ b/kmymoney2/dialogs/knewbudgetdlg.cpp @@ -37,8 +37,8 @@ const int KNewBudgetDlg::m_icFutureYears = 5; const int KNewBudgetDlg::m_icPastYears = 2; -KNewBudgetDlg::KNewBudgetDlg(TQWidget* tqparent, const char *name) : - KNewBudgetDlgDecl(tqparent, name) +KNewBudgetDlg::KNewBudgetDlg(TQWidget* parent, const char *name) : + KNewBudgetDlgDecl(parent, name) { TQStringList slYear; TQDate dToday = TQDate::tqcurrentDate(); diff --git a/kmymoney2/dialogs/knewbudgetdlg.h b/kmymoney2/dialogs/knewbudgetdlg.h index 697ecfd..287f965 100644 --- a/kmymoney2/dialogs/knewbudgetdlg.h +++ b/kmymoney2/dialogs/knewbudgetdlg.h @@ -38,7 +38,7 @@ class KNewBudgetDlg : public KNewBudgetDlgDecl Q_OBJECT TQ_OBJECT public: - KNewBudgetDlg(TQWidget* tqparent, const char *name); + KNewBudgetDlg(TQWidget* parent, const char *name); ~KNewBudgetDlg(); TQString& getYear() {return m_year;}; diff --git a/kmymoney2/dialogs/knewequityentrydlg.cpp b/kmymoney2/dialogs/knewequityentrydlg.cpp index 29a91b3..60e2fe0 100644 --- a/kmymoney2/dialogs/knewequityentrydlg.cpp +++ b/kmymoney2/dialogs/knewequityentrydlg.cpp @@ -36,8 +36,8 @@ #include "../widgets/kmymoneyedit.h" #include "../mymoney/mymoneymoney.h" -KNewEquityEntryDlg::KNewEquityEntryDlg(TQWidget *tqparent, const char *name) - : kNewEquityEntryDecl(tqparent, name, TRUE) +KNewEquityEntryDlg::KNewEquityEntryDlg(TQWidget *parent, const char *name) + : kNewEquityEntryDecl(parent, name, TRUE) { edtFraction->setCalculatorButtonVisible(false); edtFraction->setPrecision(0); diff --git a/kmymoney2/dialogs/knewequityentrydlg.h b/kmymoney2/dialogs/knewequityentrydlg.h index d3a5a89..cbcfadb 100644 --- a/kmymoney2/dialogs/knewequityentrydlg.h +++ b/kmymoney2/dialogs/knewequityentrydlg.h @@ -41,7 +41,7 @@ class KNewEquityEntryDlg : public kNewEquityEntryDecl Q_OBJECT TQ_OBJECT public: - KNewEquityEntryDlg(TQWidget *tqparent = NULL, const char *name = NULL); + KNewEquityEntryDlg(TQWidget *parent = NULL, const char *name = NULL); virtual ~KNewEquityEntryDlg(); void setSymbolName(const TQString& str); diff --git a/kmymoney2/dialogs/knewfiledlg.cpp b/kmymoney2/dialogs/knewfiledlg.cpp index 7a3b221..1fe8f88 100644 --- a/kmymoney2/dialogs/knewfiledlg.cpp +++ b/kmymoney2/dialogs/knewfiledlg.cpp @@ -43,16 +43,16 @@ #include "knewfiledlg.h" -KNewFileDlg::KNewFileDlg(TQWidget *tqparent, const char *name, const TQString& title) - : KNewFileDlgDecl(tqparent,name,true) +KNewFileDlg::KNewFileDlg(TQWidget *parent, const char *name, const TQString& title) + : KNewFileDlgDecl(parent,name,true) { init(title); } KNewFileDlg::KNewFileDlg(TQString userName, TQString userStreet, TQString userTown, TQString userCounty, TQString userPostcode, TQString userTelephone, - TQString userEmail, TQWidget *tqparent, const char *name, const TQString& title) - : KNewFileDlgDecl(tqparent,name,true) + TQString userEmail, TQWidget *parent, const char *name, const TQString& title) + : KNewFileDlgDecl(parent,name,true) { userNameEdit->setText(userName); streetEdit->setText(userStreet); diff --git a/kmymoney2/dialogs/knewfiledlg.h b/kmymoney2/dialogs/knewfiledlg.h index 3cf8c7c..e9cf61a 100644 --- a/kmymoney2/dialogs/knewfiledlg.h +++ b/kmymoney2/dialogs/knewfiledlg.h @@ -35,10 +35,10 @@ class KNewFileDlg : public KNewFileDlgDecl { Q_OBJECT TQ_OBJECT public: - KNewFileDlg(TQWidget *tqparent=0, const char *name=0, const TQString& title=TQString()); + KNewFileDlg(TQWidget *parent=0, const char *name=0, const TQString& title=TQString()); KNewFileDlg(TQString userName, TQString userStreet, TQString userTown, TQString userCounty, TQString userPostcode, TQString userTelephone, - TQString userEmail, TQWidget *tqparent=0, const char *name=0, const TQString& title=TQString()); + TQString userEmail, TQWidget *parent=0, const char *name=0, const TQString& title=TQString()); ~KNewFileDlg(); KPushButton* cancelButton(void) { return cancelBtn; }; diff --git a/kmymoney2/dialogs/knewinvestmentwizard.cpp b/kmymoney2/dialogs/knewinvestmentwizard.cpp index 3a963f2..85e6cc9 100644 --- a/kmymoney2/dialogs/knewinvestmentwizard.cpp +++ b/kmymoney2/dialogs/knewinvestmentwizard.cpp @@ -45,8 +45,8 @@ #include "../converter/webpricequote.h" #include "../kmymoneyutils.h" -KNewInvestmentWizard::KNewInvestmentWizard( TQWidget *tqparent, const char *name ) : - KNewInvestmentWizardDecl( tqparent, name ) +KNewInvestmentWizard::KNewInvestmentWizard( TQWidget *parent, const char *name ) : + KNewInvestmentWizardDecl( parent, name ) { init1(); slotCheckPage(TQString()); @@ -55,8 +55,8 @@ KNewInvestmentWizard::KNewInvestmentWizard( TQWidget *tqparent, const char *name connect(m_investmentSymbol, TQT_SIGNAL(lineChanged(const TQString&)), this, TQT_SLOT(slotCheckForExistingSymbol(const TQString&))); } -KNewInvestmentWizard::KNewInvestmentWizard( const MyMoneyAccount& acc, TQWidget *tqparent, const char *name ) : - KNewInvestmentWizardDecl( tqparent, name ), +KNewInvestmentWizard::KNewInvestmentWizard( const MyMoneyAccount& acc, TQWidget *parent, const char *name ) : + KNewInvestmentWizardDecl( parent, name ), m_account(acc) { setCaption(i18n("Investment detail wizard")); @@ -75,8 +75,8 @@ KNewInvestmentWizard::KNewInvestmentWizard( const MyMoneyAccount& acc, TQWidget } -KNewInvestmentWizard::KNewInvestmentWizard( const MyMoneySecurity& security, TQWidget *tqparent, const char *name ) : - KNewInvestmentWizardDecl( tqparent, name ), +KNewInvestmentWizard::KNewInvestmentWizard( const MyMoneySecurity& security, TQWidget *parent, const char *name ) : + KNewInvestmentWizardDecl( parent, name ), m_security(security) { setCaption(i18n("Security detail wizard")); @@ -299,8 +299,8 @@ void KNewInvestmentWizard::createObjects(const TQString& parentId) } if(m_account.id().isEmpty()) { - MyMoneyAccount tqparent = file->account(parentId); - file->addAccount(m_account, tqparent); + MyMoneyAccount parent = file->account(parentId); + file->addAccount(m_account, parent); } else file->modifyAccount(m_account); } diff --git a/kmymoney2/dialogs/knewinvestmentwizard.h b/kmymoney2/dialogs/knewinvestmentwizard.h index 43a3be7..5b00d52 100644 --- a/kmymoney2/dialogs/knewinvestmentwizard.h +++ b/kmymoney2/dialogs/knewinvestmentwizard.h @@ -44,17 +44,17 @@ public: /** * Use this constructor for the creation of a new investment */ - KNewInvestmentWizard( TQWidget *tqparent = 0, const char *name = 0 ); + KNewInvestmentWizard( TQWidget *parent = 0, const char *name = 0 ); /** * Use this constructor for the modification of an existing investment */ - KNewInvestmentWizard( const MyMoneyAccount& acc, TQWidget *tqparent = 0, const char *name = 0 ); + KNewInvestmentWizard( const MyMoneyAccount& acc, TQWidget *parent = 0, const char *name = 0 ); /** * Use this constructor for the modification of an existing security */ - KNewInvestmentWizard( const MyMoneySecurity& sec, TQWidget *tqparent = 0, const char *name = 0 ); + KNewInvestmentWizard( const MyMoneySecurity& sec, TQWidget *parent = 0, const char *name = 0 ); ~KNewInvestmentWizard(); @@ -68,7 +68,7 @@ public: * creates all necessary objects for the investment or updates * them. * - * @param parentId id of tqparent account for the investment + * @param parentId id of parent account for the investment */ void createObjects(const TQString& parentId); diff --git a/kmymoney2/dialogs/knewloanwizard.cpp b/kmymoney2/dialogs/knewloanwizard.cpp index e56dbf9..fe39525 100644 --- a/kmymoney2/dialogs/knewloanwizard.cpp +++ b/kmymoney2/dialogs/knewloanwizard.cpp @@ -59,8 +59,8 @@ #include "../kmymoney2.h" -KNewLoanWizard::KNewLoanWizard(TQWidget *tqparent, const char *name ) : - KNewLoanWizardDecl(tqparent, name, true) +KNewLoanWizard::KNewLoanWizard(TQWidget *parent, const char *name ) : + KNewLoanWizardDecl(parent, name, true) { connect(m_borrowButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotLiabilityLoan())); connect(m_lendButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAssetLoan())); diff --git a/kmymoney2/dialogs/knewloanwizard.h b/kmymoney2/dialogs/knewloanwizard.h index 8cf019d..42e8a0f 100644 --- a/kmymoney2/dialogs/knewloanwizard.h +++ b/kmymoney2/dialogs/knewloanwizard.h @@ -56,7 +56,7 @@ class KNewLoanWizard : public KNewLoanWizardDecl Q_OBJECT TQ_OBJECT public: - KNewLoanWizard(TQWidget *tqparent=0, const char *name=0); + KNewLoanWizard(TQWidget *parent=0, const char *name=0); ~KNewLoanWizard(); /** diff --git a/kmymoney2/dialogs/konlinequoteconfigurationdlg.cpp b/kmymoney2/dialogs/konlinequoteconfigurationdlg.cpp index d479c81..10a46bd 100644 --- a/kmymoney2/dialogs/konlinequoteconfigurationdlg.cpp +++ b/kmymoney2/dialogs/konlinequoteconfigurationdlg.cpp @@ -38,7 +38,7 @@ #include "konlinequoteconfigurationdlg.h" -KOnlineQuoteConfigurationDlg::KOnlineQuoteConfigurationDlg(TQWidget *tqparent) : kOnlineQuoteConfigurationDecl(tqparent) +KOnlineQuoteConfigurationDlg::KOnlineQuoteConfigurationDlg(TQWidget *parent) : kOnlineQuoteConfigurationDecl(parent) { } diff --git a/kmymoney2/dialogs/konlinequoteconfigurationdlg.h b/kmymoney2/dialogs/konlinequoteconfigurationdlg.h index 7a9eb65..78667e5 100644 --- a/kmymoney2/dialogs/konlinequoteconfigurationdlg.h +++ b/kmymoney2/dialogs/konlinequoteconfigurationdlg.h @@ -42,7 +42,7 @@ class KOnlineQuoteConfigurationDlg : public kOnlineQuoteConfigurationDecl Q_OBJECT TQ_OBJECT public: - KOnlineQuoteConfigurationDlg(TQWidget *tqparent); + KOnlineQuoteConfigurationDlg(TQWidget *parent); ~KOnlineQuoteConfigurationDlg(); }; diff --git a/kmymoney2/dialogs/kpayeereassigndlg.cpp b/kmymoney2/dialogs/kpayeereassigndlg.cpp index dc03518..0c3c0cf 100644 --- a/kmymoney2/dialogs/kpayeereassigndlg.cpp +++ b/kmymoney2/dialogs/kpayeereassigndlg.cpp @@ -36,8 +36,8 @@ #include <kmymoney/kmymoneycombo.h> #include <kmymoney/kguiutils.h> -KPayeeReassignDlg::KPayeeReassignDlg( TQWidget* tqparent, const char* name) : - KPayeeReassignDlgDecl( tqparent, name) +KPayeeReassignDlg::KPayeeReassignDlg( TQWidget* parent, const char* name) : + KPayeeReassignDlgDecl( parent, name) { buttonOk->setGuiItem(KStdGuiItem::ok()); buttonCancel->setGuiItem(KStdGuiItem::cancel()); diff --git a/kmymoney2/dialogs/kpayeereassigndlg.h b/kmymoney2/dialogs/kpayeereassigndlg.h index f0f21ac..c77f9a2 100644 --- a/kmymoney2/dialogs/kpayeereassigndlg.h +++ b/kmymoney2/dialogs/kpayeereassigndlg.h @@ -45,7 +45,7 @@ class KPayeeReassignDlg : public KPayeeReassignDlgDecl TQ_OBJECT public: /** Default constructor */ - KPayeeReassignDlg( TQWidget* tqparent = 0, const char* name = 0); + KPayeeReassignDlg( TQWidget* parent = 0, const char* name = 0); /** Destructor */ ~KPayeeReassignDlg(); diff --git a/kmymoney2/dialogs/krecentfileitem.cpp b/kmymoney2/dialogs/krecentfileitem.cpp index dfcb0b8..ff06c6a 100644 --- a/kmymoney2/dialogs/krecentfileitem.cpp +++ b/kmymoney2/dialogs/krecentfileitem.cpp @@ -37,12 +37,12 @@ #include "krecentfileitem.h" -KRecentFileItem::KRecentFileItem(const TQString& url, TQIconView* tqparent, const TQString& text, const TQPixmap& icon) - : TQIconViewItem(tqparent, text, icon), +KRecentFileItem::KRecentFileItem(const TQString& url, TQIconView* parent, const TQString& text, const TQPixmap& icon) + : TQIconViewItem(parent, text, icon), m_url(url), - m_parent(tqparent) + m_parent(parent) { - TQToolTip::add(tqparent, rect(), url); + TQToolTip::add(parent, rect(), url); // avoid moving this item around setDragEnabled(false); } diff --git a/kmymoney2/dialogs/krecentfileitem.h b/kmymoney2/dialogs/krecentfileitem.h index 1859c96..89a080a 100644 --- a/kmymoney2/dialogs/krecentfileitem.h +++ b/kmymoney2/dialogs/krecentfileitem.h @@ -42,7 +42,7 @@ class KRecentFileItem : public TQIconViewItem { public: - KRecentFileItem(const TQString& url, TQIconView* tqparent, const TQString& text, const TQPixmap& icon); + KRecentFileItem(const TQString& url, TQIconView* parent, const TQString& text, const TQPixmap& icon); ~KRecentFileItem(); TQString fileURL(void) const { return m_url; } diff --git a/kmymoney2/dialogs/kreconciledlg.cpp b/kmymoney2/dialogs/kreconciledlg.cpp index 11a2a00..c48e273 100644 --- a/kmymoney2/dialogs/kreconciledlg.cpp +++ b/kmymoney2/dialogs/kreconciledlg.cpp @@ -24,8 +24,8 @@ KReconcileDlg::KReconcileDlg(const MyMoneyMoney /* previousBal */, const MyMoneyMoney /* endingBal */, const TQDate /* endingDate */, MyMoneyAccount* /*accountIndex */, - const MyMoneyFile* /* file */, TQWidget *tqparent, const char *name) - : KReconcileDlgDecl(tqparent,name,true) + const MyMoneyFile* /* file */, TQWidget *parent, const char *name) + : KReconcileDlgDecl(parent,name,true) { /* m_balanced = false; diff --git a/kmymoney2/dialogs/kreconciledlg.h b/kmymoney2/dialogs/kreconciledlg.h index 214c583..61b2931 100644 --- a/kmymoney2/dialogs/kreconciledlg.h +++ b/kmymoney2/dialogs/kreconciledlg.h @@ -31,7 +31,7 @@ class KReconcileDlg : public KReconcileDlgDecl { Q_OBJECT TQ_OBJECT public: - KReconcileDlg(const MyMoneyMoney previousBal, const MyMoneyMoney endingBal, const TQDate endingDate, MyMoneyAccount *accountIndex, const MyMoneyFile* file, TQWidget *tqparent=0, const char *name=0); + KReconcileDlg(const MyMoneyMoney previousBal, const MyMoneyMoney endingBal, const TQDate endingDate, MyMoneyAccount *accountIndex, const MyMoneyFile* file, TQWidget *parent=0, const char *name=0); ~KReconcileDlg(); // void updateData(void); void resetData(const MyMoneyMoney previousBal, const MyMoneyMoney endingBal, const TQDate endingDate, MyMoneyAccount *accountIndex, const MyMoneyFile* file); diff --git a/kmymoney2/dialogs/kreportconfigurationfilterdlg.cpp b/kmymoney2/dialogs/kreportconfigurationfilterdlg.cpp index d904d1a..388019a 100644 --- a/kmymoney2/dialogs/kreportconfigurationfilterdlg.cpp +++ b/kmymoney2/dialogs/kreportconfigurationfilterdlg.cpp @@ -76,8 +76,8 @@ #include "../widgets/kmymoneyreportconfigtabchartdecl.h" KReportConfigurationFilterDlg::KReportConfigurationFilterDlg( - MyMoneyReport report, TQWidget *tqparent, const char *name) - : KFindTransactionDlg(tqparent, name), + MyMoneyReport report, TQWidget *parent, const char *name) + : KFindTransactionDlg(parent, name), m_tab2(0), m_tab3(0), m_tabChart(0), diff --git a/kmymoney2/dialogs/kreportconfigurationfilterdlg.h b/kmymoney2/dialogs/kreportconfigurationfilterdlg.h index 0a80e60..b903034 100644 --- a/kmymoney2/dialogs/kreportconfigurationfilterdlg.h +++ b/kmymoney2/dialogs/kreportconfigurationfilterdlg.h @@ -44,7 +44,7 @@ class KReportConfigurationFilterDlg : public KFindTransactionDlg Q_OBJECT TQ_OBJECT public: - KReportConfigurationFilterDlg(MyMoneyReport report, TQWidget *tqparent = 0, const char *name = 0); + KReportConfigurationFilterDlg(MyMoneyReport report, TQWidget *parent = 0, const char *name = 0); ~KReportConfigurationFilterDlg(); const MyMoneyReport& getConfig(void) const { return m_currentState; } diff --git a/kmymoney2/dialogs/ksecuritylisteditor.cpp b/kmymoney2/dialogs/ksecuritylisteditor.cpp index 86e2e66..0be4b0b 100644 --- a/kmymoney2/dialogs/ksecuritylisteditor.cpp +++ b/kmymoney2/dialogs/ksecuritylisteditor.cpp @@ -53,8 +53,8 @@ #define CURRENCY_MARKET TQString("ISO 4217") -KSecurityListEditor::KSecurityListEditor(TQWidget *tqparent, const char *name) : - KSecurityListEditorDecl(tqparent, name) +KSecurityListEditor::KSecurityListEditor(TQWidget *parent, const char *name) : + KSecurityListEditorDecl(parent, name) { m_listView->setColumnWidth(ID_COL, 0); m_listView->setColumnWidthMode(NAME_COL, TQListView::Maximum); diff --git a/kmymoney2/dialogs/ksecuritylisteditor.h b/kmymoney2/dialogs/ksecuritylisteditor.h index ec77483..fde851b 100644 --- a/kmymoney2/dialogs/ksecuritylisteditor.h +++ b/kmymoney2/dialogs/ksecuritylisteditor.h @@ -42,7 +42,7 @@ class KSecurityListEditor : public KSecurityListEditorDecl Q_OBJECT TQ_OBJECT public: - KSecurityListEditor(TQWidget *tqparent, const char* name = 0); + KSecurityListEditor(TQWidget *parent, const char* name = 0); ~KSecurityListEditor(); protected slots: diff --git a/kmymoney2/dialogs/kselectdatabasedlg.cpp b/kmymoney2/dialogs/kselectdatabasedlg.cpp index cf29d4e..85b407a 100644 --- a/kmymoney2/dialogs/kselectdatabasedlg.cpp +++ b/kmymoney2/dialogs/kselectdatabasedlg.cpp @@ -45,8 +45,8 @@ #include "kselectdatabasedlg.h" -KSelectDatabaseDlg::KSelectDatabaseDlg(TQWidget *tqparent, const char *name) - : KSelectDatabaseDlgDecl(tqparent, name) { +KSelectDatabaseDlg::KSelectDatabaseDlg(TQWidget *parent, const char *name) + : KSelectDatabaseDlgDecl(parent, name) { listDrivers->clear(); // list drivers supported by KMM TQMap<TQString, TQString> map = m_map.driverMap(); @@ -95,8 +95,8 @@ KSelectDatabaseDlg::KSelectDatabaseDlg(TQWidget *tqparent, const char *name) } } -KSelectDatabaseDlg::KSelectDatabaseDlg(KURL openURL, TQWidget *tqparent, const char *name) - : KSelectDatabaseDlgDecl(tqparent, name) { +KSelectDatabaseDlg::KSelectDatabaseDlg(KURL openURL, TQWidget *parent, const char *name) + : KSelectDatabaseDlgDecl(parent, name) { // here we are re-opening a database from a URL // probably taken from the last-used or recent file list listDrivers->clear(); diff --git a/kmymoney2/dialogs/kselectdatabasedlg.h b/kmymoney2/dialogs/kselectdatabasedlg.h index 28c44d8..efaf9f5 100644 --- a/kmymoney2/dialogs/kselectdatabasedlg.h +++ b/kmymoney2/dialogs/kselectdatabasedlg.h @@ -39,8 +39,8 @@ class KSelectDatabaseDlg : public KSelectDatabaseDlgDecl Q_OBJECT TQ_OBJECT public: - KSelectDatabaseDlg(TQWidget *tqparent = 0, const char *name = 0); - KSelectDatabaseDlg(KURL openURL, TQWidget *tqparent = 0, const char *name = 0); + KSelectDatabaseDlg(TQWidget *parent = 0, const char *name = 0); + KSelectDatabaseDlg(KURL openURL, TQWidget *parent = 0, const char *name = 0); ~KSelectDatabaseDlg(); /** Set the mode of this dialog * @param - openMode (IO_ReadWrite = open database; IO_WriteOnly = saveas database) diff --git a/kmymoney2/dialogs/kselecttransactionsdlg.cpp b/kmymoney2/dialogs/kselecttransactionsdlg.cpp index 1b21089..04e377e 100644 --- a/kmymoney2/dialogs/kselecttransactionsdlg.cpp +++ b/kmymoney2/dialogs/kselecttransactionsdlg.cpp @@ -36,8 +36,8 @@ #include "kmergetransactionsdlg.h" -KSelectTransactionsDlg::KSelectTransactionsDlg(const MyMoneyAccount& _account, TQWidget* tqparent, const char* name) : - KSelectTransactionsDlgDecl(tqparent, name), +KSelectTransactionsDlg::KSelectTransactionsDlg(const MyMoneyAccount& _account, TQWidget* parent, const char* name) : + KSelectTransactionsDlgDecl(parent, name), m_account(_account) { // setup descriptive texts diff --git a/kmymoney2/dialogs/kselecttransactionsdlg.h b/kmymoney2/dialogs/kselecttransactionsdlg.h index 8a2e73b..a244ed3 100644 --- a/kmymoney2/dialogs/kselecttransactionsdlg.h +++ b/kmymoney2/dialogs/kselecttransactionsdlg.h @@ -41,7 +41,7 @@ class KSelectTransactionsDlg: public KSelectTransactionsDlgDecl Q_OBJECT TQ_OBJECT public: - KSelectTransactionsDlg(const MyMoneyAccount& account, TQWidget* tqparent = 0, const char* name = 0); + KSelectTransactionsDlg(const MyMoneyAccount& account, TQWidget* parent = 0, const char* name = 0); /** * Adds the transaction @a t to the dialog diff --git a/kmymoney2/dialogs/ksplittransactiondlg.cpp b/kmymoney2/dialogs/ksplittransactiondlg.cpp index 9236bea..cb80e62 100644 --- a/kmymoney2/dialogs/ksplittransactiondlg.cpp +++ b/kmymoney2/dialogs/ksplittransactiondlg.cpp @@ -62,8 +62,8 @@ KSplitTransactionDlg::KSplitTransactionDlg(const MyMoneyTransaction& t, const bool deposit, const MyMoneyMoney& calculatedValue, const TQMap<TQString, MyMoneyMoney>& priceInfo, - TQWidget* tqparent, const char* name) : - KSplitTransactionDlgDecl(tqparent, name, true), + TQWidget* parent, const char* name) : + KSplitTransactionDlgDecl(parent, name, true), m_account(acc), m_split(s), m_precision(2), @@ -428,19 +428,19 @@ MyMoneyMoney KSplitTransactionDlg::diffAmount(void) void KSplitTransactionDlg::slotCreateCategory(const TQString& name, TQString& id) { - MyMoneyAccount acc, tqparent; + MyMoneyAccount acc, parent; acc.setName(name); if(m_isDeposit) - tqparent = MyMoneyFile::instance()->income(); + parent = MyMoneyFile::instance()->income(); else - tqparent = MyMoneyFile::instance()->expense(); + parent = MyMoneyFile::instance()->expense(); // TODO extract possible first part of a hierarchy and check if it is one - // of our top categories. If so, remove it and select the tqparent + // of our top categories. If so, remove it and select the parent // according to this information. - emit createCategory(acc, tqparent); + emit createCategory(acc, parent); // return id id = acc.id(); diff --git a/kmymoney2/dialogs/ksplittransactiondlg.h b/kmymoney2/dialogs/ksplittransactiondlg.h index 76261bd..1a292d2 100644 --- a/kmymoney2/dialogs/ksplittransactiondlg.h +++ b/kmymoney2/dialogs/ksplittransactiondlg.h @@ -61,7 +61,7 @@ public: const bool deposit, const MyMoneyMoney& calculatedValue, const TQMap<TQString, MyMoneyMoney>& priceInfo, - TQWidget* tqparent = 0, const char* name = 0); + TQWidget* parent = 0, const char* name = 0); virtual ~KSplitTransactionDlg(); @@ -116,13 +116,13 @@ protected slots: signals: /** * This signal is sent out, when a new category needs to be created - * Depending on the setting of either a payment or deposit, the tqparent + * Depending on the setting of either a payment or deposit, the parent * account will be preset to Expense or Income. * * @param account reference to account info. Will be filled by called slot - * @param tqparent reference to tqparent account + * @param parent reference to parent account */ - void createCategory(MyMoneyAccount& account, const MyMoneyAccount& tqparent); + void createCategory(MyMoneyAccount& account, const MyMoneyAccount& parent); /** * Signal is emitted, if any of the widgets enters (@a state equals @a true) diff --git a/kmymoney2/dialogs/kstartdlg.cpp b/kmymoney2/dialogs/kstartdlg.cpp index f1c413f..a9f3bae 100644 --- a/kmymoney2/dialogs/kstartdlg.cpp +++ b/kmymoney2/dialogs/kstartdlg.cpp @@ -52,7 +52,7 @@ #include <tqtooltip.h> -KStartDlg::KStartDlg(TQWidget *tqparent, const char *name, bool modal) : KDialogBase(IconList,i18n("Start Dialog"),Help|Ok|Cancel,Ok, tqparent, name, modal, true) +KStartDlg::KStartDlg(TQWidget *parent, const char *name, bool modal) : KDialogBase(IconList,i18n("Start Dialog"),Help|Ok|Cancel,Ok, parent, name, modal, true) { setPage_Template(); setPage_Documents(); diff --git a/kmymoney2/dialogs/kstartdlg.h b/kmymoney2/dialogs/kstartdlg.h index 55d6955..e81f1c5 100644 --- a/kmymoney2/dialogs/kstartdlg.h +++ b/kmymoney2/dialogs/kstartdlg.h @@ -40,7 +40,7 @@ class KStartDlg : public KDialogBase { Q_OBJECT TQ_OBJECT public: - KStartDlg( TQWidget *tqparent=0, const char *name=0, bool modal=true ); + KStartDlg( TQWidget *parent=0, const char *name=0, bool modal=true ); virtual ~KStartDlg(); bool isNewFile(void) const { return isnewfile; } bool isOpenFile(void) const { return !kurlrequest->url().isEmpty(); } diff --git a/kmymoney2/dialogs/kupdatestockpricedlg.cpp b/kmymoney2/dialogs/kupdatestockpricedlg.cpp index ef7bfab..53d930e 100644 --- a/kmymoney2/dialogs/kupdatestockpricedlg.cpp +++ b/kmymoney2/dialogs/kupdatestockpricedlg.cpp @@ -34,8 +34,8 @@ #include "kupdatestockpricedlg.h" #include "../widgets/kmymoneycurrencyselector.h" -KUpdateStockPriceDlg::KUpdateStockPriceDlg(TQWidget* tqparent, const char* name) : - kUpdateStockPriceDecl(tqparent, name, true) +KUpdateStockPriceDlg::KUpdateStockPriceDlg(TQWidget* parent, const char* name) : + kUpdateStockPriceDecl(parent, name, true) { m_date->setDate(TQDate::tqcurrentDate()); init(); diff --git a/kmymoney2/dialogs/kupdatestockpricedlg.h b/kmymoney2/dialogs/kupdatestockpricedlg.h index ed75120..31691c1 100644 --- a/kmymoney2/dialogs/kupdatestockpricedlg.h +++ b/kmymoney2/dialogs/kupdatestockpricedlg.h @@ -58,7 +58,7 @@ class KUpdateStockPriceDlg : public kUpdateStockPriceDecl TQ_OBJECT public: - KUpdateStockPriceDlg(TQWidget* tqparent = NULL, const char* name = NULL); + KUpdateStockPriceDlg(TQWidget* parent = NULL, const char* name = NULL); ~KUpdateStockPriceDlg(); const TQDate date() const { return m_date->date(); }; diff --git a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp index e24b76f..65c361c 100644 --- a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp +++ b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp @@ -75,8 +75,8 @@ TQValidator::State MyMoneyQifProfileNameValidator::validate(TQString& name, int& return TQValidator::Acceptable; } -MyMoneyQifProfileEditor::MyMoneyQifProfileEditor(const bool edit, TQWidget *tqparent, const char *name ) - : MyMoneyQifProfileEditorDecl(tqparent,name), +MyMoneyQifProfileEditor::MyMoneyQifProfileEditor(const bool edit, TQWidget *parent, const char *name ) + : MyMoneyQifProfileEditorDecl(parent,name), m_inEdit(edit), m_isDirty(false), m_isAccepted(false), diff --git a/kmymoney2/dialogs/mymoneyqifprofileeditor.h b/kmymoney2/dialogs/mymoneyqifprofileeditor.h index 67993c2..1efd5a6 100644 --- a/kmymoney2/dialogs/mymoneyqifprofileeditor.h +++ b/kmymoney2/dialogs/mymoneyqifprofileeditor.h @@ -57,7 +57,7 @@ class MyMoneyQifProfileEditor : public MyMoneyQifProfileEditorDecl TQ_OBJECT public: - MyMoneyQifProfileEditor(const bool edit = false, TQWidget *tqparent=0, const char *name=0); + MyMoneyQifProfileEditor(const bool edit = false, TQWidget *parent=0, const char *name=0); virtual ~MyMoneyQifProfileEditor(); /** diff --git a/kmymoney2/dialogs/settings/ksettingscolors.cpp b/kmymoney2/dialogs/settings/ksettingscolors.cpp index 06a5199..9fe1990 100644 --- a/kmymoney2/dialogs/settings/ksettingscolors.cpp +++ b/kmymoney2/dialogs/settings/ksettingscolors.cpp @@ -25,8 +25,8 @@ #include "ksettingscolors.h" -KSettingsColors::KSettingsColors(TQWidget* tqparent, const char* name) : - KSettingsColorsDecl(tqparent, name) +KSettingsColors::KSettingsColors(TQWidget* parent, const char* name) : + KSettingsColorsDecl(parent, name) { } diff --git a/kmymoney2/dialogs/settings/ksettingscolors.h b/kmymoney2/dialogs/settings/ksettingscolors.h index 0f877a2..2e26b18 100644 --- a/kmymoney2/dialogs/settings/ksettingscolors.h +++ b/kmymoney2/dialogs/settings/ksettingscolors.h @@ -34,7 +34,7 @@ class KSettingsColors : public KSettingsColorsDecl TQ_OBJECT public: - KSettingsColors(TQWidget* tqparent = 0, const char* name = 0); + KSettingsColors(TQWidget* parent = 0, const char* name = 0); ~KSettingsColors(); }; #endif diff --git a/kmymoney2/dialogs/settings/ksettingsfonts.cpp b/kmymoney2/dialogs/settings/ksettingsfonts.cpp index c21437d..4bc1ddc 100644 --- a/kmymoney2/dialogs/settings/ksettingsfonts.cpp +++ b/kmymoney2/dialogs/settings/ksettingsfonts.cpp @@ -25,8 +25,8 @@ #include "ksettingsfonts.h" -KSettingsFonts::KSettingsFonts(TQWidget* tqparent, const char* name) : - KSettingsFontsDecl(tqparent, name) +KSettingsFonts::KSettingsFonts(TQWidget* parent, const char* name) : + KSettingsFontsDecl(parent, name) { } diff --git a/kmymoney2/dialogs/settings/ksettingsfonts.h b/kmymoney2/dialogs/settings/ksettingsfonts.h index eda94fd..162d1ce 100644 --- a/kmymoney2/dialogs/settings/ksettingsfonts.h +++ b/kmymoney2/dialogs/settings/ksettingsfonts.h @@ -34,7 +34,7 @@ class KSettingsFonts : public KSettingsFontsDecl TQ_OBJECT public: - KSettingsFonts(TQWidget* tqparent = 0, const char* name = 0); + KSettingsFonts(TQWidget* parent = 0, const char* name = 0); ~KSettingsFonts(); }; #endif diff --git a/kmymoney2/dialogs/settings/ksettingsforecast.cpp b/kmymoney2/dialogs/settings/ksettingsforecast.cpp index d3e8770..a0b4ea0 100644 --- a/kmymoney2/dialogs/settings/ksettingsforecast.cpp +++ b/kmymoney2/dialogs/settings/ksettingsforecast.cpp @@ -25,8 +25,8 @@ #include "ksettingsforecast.h" -KSettingsForecast::KSettingsForecast(TQWidget* tqparent, const char* name) : - KSettingsForecastDecl(tqparent, name) +KSettingsForecast::KSettingsForecast(TQWidget* parent, const char* name) : + KSettingsForecastDecl(parent, name) { } diff --git a/kmymoney2/dialogs/settings/ksettingsforecast.h b/kmymoney2/dialogs/settings/ksettingsforecast.h index 4423a39..f7e28b4 100644 --- a/kmymoney2/dialogs/settings/ksettingsforecast.h +++ b/kmymoney2/dialogs/settings/ksettingsforecast.h @@ -35,7 +35,7 @@ class KSettingsForecast : public KSettingsForecastDecl TQ_OBJECT public: - KSettingsForecast(TQWidget* tqparent = 0, const char* name = 0); + KSettingsForecast(TQWidget* parent = 0, const char* name = 0); ~KSettingsForecast(); }; #endif diff --git a/kmymoney2/dialogs/settings/ksettingsgeneral.cpp b/kmymoney2/dialogs/settings/ksettingsgeneral.cpp index e36530f..1fba568 100644 --- a/kmymoney2/dialogs/settings/ksettingsgeneral.cpp +++ b/kmymoney2/dialogs/settings/ksettingsgeneral.cpp @@ -31,8 +31,8 @@ #include <kmymoney/kmymoneydateinput.h> #include "ksettingsgeneral.h" -KSettingsGeneral::KSettingsGeneral(TQWidget* tqparent, const char* name) : - KSettingsGeneralDecl(tqparent, name) +KSettingsGeneral::KSettingsGeneral(TQWidget* parent, const char* name) : + KSettingsGeneralDecl(parent, name) { // hide the internally used date field kcfg_StartDate->hide(); diff --git a/kmymoney2/dialogs/settings/ksettingsgeneral.h b/kmymoney2/dialogs/settings/ksettingsgeneral.h index 246a600..09ba37f 100644 --- a/kmymoney2/dialogs/settings/ksettingsgeneral.h +++ b/kmymoney2/dialogs/settings/ksettingsgeneral.h @@ -34,7 +34,7 @@ class KSettingsGeneral : public KSettingsGeneralDecl TQ_OBJECT public: - KSettingsGeneral(TQWidget* tqparent = 0, const char* name = 0); + KSettingsGeneral(TQWidget* parent = 0, const char* name = 0); ~KSettingsGeneral(); protected slots: diff --git a/kmymoney2/dialogs/settings/ksettingsgpg.cpp b/kmymoney2/dialogs/settings/ksettingsgpg.cpp index b6cca2e..fc0c4eb 100644 --- a/kmymoney2/dialogs/settings/ksettingsgpg.cpp +++ b/kmymoney2/dialogs/settings/ksettingsgpg.cpp @@ -40,8 +40,8 @@ #define RECOVER_KEY_ID "0xD2B08440" #define RECOVER_KEY_ID_FULL "59B0F826D2B08440" -KSettingsGpg::KSettingsGpg(TQWidget* tqparent, const char* name) : - KSettingsGpgDecl(tqparent, name), +KSettingsGpg::KSettingsGpg(TQWidget* parent, const char* name) : + KSettingsGpgDecl(parent, name), m_checkCount(0), m_needCheckList(true), m_listOk(false) diff --git a/kmymoney2/dialogs/settings/ksettingsgpg.h b/kmymoney2/dialogs/settings/ksettingsgpg.h index 2508192..ff279b3 100644 --- a/kmymoney2/dialogs/settings/ksettingsgpg.h +++ b/kmymoney2/dialogs/settings/ksettingsgpg.h @@ -35,7 +35,7 @@ class KSettingsGpg : public KSettingsGpgDecl TQ_OBJECT public: - KSettingsGpg(TQWidget* tqparent = 0, const char* name = 0); + KSettingsGpg(TQWidget* parent = 0, const char* name = 0); ~KSettingsGpg(); public slots: diff --git a/kmymoney2/dialogs/settings/ksettingshome.cpp b/kmymoney2/dialogs/settings/ksettingshome.cpp index a874de7..44bd10b 100644 --- a/kmymoney2/dialogs/settings/ksettingshome.cpp +++ b/kmymoney2/dialogs/settings/ksettingshome.cpp @@ -38,8 +38,8 @@ #include "kmymoney2/kmymoneyglobalsettings.h" #include "kmymoney2/kmymoneyutils.h" -KSettingsHome::KSettingsHome(TQWidget* tqparent, const char* name) : - KSettingsHomeDecl(tqparent, name), +KSettingsHome::KSettingsHome(TQWidget* parent, const char* name) : + KSettingsHomeDecl(parent, name), m_noNeedToUpdateList(false) { m_homePageList->addColumn(""); diff --git a/kmymoney2/dialogs/settings/ksettingshome.h b/kmymoney2/dialogs/settings/ksettingshome.h index 9717b2d..be51648 100644 --- a/kmymoney2/dialogs/settings/ksettingshome.h +++ b/kmymoney2/dialogs/settings/ksettingshome.h @@ -36,7 +36,7 @@ class KSettingsHome : public KSettingsHomeDecl TQ_OBJECT public: - KSettingsHome(TQWidget* tqparent = 0, const char* name = 0); + KSettingsHome(TQWidget* parent = 0, const char* name = 0); ~KSettingsHome(); protected slots: diff --git a/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp b/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp index 670e5ab..8a774da 100644 --- a/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp +++ b/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp @@ -39,8 +39,8 @@ #include "ksettingsonlinequotes.h" #include "kmymoney2/converter/webpricequote.h" -KSettingsOnlineQuotes::KSettingsOnlineQuotes(TQWidget *tqparent, const char *name ) - : KSettingsOnlineQuotesDecl(tqparent, name) +KSettingsOnlineQuotes::KSettingsOnlineQuotes(TQWidget *parent, const char *name ) + : KSettingsOnlineQuotesDecl(parent, name) { TQStringList groups = WebPriceQuote::quoteSources(); diff --git a/kmymoney2/dialogs/settings/ksettingsonlinequotes.h b/kmymoney2/dialogs/settings/ksettingsonlinequotes.h index ef9abe2..d144e5b 100644 --- a/kmymoney2/dialogs/settings/ksettingsonlinequotes.h +++ b/kmymoney2/dialogs/settings/ksettingsonlinequotes.h @@ -35,7 +35,7 @@ class KSettingsOnlineQuotes : public KSettingsOnlineQuotesDecl Q_OBJECT TQ_OBJECT public: - KSettingsOnlineQuotes(TQWidget* tqparent = 0, const char *name = 0); + KSettingsOnlineQuotes(TQWidget* parent = 0, const char *name = 0); virtual ~KSettingsOnlineQuotes() {} void writeConfig(void) {} diff --git a/kmymoney2/dialogs/settings/ksettingsplugins.cpp b/kmymoney2/dialogs/settings/ksettingsplugins.cpp index b44e124..20434f6 100644 --- a/kmymoney2/dialogs/settings/ksettingsplugins.cpp +++ b/kmymoney2/dialogs/settings/ksettingsplugins.cpp @@ -35,8 +35,8 @@ #include "kmymoney2/plugins/pluginloader.h" #include "ksettingsplugins.h" -KSettingsPlugins::KSettingsPlugins(TQWidget* tqparent) - : TQWidget(tqparent) +KSettingsPlugins::KSettingsPlugins(TQWidget* parent) + : TQWidget(parent) { TQVBoxLayout *tqlayout = new TQVBoxLayout(this); KMyMoneyPlugin::PluginLoader::instance()->pluginSelectorWidget()->reparent(this, TQPoint()); diff --git a/kmymoney2/dialogs/settings/ksettingsplugins.h b/kmymoney2/dialogs/settings/ksettingsplugins.h index 0106afb..3f62e13 100644 --- a/kmymoney2/dialogs/settings/ksettingsplugins.h +++ b/kmymoney2/dialogs/settings/ksettingsplugins.h @@ -36,7 +36,7 @@ class KSettingsPlugins : public TQWidget public: - KSettingsPlugins(TQWidget* tqparent = 0); + KSettingsPlugins(TQWidget* parent = 0); ~KSettingsPlugins(); public slots: diff --git a/kmymoney2/dialogs/settings/ksettingsregister.cpp b/kmymoney2/dialogs/settings/ksettingsregister.cpp index e6a278e..5929eaf 100644 --- a/kmymoney2/dialogs/settings/ksettingsregister.cpp +++ b/kmymoney2/dialogs/settings/ksettingsregister.cpp @@ -28,8 +28,8 @@ #include "ksettingsregister.h" #include <kmymoney/transactionsortoption.h> -KSettingsRegister::KSettingsRegister(TQWidget* tqparent, const char* name) : - KSettingsRegisterDecl(tqparent, name) +KSettingsRegister::KSettingsRegister(TQWidget* parent, const char* name) : + KSettingsRegisterDecl(parent, name) { // hide the internally used text fields kcfg_sortNormalView->hide(); diff --git a/kmymoney2/dialogs/settings/ksettingsregister.h b/kmymoney2/dialogs/settings/ksettingsregister.h index 7fa475f..a56a7dd 100644 --- a/kmymoney2/dialogs/settings/ksettingsregister.h +++ b/kmymoney2/dialogs/settings/ksettingsregister.h @@ -34,7 +34,7 @@ class KSettingsRegister : public KSettingsRegisterDecl TQ_OBJECT public: - KSettingsRegister(TQWidget* tqparent = 0, const char* name = 0); + KSettingsRegister(TQWidget* parent = 0, const char* name = 0); ~KSettingsRegister(); protected slots: diff --git a/kmymoney2/dialogs/settings/ksettingsschedules.cpp b/kmymoney2/dialogs/settings/ksettingsschedules.cpp index 05dc80f..f51c465 100644 --- a/kmymoney2/dialogs/settings/ksettingsschedules.cpp +++ b/kmymoney2/dialogs/settings/ksettingsschedules.cpp @@ -25,8 +25,8 @@ #include "ksettingsschedules.h" -KSettingsSchedules::KSettingsSchedules(TQWidget* tqparent, const char* name) : - KSettingsSchedulesDecl(tqparent, name) +KSettingsSchedules::KSettingsSchedules(TQWidget* parent, const char* name) : + KSettingsSchedulesDecl(parent, name) { } diff --git a/kmymoney2/dialogs/settings/ksettingsschedules.h b/kmymoney2/dialogs/settings/ksettingsschedules.h index 06e5af6..f70aa77 100644 --- a/kmymoney2/dialogs/settings/ksettingsschedules.h +++ b/kmymoney2/dialogs/settings/ksettingsschedules.h @@ -35,7 +35,7 @@ class KSettingsSchedules : public KSettingsSchedulesDecl TQ_OBJECT public: - KSettingsSchedules(TQWidget* tqparent = 0, const char* name = 0); + KSettingsSchedules(TQWidget* parent = 0, const char* name = 0); ~KSettingsSchedules(); }; #endif diff --git a/kmymoney2/dialogs/transactioneditor.cpp b/kmymoney2/dialogs/transactioneditor.cpp index ec01613..63ff168 100644 --- a/kmymoney2/dialogs/transactioneditor.cpp +++ b/kmymoney2/dialogs/transactioneditor.cpp @@ -1785,33 +1785,33 @@ bool StdTransactionEditor::isComplete(TQString& reason) const void StdTransactionEditor::slotCreateCategory(const TQString& name, TQString& id) { - MyMoneyAccount acc, tqparent; + MyMoneyAccount acc, parent; acc.setName(name); KMyMoneyCashFlowCombo* cashflow = dynamic_cast<KMyMoneyCashFlowCombo*>(haveWidget("cashflow")); if(cashflow) { // form based input if(cashflow->direction() == KMyMoneyRegister::Deposit) - tqparent = MyMoneyFile::instance()->income(); + parent = MyMoneyFile::instance()->income(); else - tqparent = MyMoneyFile::instance()->expense(); + parent = MyMoneyFile::instance()->expense(); } else if(haveWidget("deposit")) { // register based input kMyMoneyEdit* deposit = dynamic_cast<kMyMoneyEdit*>(m_editWidgets["deposit"]); if(deposit->value().isPositive()) - tqparent = MyMoneyFile::instance()->income(); + parent = MyMoneyFile::instance()->income(); else - tqparent = MyMoneyFile::instance()->expense(); + parent = MyMoneyFile::instance()->expense(); } else - tqparent = MyMoneyFile::instance()->expense(); + parent = MyMoneyFile::instance()->expense(); // TODO extract possible first part of a hierarchy and check if it is one - // of our top categories. If so, remove it and select the tqparent + // of our top categories. If so, remove it and select the parent // according to this information. - emit createCategory(acc, tqparent); + emit createCategory(acc, parent); // return id id = acc.id(); diff --git a/kmymoney2/dialogs/transactioneditor.h b/kmymoney2/dialogs/transactioneditor.h index 72ecff8..5d3bc96 100644 --- a/kmymoney2/dialogs/transactioneditor.h +++ b/kmymoney2/dialogs/transactioneditor.h @@ -212,13 +212,13 @@ signals: /** * This signal is sent out, when a new category needs to be created - * Depending on the setting of either a payment or deposit, the tqparent + * Depending on the setting of either a payment or deposit, the parent * account will be preset to Expense or Income. * * @param account reference to account info. Will be filled by called slot - * @param tqparent reference to tqparent account + * @param parent reference to parent account */ - void createCategory(MyMoneyAccount& account, const MyMoneyAccount& tqparent); + void createCategory(MyMoneyAccount& account, const MyMoneyAccount& parent); /** * This signal is sent out, when a new security (e.g. stock )needs to be created @@ -226,9 +226,9 @@ signals: * will be created. * * @param account reference to account info. Will be filled by called slot - * @param tqparent reference to tqparent account + * @param parent reference to parent account */ - void createSecurity(MyMoneyAccount& account, const MyMoneyAccount& tqparent); + void createSecurity(MyMoneyAccount& account, const MyMoneyAccount& parent); /** * Signal is emitted, if any of the widgets enters (@a state equals @a true) @@ -274,9 +274,9 @@ signals: /** * This signal is sent out, if any of the balance warning levels * for @p account has been reached. @p msg contains the message text. - * @p tqparent points to the tqparent widget to be used for the warning message box. + * @p parent points to the parent widget to be used for the warning message box. */ - void balanceWarning(TQWidget* tqparent, const MyMoneyAccount& account, const TQString& msg); + void balanceWarning(TQWidget* parent, const MyMoneyAccount& account, const TQString& msg); protected: TQValueList<MyMoneySplit> m_splits; |