diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-14 21:19:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-15 11:46:39 +0900 |
commit | f892e5be3d09d6a1983813bb9fe8f793b08b7054 (patch) | |
tree | 48834151149dcad594e50c5e1d77d9085f2f7556 /kmymoney2/dialogs | |
parent | debbb9657675867af9800ac8fa6036f850edfb4d (diff) | |
download | kmymoney-f892e5be3d09d6a1983813bb9fe8f793b08b7054.tar.gz kmymoney-f892e5be3d09d6a1983813bb9fe8f793b08b7054.zip |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit da9081a78aa22cc87ff98f07719e1c3befaebfc2)
Diffstat (limited to 'kmymoney2/dialogs')
-rw-r--r-- | kmymoney2/dialogs/kcategoryreassigndlg.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/dialogs/keditscheduledlg.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/dialogs/kmymoneysplittable.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/dialogs/knewaccountdlg.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/dialogs/knewbankdlg.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/dialogs/knewinvestmentwizard.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/dialogs/kpayeereassigndlg.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/dialogs/mymoneyqifprofileeditor.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/dialogs/tdeselectdatabasedlg.cpp | 4 |
9 files changed, 10 insertions, 10 deletions
diff --git a/kmymoney2/dialogs/kcategoryreassigndlg.cpp b/kmymoney2/dialogs/kcategoryreassigndlg.cpp index 507c76c..e481b17 100644 --- a/kmymoney2/dialogs/kcategoryreassigndlg.cpp +++ b/kmymoney2/dialogs/kcategoryreassigndlg.cpp @@ -45,7 +45,7 @@ KCategoryReassignDlg::KCategoryReassignDlg( TQWidget* parent, const char* name) { buttonOk->setGuiItem(KStdGuiItem::ok()); buttonCancel->setGuiItem(KStdGuiItem::cancel()); - kMandatoryFieldGroup* mandatory = new kMandatoryFieldGroup(TQT_TQOBJECT(this)); + kMandatoryFieldGroup* mandatory = new kMandatoryFieldGroup(this); mandatory->add(m_category); mandatory->setOkButton(buttonOk); } diff --git a/kmymoney2/dialogs/keditscheduledlg.cpp b/kmymoney2/dialogs/keditscheduledlg.cpp index 0d6a3a1..e67e680 100644 --- a/kmymoney2/dialogs/keditscheduledlg.cpp +++ b/kmymoney2/dialogs/keditscheduledlg.cpp @@ -75,7 +75,7 @@ KEditScheduleDlg::KEditScheduleDlg(const MyMoneySchedule& schedule, TQWidget *pa buttonCancel->setGuiItem(KStdGuiItem::cancel()); buttonHelp->setGuiItem(KStdGuiItem::help()); - d->m_requiredFields = new kMandatoryFieldGroup (TQT_TQOBJECT(this)); + d->m_requiredFields = new kMandatoryFieldGroup (this); d->m_requiredFields->setOkButton(buttonOk); // button to be enabled when all fields present // make sure, we have a tabbar with the form diff --git a/kmymoney2/dialogs/kmymoneysplittable.cpp b/kmymoney2/dialogs/kmymoneysplittable.cpp index 7a5cc06..4a71553 100644 --- a/kmymoney2/dialogs/kmymoneysplittable.cpp +++ b/kmymoney2/dialogs/kmymoneysplittable.cpp @@ -957,7 +957,7 @@ void kMyMoneySplitTable::addToTabOrder(TQWidget* w) { if(w) { while(w->focusProxy()) - w = TQT_TQWIDGET(w->focusProxy()); + w = w->focusProxy(); m_tabOrderWidgets.append(w); } } diff --git a/kmymoney2/dialogs/knewaccountdlg.cpp b/kmymoney2/dialogs/knewaccountdlg.cpp index 4fe343c..4d86d4d 100644 --- a/kmymoney2/dialogs/knewaccountdlg.cpp +++ b/kmymoney2/dialogs/knewaccountdlg.cpp @@ -435,7 +435,7 @@ KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bo slotVatAssignmentChanged(m_vatAssignment->isChecked()); slotCheckFinished(); - kMandatoryFieldGroup* requiredFields = new kMandatoryFieldGroup (TQT_TQOBJECT(this)); + kMandatoryFieldGroup* requiredFields = new kMandatoryFieldGroup (this); requiredFields->setOkButton(createButton); // button to be enabled when all fields present requiredFields->add(accountNameEdit); diff --git a/kmymoney2/dialogs/knewbankdlg.cpp b/kmymoney2/dialogs/knewbankdlg.cpp index 136a5a8..85b0984 100644 --- a/kmymoney2/dialogs/knewbankdlg.cpp +++ b/kmymoney2/dialogs/knewbankdlg.cpp @@ -63,7 +63,7 @@ KNewBankDlg::KNewBankDlg(MyMoneyInstitution& institution, TQWidget *parent, cons connect(nameEdit, TQT_SIGNAL(textChanged ( const TQString & )), TQT_SLOT(institutionNameChanged( const TQString &))); institutionNameChanged( nameEdit->text()); - kMandatoryFieldGroup* requiredFields = new kMandatoryFieldGroup (TQT_TQOBJECT(this)); + kMandatoryFieldGroup* requiredFields = new kMandatoryFieldGroup (this); requiredFields->setOkButton(okBtn); // button to be enabled when all fields present requiredFields->add(nameEdit); } diff --git a/kmymoney2/dialogs/knewinvestmentwizard.cpp b/kmymoney2/dialogs/knewinvestmentwizard.cpp index 14da19c..e7df5f2 100644 --- a/kmymoney2/dialogs/knewinvestmentwizard.cpp +++ b/kmymoney2/dialogs/knewinvestmentwizard.cpp @@ -106,7 +106,7 @@ void KNewInvestmentWizard::init1(void) m_fraction->setPrecision(0); m_fraction->setValue(MyMoneyMoney(100, 1)); - kMyMoneyMoneyValidator* fractionValidator = new kMyMoneyMoneyValidator(1, 100000, 0, TQT_TQOBJECT(this)); + kMyMoneyMoneyValidator* fractionValidator = new kMyMoneyMoneyValidator(1, 100000, 0, this); m_fraction->setValidator(fractionValidator); // load the price mode combo diff --git a/kmymoney2/dialogs/kpayeereassigndlg.cpp b/kmymoney2/dialogs/kpayeereassigndlg.cpp index cc281f6..6b8351c 100644 --- a/kmymoney2/dialogs/kpayeereassigndlg.cpp +++ b/kmymoney2/dialogs/kpayeereassigndlg.cpp @@ -45,7 +45,7 @@ KPayeeReassignDlg::KPayeeReassignDlg( TQWidget* parent, const char* name) : { buttonOk->setGuiItem(KStdGuiItem::ok()); buttonCancel->setGuiItem(KStdGuiItem::cancel()); - kMandatoryFieldGroup* mandatory = new kMandatoryFieldGroup(TQT_TQOBJECT(this)); + kMandatoryFieldGroup* mandatory = new kMandatoryFieldGroup(this); mandatory->add(payeeCombo); mandatory->setOkButton(buttonOk); } diff --git a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp index 4dda2df..ff56d28 100644 --- a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp +++ b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp @@ -402,7 +402,7 @@ void MyMoneyQifProfileEditor::slotNew(void) const TQString MyMoneyQifProfileEditor::enterName(bool& ok) { - MyMoneyQifProfileNameValidator val(TQT_TQOBJECT(this), "Validator"); + MyMoneyQifProfileNameValidator val(this, "Validator"); #if KDE_IS_VERSION(3,2,0) return KInputDialog::getText(i18n("QIF Profile Editor"), i18n("Enter new profile name"), diff --git a/kmymoney2/dialogs/tdeselectdatabasedlg.cpp b/kmymoney2/dialogs/tdeselectdatabasedlg.cpp index 59a2743..f5d6a3b 100644 --- a/kmymoney2/dialogs/tdeselectdatabasedlg.cpp +++ b/kmymoney2/dialogs/tdeselectdatabasedlg.cpp @@ -79,7 +79,7 @@ TDESelectDatabaseDlg::TDESelectDatabaseDlg(TQWidget *parent, const char *name) if (pwd != 0) textUserName->setText (TQString(pwd->pw_name)); textPassword->setText (""); - m_requiredFields = new kMandatoryFieldGroup(TQT_TQOBJECT(this)); + m_requiredFields = new kMandatoryFieldGroup(this); m_requiredFields->setOkButton(buttonOK); m_requiredFields->add(listDrivers); m_requiredFields->add(textDbName); @@ -135,7 +135,7 @@ TDESelectDatabaseDlg::TDESelectDatabaseDlg(KURL openURL, TQWidget *parent, const textPassword->setFocus(); buttonSQL->setEnabled(false); // set password as required - m_requiredFields = new kMandatoryFieldGroup(TQT_TQOBJECT(this)); + m_requiredFields = new kMandatoryFieldGroup(this); m_requiredFields->add(textPassword); m_requiredFields->setOkButton(buttonOK); |