diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 21:15:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-01 18:03:34 +0900 |
commit | 209ac1e561619ff446be4b3411ed74e59fff168e (patch) | |
tree | 83b384cf0c4dfb918b3a4c39b4333f33e0f2f387 /src/modules/logview/logviewmdiwindow.cpp | |
parent | 44846083311d49d75e8376326d29f7f34e1dae52 (diff) | |
download | kvirc-209ac1e561619ff446be4b3411ed74e59fff168e.tar.gz kvirc-209ac1e561619ff446be4b3411ed74e59fff168e.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/logview/logviewmdiwindow.cpp')
-rw-r--r-- | src/modules/logview/logviewmdiwindow.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/logview/logviewmdiwindow.cpp b/src/modules/logview/logviewmdiwindow.cpp index a5845b8a..2b15ac1d 100644 --- a/src/modules/logview/logviewmdiwindow.cpp +++ b/src/modules/logview/logviewmdiwindow.cpp @@ -76,8 +76,8 @@ KviLogViewMDIWindow::KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFra m_pListView->setMultiSelection(false); m_pListView->setShowSortIndicator(true); m_pListView->setRootIsDecorated(true); - connect(m_pListView,TQT_SIGNAL(selectionChanged(KviTalListViewItem *)),this,TQT_SLOT(itemSelected(KviTalListViewItem *))); - connect(m_pListView,TQT_SIGNAL(rightButtonClicked ( KviTalListViewItem * , const TQPoint &, int )),this,TQT_SLOT(rightButtonClicked ( KviTalListViewItem * , const TQPoint &, int ))); + connect(m_pListView,TQ_SIGNAL(selectionChanged(KviTalListViewItem *)),this,TQ_SLOT(itemSelected(KviTalListViewItem *))); + connect(m_pListView,TQ_SIGNAL(rightButtonClicked ( KviTalListViewItem * , const TQPoint &, int )),this,TQ_SLOT(rightButtonClicked ( KviTalListViewItem * , const TQPoint &, int ))); m_pSearchTab = new TQWidget(m_pTabWidget); m_pTabWidget->insertTab(m_pSearchTab,__tr2qs_ctx("Filter","logview")); @@ -110,13 +110,13 @@ KviLogViewMDIWindow::KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFra l = new TQLabel(__tr2qs_ctx("Log name mask:","logview"),m_pSearchTab); m_pFileNameMask = new TQLineEdit(m_pSearchTab); - connect(m_pFileNameMask,TQT_SIGNAL(returnPressed()),this,TQT_SLOT(applyFilter())); + connect(m_pFileNameMask,TQ_SIGNAL(returnPressed()),this,TQ_SLOT(applyFilter())); layout->addWidget(l,6,0); layout->addWidget(m_pFileNameMask,6,1); l = new TQLabel(__tr2qs_ctx("Log contents mask:","logview"),m_pSearchTab); m_pContentsMask = new TQLineEdit(m_pSearchTab); - connect(m_pContentsMask,TQT_SIGNAL(returnPressed()),this,TQT_SLOT(applyFilter())); + connect(m_pContentsMask,TQ_SIGNAL(returnPressed()),this,TQ_SLOT(applyFilter())); layout->addWidget(l,7,0); layout->addWidget(m_pContentsMask,7,1); @@ -125,7 +125,7 @@ KviLogViewMDIWindow::KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFra m_pFromDateEdit->setDate(TQDate::currentDate()); layout->addWidget(m_pEnableFromFilter,8,0); layout->addWidget(m_pFromDateEdit,8,1); - connect(m_pEnableFromFilter,TQT_SIGNAL(toggled(bool)),m_pFromDateEdit,TQT_SLOT(setEnabled(bool))); + connect(m_pEnableFromFilter,TQ_SIGNAL(toggled(bool)),m_pFromDateEdit,TQ_SLOT(setEnabled(bool))); m_pFromDateEdit->setEnabled(false); m_pEnableToFilter = new KviStyledCheckBox(__tr2qs_ctx("Only newier than","logview"),m_pSearchTab); @@ -133,11 +133,11 @@ KviLogViewMDIWindow::KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFra m_pToDateEdit->setDate(TQDate::currentDate()); layout->addWidget(m_pEnableToFilter,9,0); layout->addWidget(m_pToDateEdit,9,1); - connect(m_pEnableToFilter,TQT_SIGNAL(toggled(bool)),m_pToDateEdit,TQT_SLOT(setEnabled(bool))); + connect(m_pEnableToFilter,TQ_SIGNAL(toggled(bool)),m_pToDateEdit,TQ_SLOT(setEnabled(bool))); m_pToDateEdit->setEnabled(false); TQPushButton *pb = new TQPushButton(__tr2qs_ctx("Apply filter","logview"),m_pSearchTab); - connect(pb,TQT_SIGNAL(clicked()),this,TQT_SLOT(applyFilter())); + connect(pb,TQ_SIGNAL(clicked()),this,TQ_SLOT(applyFilter())); layout->addWidget(pb,10,1); TQWidget *w = new TQWidget(m_pSearchTab); @@ -159,7 +159,7 @@ KviLogViewMDIWindow::KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFra KviAccel *a = new KviAccel( this ); a->connectItem( a->insertItem(TQt::Key_F+TQt::CTRL), m_pIrcView, - TQT_SLOT(toggleToolWidget()) ); + TQ_SLOT(toggleToolWidget()) ); } @@ -360,7 +360,7 @@ void KviLogViewMDIWindow::rightButtonClicked ( KviTalListViewItem * it, const TQ if(!it) return; if(((KviLogListViewItem *)it)->fileName(0).isEmpty()) return; KviTalPopupMenu* popup = new KviTalPopupMenu(this); - popup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUIT)),__tr2qs_ctx("Remove file","logview"),this,TQT_SLOT(deleteCurrent())); + popup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUIT)),__tr2qs_ctx("Remove file","logview"),this,TQ_SLOT(deleteCurrent())); popup->exec( TQCursor::pos() ); } |