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/widgets/kmymoneyselector.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/widgets/kmymoneyselector.cpp')
-rw-r--r-- | kmymoney2/widgets/kmymoneyselector.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/widgets/kmymoneyselector.cpp b/kmymoney2/widgets/kmymoneyselector.cpp index 89aaa8b..82126b2 100644 --- a/kmymoney2/widgets/kmymoneyselector.cpp +++ b/kmymoney2/widgets/kmymoneyselector.cpp @@ -71,7 +71,7 @@ KMyMoneySelector::KMyMoneySelector(TQWidget *parent, const char *name, TQWidget: m_selMode = TQListView::Multi; setSelectionMode(TQListView::Single); - connect(m_listView, TQT_SIGNAL(rightButtonPressed(TQListViewItem* , const TQPoint&, int)), this, TQT_SLOT(slotListRightMouse(TQListViewItem*, const TQPoint&, int))); + connect(m_listView, TQ_SIGNAL(rightButtonPressed(TQListViewItem* , const TQPoint&, int)), this, TQ_SLOT(slotListRightMouse(TQListViewItem*, const TQPoint&, int))); } KMyMoneySelector::~KMyMoneySelector() @@ -93,11 +93,11 @@ void KMyMoneySelector::setSelectionMode(const TQListView::SelectionMode mode) // make sure, it's either Multi or Single if(mode != TQListView::Multi) { m_selMode = TQListView::Single; - connect(m_listView, TQT_SIGNAL(selectionChanged(void)), this, TQT_SIGNAL(stateChanged(void))); - connect(m_listView, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(slotItemSelected(TQListViewItem*))); + connect(m_listView, TQ_SIGNAL(selectionChanged(void)), this, TQ_SIGNAL(stateChanged(void))); + connect(m_listView, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(slotItemSelected(TQListViewItem*))); } else { - disconnect(m_listView, TQT_SIGNAL(selectionChanged(void)), this, TQT_SIGNAL(stateChanged(void))); - disconnect(m_listView, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(slotItemSelected(TQListViewItem*))); + disconnect(m_listView, TQ_SIGNAL(selectionChanged(void)), this, TQ_SIGNAL(stateChanged(void))); + disconnect(m_listView, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(slotItemSelected(TQListViewItem*))); } } TQWidget::update(); @@ -137,7 +137,7 @@ TQListViewItem* KMyMoneySelector::newTopItem(const TQString& name, const TQStrin if(m_selMode == TQListView::Multi) { KMyMoneyCheckListItem* q = new KMyMoneyCheckListItem(m_listView, name, key, id); - connect(q, TQT_SIGNAL(stateChanged(bool)), this, TQT_SIGNAL(stateChanged(void))); + connect(q, TQ_SIGNAL(stateChanged(bool)), this, TQ_SIGNAL(stateChanged(void))); p = static_cast<TQListViewItem*> (q); } else { @@ -154,7 +154,7 @@ TQListViewItem* KMyMoneySelector::newItem(TQListViewItem* parent, const TQString if(m_selMode == TQListView::Multi) { KMyMoneyCheckListItem* q = new KMyMoneyCheckListItem(parent, name, key, id); - connect(q, TQT_SIGNAL(stateChanged(bool)), this, TQT_SIGNAL(stateChanged(void))); + connect(q, TQ_SIGNAL(stateChanged(bool)), this, TQ_SIGNAL(stateChanged(void))); p = static_cast<TQListViewItem*> (q); } else { @@ -511,7 +511,7 @@ void KMyMoneySelector::ensureItemVisible(const TQListViewItem *it_v) // the slot slotShowSelected. (ipwizard, 12/29/2003) m_visibleItem = it_v; - TQTimer::singleShot(100, this, TQT_SLOT(slotShowSelected())); + TQTimer::singleShot(100, this, TQ_SLOT(slotShowSelected())); } void KMyMoneySelector::slotShowSelected(void) |