From 2889777f69ae16aff91ebe836bcdf3b8ad43378c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 24 Nov 2023 10:47:39 +0900 Subject: [PATCH] Replaced various '#define' with actual strings - part 3 Signed-off-by: Michele Calgaro (cherry picked from commit 9bb2179ec0b55df8162909ad36a2781f73e5e734) --- kmymoney2/kmymoney2.cpp | 2 +- kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp | 2 +- kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp | 2 +- kmymoney2/widgets/kmymoneyaccounttreebase.cpp | 2 +- kmymoney2/widgets/kmymoneycalendar.cpp | 4 ++-- kmymoney2/widgets/register.cpp | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/kmymoney2/kmymoney2.cpp b/kmymoney2/kmymoney2.cpp index 23556a7..7657846 100644 --- a/kmymoney2/kmymoney2.cpp +++ b/kmymoney2/kmymoney2.cpp @@ -3242,7 +3242,7 @@ void KMyMoney2App::slotAccountReconcileFinish(void) file->modifyTransaction(t); // ... and the list - (*it) = tqMakePair(t, sp); + (*it) = qMakePair(t, sp); } ft.commit(); diff --git a/kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp b/kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp index 48dfe4c..c50af90 100644 --- a/kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp +++ b/kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp @@ -790,7 +790,7 @@ void MyMoneyDatabaseMgr::transactionList(TQValueList::const_iterator it_s; for(it_s = filter.matchingSplits().begin(); it_s != filter.matchingSplits().end(); ++it_s) { - list.append(tqMakePair(*it_t, *it_s)); + list.append(qMakePair(*it_t, *it_s)); } } } diff --git a/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp b/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp index 5cf448c..84c02a1 100644 --- a/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp +++ b/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp @@ -803,7 +803,7 @@ void MyMoneySeqAccessMgr::transactionList(TQValueList< TQPair::const_iterator it_s; for(it_s = filter.matchingSplits().begin(); it_s != filter.matchingSplits().end(); ++it_s) { - list.append(tqMakePair(*it_t, *it_s)); + list.append(qMakePair(*it_t, *it_s)); } } } diff --git a/kmymoney2/widgets/kmymoneyaccounttreebase.cpp b/kmymoney2/widgets/kmymoneyaccounttreebase.cpp index 274a629..099f7d8 100644 --- a/kmymoney2/widgets/kmymoneyaccounttreebase.cpp +++ b/kmymoney2/widgets/kmymoneyaccounttreebase.cpp @@ -518,7 +518,7 @@ void KMyMoneyAccountTreeBase::viewportPaintEvent(TQPaintEvent* e) TQPainter painter(viewport()); // This is where we actually draw the drop-highlighter - style().tqdrawPrimitive(TQStyle::PE_FocusRect, &painter, m_lastDropHighlighter, colorGroup(), + style().drawPrimitive(TQStyle::PE_FocusRect, &painter, m_lastDropHighlighter, colorGroup(), TQStyle::Style_FocusAtBorder); } } diff --git a/kmymoney2/widgets/kmymoneycalendar.cpp b/kmymoney2/widgets/kmymoneycalendar.cpp index 7a4158a..74b3ea1 100644 --- a/kmymoney2/widgets/kmymoneycalendar.cpp +++ b/kmymoney2/widgets/kmymoneycalendar.cpp @@ -214,7 +214,7 @@ kMyMoneyCalendar::resizeEvent(TQResizeEvent*) // ----- calculate size of the month button: for(count=0; count idx = tqMakePair(row, col); + TQPair idx = qMakePair(row, col); TQMap, TQWidget*>::const_iterator it_w; it_w = m_cellWidgets.find(idx); @@ -1905,7 +1905,7 @@ void Register::insertWidget(int row, int col, TQWidget* w) return; } - TQPair idx = tqMakePair(row, col); + TQPair idx = qMakePair(row, col); m_cellWidgets[idx] = w; } @@ -1916,7 +1916,7 @@ void Register::clearCellWidget(int row, int col) return; } - TQPair idx = tqMakePair(row, col); + TQPair idx = qMakePair(row, col); TQMap, TQWidget*>::iterator it_w; it_w = m_cellWidgets.find(idx);