diff options
Diffstat (limited to 'src/borrowerdialog.cpp')
-rw-r--r-- | src/borrowerdialog.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/borrowerdialog.cpp b/src/borrowerdialog.cpp index d7a8b22..9969be4 100644 --- a/src/borrowerdialog.cpp +++ b/src/borrowerdialog.cpp @@ -25,21 +25,21 @@ using Tellico::BorrowerDialog; -BorrowerDialog::Item::Item(KListView* tqparent_, const KABC::Addressee& add_) - : KListViewItem(tqparent_), m_uid(add_.uid()) { +BorrowerDialog::Item::Item(KListView* parent_, const KABC::Addressee& add_) + : KListViewItem(parent_), m_uid(add_.uid()) { setText(0, add_.realName()); setPixmap(0, SmallIcon(TQString::tqfromLatin1("kaddressbook"))); } -BorrowerDialog::Item::Item(KListView* tqparent_, const Data::Borrower& bor_) - : KListViewItem(tqparent_), m_uid(bor_.uid()) { +BorrowerDialog::Item::Item(KListView* parent_, const Data::Borrower& bor_) + : KListViewItem(parent_), m_uid(bor_.uid()) { setText(0, bor_.name()); setPixmap(0, SmallIcon(TQString::tqfromLatin1("tellico"))); } // default button is going to be used as a print button, so it's separated -BorrowerDialog::BorrowerDialog(TQWidget* tqparent_, const char* name_/*=0*/) - : KDialogBase(tqparent_, name_, true, i18n("Select Borrower"), Ok|Cancel) { +BorrowerDialog::BorrowerDialog(TQWidget* parent_, const char* name_/*=0*/) + : KDialogBase(parent_, name_, true, i18n("Select Borrower"), Ok|Cancel) { TQWidget* mainWidget = new TQWidget(this, "BorrowerDialog mainWidget"); setMainWidget(mainWidget); TQVBoxLayout* topLayout = new TQVBoxLayout(mainWidget, 0, KDialog::spacingHint()); @@ -124,8 +124,8 @@ Tellico::Data::BorrowerPtr BorrowerDialog::borrower() { } // static -Tellico::Data::BorrowerPtr BorrowerDialog::getBorrower(TQWidget* tqparent_) { - BorrowerDialog dlg(tqparent_); +Tellico::Data::BorrowerPtr BorrowerDialog::getBorrower(TQWidget* parent_) { + BorrowerDialog dlg(parent_); if(dlg.exec() == TQDialog::Accepted) { return dlg.borrower(); |