summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kpayeereassigndlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kpayeereassigndlg.cpp')
-rw-r--r--kmymoney2/dialogs/kpayeereassigndlg.cpp14
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();