diff options
author | Michele Calgaro <[email protected]> | 2024-01-04 10:31:17 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-07 14:53:04 +0900 |
commit | aa5bb4434eb6b60314787106284ad99294de4468 (patch) | |
tree | 3a766a6cc84578b8fa8f5a6db323de24c57959d8 /src/loanview.cpp | |
parent | 727a2e58bc79c09f53766110fb7c31d3f3af1e46 (diff) | |
download | tellico-aa5bb4434eb6b60314787106284ad99294de4468.tar.gz tellico-aa5bb4434eb6b60314787106284ad99294de4468.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c650254e1855d383dcafd15d18be20becc3b2253)
Diffstat (limited to 'src/loanview.cpp')
-rw-r--r-- | src/loanview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/loanview.cpp b/src/loanview.cpp index 324c27a..64d3464 100644 --- a/src/loanview.cpp +++ b/src/loanview.cpp @@ -38,14 +38,14 @@ LoanView::LoanView(TQWidget* parent_, const char* name_) : GUI::ListView(parent_ setTreeStepSize(15); setFullWidth(true); - connect(this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), - TQT_SLOT(contextMenuRequested(TQListViewItem*, const TQPoint&, int))); + connect(this, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), + TQ_SLOT(contextMenuRequested(TQListViewItem*, const TQPoint&, int))); - connect(this, TQT_SIGNAL(expanded(TQListViewItem*)), - TQT_SLOT(slotExpanded(TQListViewItem*))); + connect(this, TQ_SIGNAL(expanded(TQListViewItem*)), + TQ_SLOT(slotExpanded(TQListViewItem*))); - connect(this, TQT_SIGNAL(collapsed(TQListViewItem*)), - TQT_SLOT(slotCollapsed(TQListViewItem*))); + connect(this, TQ_SIGNAL(collapsed(TQListViewItem*)), + TQ_SLOT(slotCollapsed(TQListViewItem*))); } bool LoanView::isSelectable(GUI::ListViewItem* item_) const { @@ -71,9 +71,9 @@ void LoanView::contextMenuRequested(TQListViewItem* item_, const TQPoint& point_ if(item->isLoanItem()) { TDEPopupMenu menu(this); menu.insertItem(SmallIconSet(TQString::fromLatin1("2downarrow")), - i18n("Check-in"), this, TQT_SLOT(slotCheckIn())); + i18n("Check-in"), this, TQ_SLOT(slotCheckIn())); menu.insertItem(SmallIconSet(TQString::fromLatin1("2downarrow")), - i18n("Modify Loan..."), this, TQT_SLOT(slotModifyLoan())); + i18n("Modify Loan..."), this, TQ_SLOT(slotModifyLoan())); menu.exec(point_); } } |