summaryrefslogtreecommitdiffstats
path: root/src/loandialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:31:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-07 14:53:04 +0900
commitaa5bb4434eb6b60314787106284ad99294de4468 (patch)
tree3a766a6cc84578b8fa8f5a6db323de24c57959d8 /src/loandialog.cpp
parent727a2e58bc79c09f53766110fb7c31d3f3af1e46 (diff)
downloadtellico-aa5bb4434eb6b60314787106284ad99294de4468.tar.gz
tellico-aa5bb4434eb6b60314787106284ad99294de4468.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c650254e1855d383dcafd15d18be20becc3b2253)
Diffstat (limited to 'src/loandialog.cpp')
-rw-r--r--src/loandialog.cpp16
1 files changed, 8 insertions, 8 deletions
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();
}