diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
commit | fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch) | |
tree | 6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/dialogs/kpayeereassigndlg.cpp | |
parent | dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff) | |
download | kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip |
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/dialogs/kpayeereassigndlg.cpp')
-rw-r--r-- | kmymoney2/dialogs/kpayeereassigndlg.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/dialogs/kpayeereassigndlg.cpp b/kmymoney2/dialogs/kpayeereassigndlg.cpp index 0ed8a5a..dc03518 100644 --- a/kmymoney2/dialogs/kpayeereassigndlg.cpp +++ b/kmymoney2/dialogs/kpayeereassigndlg.cpp @@ -36,12 +36,12 @@ #include <kmymoney/kmymoneycombo.h> #include <kmymoney/kguiutils.h> -KPayeeReassignDlg::KPayeeReassignDlg( QWidget* parent, const char* name) : - KPayeeReassignDlgDecl( parent, name) +KPayeeReassignDlg::KPayeeReassignDlg( TQWidget* tqparent, const char* name) : + KPayeeReassignDlgDecl( tqparent, name) { buttonOk->setGuiItem(KStdGuiItem::ok()); buttonCancel->setGuiItem(KStdGuiItem::cancel()); - kMandatoryFieldGroup* mandatory = new kMandatoryFieldGroup(this); + kMandatoryFieldGroup* mandatory = new kMandatoryFieldGroup(TQT_TQOBJECT(this)); mandatory->add(payeeCombo); mandatory->setOkButton(buttonOk); } @@ -50,16 +50,16 @@ KPayeeReassignDlg::~KPayeeReassignDlg() { } -QString KPayeeReassignDlg::show(const QValueList<MyMoneyPayee>& payeeslist) +TQString KPayeeReassignDlg::show(const TQValueList<MyMoneyPayee>& payeeslist) { if (payeeslist.isEmpty()) - return QString(); // no payee available? nothing can be selected... + return TQString(); // no payee available? nothing can be selected... payeeCombo->loadPayees(payeeslist); // execute dialog and if aborted, return empty string - if (this->exec() == QDialog::Rejected) - return QString(); + if (this->exec() == TQDialog::Rejected) + return TQString(); // otherwise return index of selected payee return payeeCombo->selectedItem(); |