diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:29:46 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:52:07 +0900 |
commit | e84ff3d61520e4200f987d3a0b6bea570b2e8b32 (patch) | |
tree | 43f3284f87377cf1b3cb29edfc8893484731518b /kmymoney2/dialogs/ksplittransactiondlg.cpp | |
parent | da9081a78aa22cc87ff98f07719e1c3befaebfc2 (diff) | |
download | kmymoney-e84ff3d61520e4200f987d3a0b6bea570b2e8b32.tar.gz kmymoney-e84ff3d61520e4200f987d3a0b6bea570b2e8b32.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmymoney2/dialogs/ksplittransactiondlg.cpp')
-rw-r--r-- | kmymoney2/dialogs/ksplittransactiondlg.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kmymoney2/dialogs/ksplittransactiondlg.cpp b/kmymoney2/dialogs/ksplittransactiondlg.cpp index 30a8a51..b8fd102 100644 --- a/kmymoney2/dialogs/ksplittransactiondlg.cpp +++ b/kmymoney2/dialogs/ksplittransactiondlg.cpp @@ -99,19 +99,19 @@ KSplitTransactionDlg::KSplitTransactionDlg(const MyMoneyTransaction& t, clearAllBtn->setFocusPolicy(TQWidget::NoFocus); // connect signals with slots - connect(transactionsTable, TQT_SIGNAL(transactionChanged(const MyMoneyTransaction&)), - this, TQT_SLOT(slotSetTransaction(const MyMoneyTransaction&))); - connect(transactionsTable, TQT_SIGNAL(createCategory(const TQString&, TQString&)), this, TQT_SLOT(slotCreateCategory(const TQString&, TQString&))); - connect(transactionsTable, TQT_SIGNAL(objectCreation(bool)), this, TQT_SIGNAL(objectCreation(bool))); + connect(transactionsTable, TQ_SIGNAL(transactionChanged(const MyMoneyTransaction&)), + this, TQ_SLOT(slotSetTransaction(const MyMoneyTransaction&))); + connect(transactionsTable, TQ_SIGNAL(createCategory(const TQString&, TQString&)), this, TQ_SLOT(slotCreateCategory(const TQString&, TQString&))); + connect(transactionsTable, TQ_SIGNAL(objectCreation(bool)), this, TQ_SIGNAL(objectCreation(bool))); - connect(transactionsTable, TQT_SIGNAL(returnPressed()), this, TQT_SLOT(accept())); - connect(transactionsTable, TQT_SIGNAL(escapePressed()), this, TQT_SLOT(reject())); + connect(transactionsTable, TQ_SIGNAL(returnPressed()), this, TQ_SLOT(accept())); + connect(transactionsTable, TQ_SIGNAL(escapePressed()), this, TQ_SLOT(reject())); - connect(cancelBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject())); - connect(finishBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept())); - connect(clearAllBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClearAllSplits())); - connect(mergeBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotMergeSplits())); - connect(clearZeroBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClearUnusedSplits())); + connect(cancelBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject())); + connect(finishBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept())); + connect(clearAllBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClearAllSplits())); + connect(mergeBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotMergeSplits())); + connect(clearZeroBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClearUnusedSplits())); // setup the precision try { @@ -138,7 +138,7 @@ KSplitTransactionDlg::KSplitTransactionDlg(const MyMoneyTransaction& t, // is incorrect. If the widget is visible, resizing works correctly. // So, we let the dialog show up and resize it then. It's not really // clean, but the only way I got the damned thing working. - TQTimer::singleShot( 10, this, TQT_SLOT(initSize()) ); + TQTimer::singleShot( 10, this, TQ_SLOT(initSize()) ); } KSplitTransactionDlg::~KSplitTransactionDlg() |