From c650254e1855d383dcafd15d18be20becc3b2253 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:31:17 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/loandialog.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/loandialog.cpp') diff --git a/src/loandialog.cpp b/src/loandialog.cpp index fcaed2c..010b929 100644 --- a/src/loandialog.cpp +++ b/src/loandialog.cpp @@ -99,11 +99,11 @@ void LoanDialog::init() { m_borrowerEdit = new KLineEdit(hbox); l->setBuddy(m_borrowerEdit); m_borrowerEdit->completionObject()->setIgnoreCase(true); - connect(m_borrowerEdit, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(slotBorrowerNameChanged(const TQString&))); + connect(m_borrowerEdit, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(slotBorrowerNameChanged(const TQString&))); actionButton(Ok)->setEnabled(false); // disable until a name is entered KPushButton* pb = new KPushButton(SmallIconSet(TQString::fromLatin1("kaddressbook")), TQString(), hbox); - connect(pb, TQT_SIGNAL(clicked()), TQT_SLOT(slotGetBorrower())); + connect(pb, TQ_SIGNAL(clicked()), TQ_SLOT(slotGetBorrower())); TQString whats = i18n("Enter the name of the person borrowing the items from you. " "Clicking the button allows you to select from your address book."); TQWhatsThis::add(l, whats); @@ -135,7 +135,7 @@ void LoanDialog::init() { l->setBuddy(m_dueDate); topLayout->addWidget(m_dueDate, 3, 1); // valid due dates will enable the calendar adding checkbox - connect(m_dueDate, TQT_SIGNAL(signalModified()), TQT_SLOT(slotDueDateChanged())); + connect(m_dueDate, TQ_SIGNAL(signalModified()), TQ_SLOT(slotDueDateChanged())); whats = i18n("The due date is when the items are due to be returned. The due date " "is not required, unless you want to add the loan to your active calendar."); TQWhatsThis::add(l, whats); @@ -161,10 +161,10 @@ void LoanDialog::init() { resize(configDialogSize(TQString::fromLatin1("Loan Dialog Options"))); TDEABC::AddressBook* abook = TDEABC::StdAddressBook::self(true); - connect(abook, TQT_SIGNAL(addressBookChanged(AddressBook*)), - TQT_SLOT(slotLoadAddressBook())); - connect(abook, TQT_SIGNAL(loadingFinished(Resource*)), - TQT_SLOT(slotLoadAddressBook())); + connect(abook, TQ_SIGNAL(addressBookChanged(AddressBook*)), + TQ_SLOT(slotLoadAddressBook())); + connect(abook, TQ_SIGNAL(loadingFinished(Resource*)), + TQ_SLOT(slotLoadAddressBook())); slotLoadAddressBook(); } -- cgit v1.2.1