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/tdelistviewsearchline.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/tdelistviewsearchline.cpp')
-rw-r--r-- | kmymoney2/widgets/tdelistviewsearchline.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kmymoney2/widgets/tdelistviewsearchline.cpp b/kmymoney2/widgets/tdelistviewsearchline.cpp index 99b06ff..9bce5a6 100644 --- a/kmymoney2/widgets/tdelistviewsearchline.cpp +++ b/kmymoney2/widgets/tdelistviewsearchline.cpp @@ -67,16 +67,16 @@ TDEListViewSearchLine::TDEListViewSearchLine(TQWidget *parent, TDEListView *list d->listView = listView; - connect(this, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SLOT(queueSearch(const TQString &))); + connect(this, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SLOT(queueSearch(const TQString &))); if(listView) { - connect(listView, TQT_SIGNAL(destroyed()), - this, TQT_SLOT(listViewDeleted())); + connect(listView, TQ_SIGNAL(destroyed()), + this, TQ_SLOT(listViewDeleted())); #if KDE_IS_VERSION(3,3,0) - connect(listView, TQT_SIGNAL(itemAdded(TQListViewItem *)), - this, TQT_SLOT(itemAdded(TQListViewItem *))); + connect(listView, TQ_SIGNAL(itemAdded(TQListViewItem *)), + this, TQ_SLOT(itemAdded(TQListViewItem *))); #endif } else @@ -90,8 +90,8 @@ TDEListViewSearchLine::TDEListViewSearchLine(TQWidget *parent, const char *name) d->listView = 0; - connect(this, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SLOT(queueSearch(const TQString &))); + connect(this, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SLOT(queueSearch(const TQString &))); setEnabled(false); } @@ -184,24 +184,24 @@ void TDEListViewSearchLine::setSearchColumns(const TQValueList<int> &columns) void TDEListViewSearchLine::setListView(TDEListView *lv) { if(d->listView) { - disconnect(d->listView, TQT_SIGNAL(destroyed()), - this, TQT_SLOT(listViewDeleted())); + disconnect(d->listView, TQ_SIGNAL(destroyed()), + this, TQ_SLOT(listViewDeleted())); #if KDE_IS_VERSION(3,3,0) - disconnect(d->listView, TQT_SIGNAL(itemAdded(TQListViewItem *)), - this, TQT_SLOT(itemAdded(TQListViewItem *))); + disconnect(d->listView, TQ_SIGNAL(itemAdded(TQListViewItem *)), + this, TQ_SLOT(itemAdded(TQListViewItem *))); #endif } d->listView = lv; if(lv) { - connect(d->listView, TQT_SIGNAL(destroyed()), - this, TQT_SLOT(listViewDeleted())); + connect(d->listView, TQ_SIGNAL(destroyed()), + this, TQ_SLOT(listViewDeleted())); #if KDE_IS_VERSION(3,3,0) - connect(d->listView, TQT_SIGNAL(itemAdded(TQListViewItem *)), - this, TQT_SLOT(itemAdded(TQListViewItem *))); + connect(d->listView, TQ_SIGNAL(itemAdded(TQListViewItem *)), + this, TQ_SLOT(itemAdded(TQListViewItem *))); #endif } @@ -247,7 +247,7 @@ TQPopupMenu *TDEListViewSearchLine::createPopupMenu() if (d->listView->columns()>1) { TQPopupMenu *subMenu = new TQPopupMenu(popup); - connect(subMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(searchColumnsMenuActivated(int))); + connect(subMenu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(searchColumnsMenuActivated(int))); popup->insertSeparator(); popup->insertItem(i18n("Search Columns"), subMenu); @@ -295,7 +295,7 @@ void TDEListViewSearchLine::queueSearch(const TQString &search) { d->queuedSearches++; d->search = search; - TQTimer::singleShot(200, this, TQT_SLOT(activateSearch())); + TQTimer::singleShot(200, this, TQ_SLOT(activateSearch())); } void TDEListViewSearchLine::activateSearch() @@ -435,7 +435,7 @@ TDEListViewSearchLineWidget::TDEListViewSearchLineWidget(TDEListView *listView, setSpacing(5); - TQTimer::singleShot(0, this, TQT_SLOT(createWidgets())); + TQTimer::singleShot(0, this, TQ_SLOT(createWidgets())); } TDEListViewSearchLineWidget::~TDEListViewSearchLineWidget() @@ -470,7 +470,7 @@ void TDEListViewSearchLineWidget::createWidgets() label->setBuddy(d->searchLine); label->show(); - connect(d->clearButton, TQT_SIGNAL(clicked()), d->searchLine, TQT_SLOT(clear())); + connect(d->clearButton, TQ_SIGNAL(clicked()), d->searchLine, TQ_SLOT(clear())); } TDEListViewSearchLine *TDEListViewSearchLineWidget::searchLine() const |