summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kmymoneysplittable.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:29:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-07 14:51:21 +0900
commit3a528d873ff72828fb9b19bed38a2b869b449089 (patch)
tree9b72c543b078fb622b3dbcdf1c397ae899433638 /kmymoney2/dialogs/kmymoneysplittable.cpp
parent04ddc8237ccd12dcc44de5d1f67a99bba019eb2a (diff)
downloadkmymoney-3a528d873ff72828fb9b19bed38a2b869b449089.tar.gz
kmymoney-3a528d873ff72828fb9b19bed38a2b869b449089.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e84ff3d61520e4200f987d3a0b6bea570b2e8b32)
Diffstat (limited to 'kmymoney2/dialogs/kmymoneysplittable.cpp')
-rw-r--r--kmymoney2/dialogs/kmymoneysplittable.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kmymoney2/dialogs/kmymoneysplittable.cpp b/kmymoney2/dialogs/kmymoneysplittable.cpp
index 4a71553..028b714 100644
--- a/kmymoney2/dialogs/kmymoneysplittable.cpp
+++ b/kmymoney2/dialogs/kmymoneysplittable.cpp
@@ -98,17 +98,17 @@ kMyMoneySplitTable::kMyMoneySplitTable(TQWidget *parent, const char *name ) :
m_contextMenu = new TDEPopupMenu(this);
TDEIconLoader *il = TDEGlobal::iconLoader();
m_contextMenu->insertTitle(il->loadIcon("transaction", TDEIcon::MainToolbar), i18n("Split Options"));
- m_contextMenu->insertItem(il->loadIcon("edit", TDEIcon::Small), i18n("Edit..."), this, TQT_SLOT(slotStartEdit()));
- m_contextMenuDuplicate = m_contextMenu->insertItem(il->loadIcon("edit-copy", TDEIcon::Small), i18n("Duplicate"), this, TQT_SLOT(slotDuplicateSplit()));
+ m_contextMenu->insertItem(il->loadIcon("edit", TDEIcon::Small), i18n("Edit..."), this, TQ_SLOT(slotStartEdit()));
+ m_contextMenuDuplicate = m_contextMenu->insertItem(il->loadIcon("edit-copy", TDEIcon::Small), i18n("Duplicate"), this, TQ_SLOT(slotDuplicateSplit()));
m_contextMenuDelete = m_contextMenu->insertItem(il->loadIcon("delete", TDEIcon::Small),
i18n("Delete ..."),
- this, TQT_SLOT(slotDeleteSplit()));
+ this, TQ_SLOT(slotDeleteSplit()));
- connect(this, TQT_SIGNAL(clicked(int, int, int, const TQPoint&)),
- this, TQT_SLOT(slotSetFocus(int, int, int, const TQPoint&)));
+ connect(this, TQ_SIGNAL(clicked(int, int, int, const TQPoint&)),
+ this, TQ_SLOT(slotSetFocus(int, int, int, const TQPoint&)));
- connect(this, TQT_SIGNAL(transactionChanged(const MyMoneyTransaction&)),
- this, TQT_SLOT(slotUpdateData(const MyMoneyTransaction&)));
+ connect(this, TQ_SIGNAL(transactionChanged(const MyMoneyTransaction&)),
+ this, TQ_SLOT(slotUpdateData(const MyMoneyTransaction&)));
}
kMyMoneySplitTable::~kMyMoneySplitTable()
@@ -335,7 +335,7 @@ bool kMyMoneySplitTable::eventFilter(TQObject *o, TQEvent *e)
}
if(terminate) {
- TQTimer::singleShot(0, this, TQT_SLOT(slotEndEditKeyboard()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotEndEditKeyboard()));
}
break;
@@ -343,7 +343,7 @@ bool kMyMoneySplitTable::eventFilter(TQObject *o, TQEvent *e)
// we cannot call the slot directly, as it destroys the caller of
// this method :-( So we let the event handler take care of calling
// the respective slot using a timeout.
- TQTimer::singleShot(0, this, TQT_SLOT(slotCancelEdit()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotCancelEdit()));
break;
default:
@@ -465,7 +465,7 @@ void kMyMoneySplitTable::contentsMouseDoubleClickEvent( TQMouseEvent *e )
editWidget->selectAll();
// we need to call setFocus on the edit widget from the
// main loop again to get the keyboard focus to the widget also
- TQTimer::singleShot(0, editWidget, TQT_SLOT(setFocus()));
+ TQTimer::singleShot(0, editWidget, TQ_SLOT(setFocus()));
}
}
@@ -819,7 +819,7 @@ void kMyMoneySplitTable::destroyEditWidgets(void)
{
MYMONEYTRACER(tracer);
- disconnect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadEditWidgets()));
+ disconnect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadEditWidgets()));
clearCellWidget(m_currentRow, 0);
clearCellWidget(m_currentRow, 1);
@@ -845,8 +845,8 @@ TQWidget* kMyMoneySplitTable::createEditWidgets(void)
m_editCategory = new KMyMoneyCategory();
m_editCategory->setHint(i18n("Category"));
m_editCategory->setFont(cellFont);
- connect(m_editCategory, TQT_SIGNAL(createItem(const TQString&, TQString&)), this, TQT_SIGNAL(createCategory(const TQString&, TQString&)));
- connect(m_editCategory, TQT_SIGNAL(objectCreation(bool)), this, TQT_SIGNAL(objectCreation(bool)));
+ connect(m_editCategory, TQ_SIGNAL(createItem(const TQString&, TQString&)), this, TQ_SIGNAL(createCategory(const TQString&, TQString&)));
+ connect(m_editCategory, TQ_SIGNAL(objectCreation(bool)), this, TQ_SIGNAL(objectCreation(bool)));
m_editMemo = new kMyMoneyLineEdit(0, 0, false, AlignLeft|AlignVCenter);
m_editMemo->setHint(i18n("Memo"));
@@ -868,8 +868,8 @@ TQWidget* kMyMoneySplitTable::createEditWidgets(void)
l->addWidget(m_registerCancelButton);
l->addStretch(2);
- connect(m_registerEnterButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEndEdit()));
- connect(m_registerCancelButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCancelEdit()));
+ connect(m_registerEnterButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEndEdit()));
+ connect(m_registerCancelButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCancelEdit()));
// setup tab order
addToTabOrder(m_editCategory);
@@ -908,7 +908,7 @@ TQWidget* kMyMoneySplitTable::createEditWidgets(void)
// load e.g. the category widget with the account list
slotLoadEditWidgets();
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadEditWidgets()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadEditWidgets()));
// setup the keyboard filter for all widgets
for(TQWidget* w = m_tabOrderWidgets.first(); w; w = m_tabOrderWidgets.next()) {