summaryrefslogtreecommitdiffstats
path: root/src/modules/help/helpwindow.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-28 21:15:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-01 18:03:34 +0900
commit209ac1e561619ff446be4b3411ed74e59fff168e (patch)
tree83b384cf0c4dfb918b3a4c39b4333f33e0f2f387 /src/modules/help/helpwindow.cpp
parent44846083311d49d75e8376326d29f7f34e1dae52 (diff)
downloadkvirc-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/help/helpwindow.cpp')
-rw-r--r--src/modules/help/helpwindow.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/modules/help/helpwindow.cpp b/src/modules/help/helpwindow.cpp
index 3a81524..56f8663 100644
--- a/src/modules/help/helpwindow.cpp
+++ b/src/modules/help/helpwindow.cpp
@@ -62,7 +62,7 @@ KviHelpWindow::KviHelpWindow(KviFrame * lpFrm,const char * name)
g_pDocIndex->readDict();
} else {
TQProgressDialog* pProgressDialog = new TQProgressDialog( __tr2qs("Indexing help files"), __tr2qs("Cancel"), 100 );
- connect(g_pDocIndex,TQT_SIGNAL(indexingProgress(int)), pProgressDialog, TQT_SLOT(setProgress(int)) );
+ connect(g_pDocIndex,TQ_SIGNAL(indexingProgress(int)), pProgressDialog, TQ_SLOT(setProgress(int)) );
g_pDocIndex->makeIndex();
g_pDocIndex->writeDict();
g_pDocIndex->writeDocumentList();
@@ -84,33 +84,33 @@ KviHelpWindow::KviHelpWindow(KviFrame * lpFrm,const char * name)
KviTalHBox* pSearchBox = new KviTalHBox(m_pIndexTab);
m_pIndexSearch = new TQLineEdit(pSearchBox);
- connect( m_pIndexSearch, TQT_SIGNAL( textChanged(const TQString&) ),
- this, TQT_SLOT( searchInIndex(const TQString&) ) );
- connect( m_pIndexSearch, TQT_SIGNAL( returnPressed() ),
- this, TQT_SLOT( showIndexTopic() ) );
+ connect( m_pIndexSearch, TQ_SIGNAL( textChanged(const TQString&) ),
+ this, TQ_SLOT( searchInIndex(const TQString&) ) );
+ connect( m_pIndexSearch, TQ_SIGNAL( returnPressed() ),
+ this, TQ_SLOT( showIndexTopic() ) );
KviStyledToolButton* pBtnRefreshIndex = new KviStyledToolButton(pSearchBox);
pBtnRefreshIndex->setIconSet(*g_pIconManager->getBigIcon(KVI_REFRESH_IMAGE_NAME));
- connect(pBtnRefreshIndex,TQT_SIGNAL(clicked()),this,TQT_SLOT(refreshIndex()));
+ connect(pBtnRefreshIndex,TQ_SIGNAL(clicked()),this,TQ_SLOT(refreshIndex()));
TQToolTip::add( pBtnRefreshIndex, __tr2qs("Refresh index") );
m_pIndexListBox = new KviTalListBox(m_pIndexTab);
TQStringList docList=g_pDocIndex->titlesList();
m_pIndexListBox->insertStringList(docList);
- connect(m_pIndexListBox,TQT_SIGNAL(selected(int)),this,TQT_SLOT(indexSelected ( int )));
+ connect(m_pIndexListBox,TQ_SIGNAL(selected(int)),this,TQ_SLOT(indexSelected ( int )));
m_pIndexListBox->sort();
m_pSearchTab = new KviTalVBox(m_pTabWidget);
m_pTabWidget->insertTab(m_pSearchTab,__tr2qs("Search"));
m_pTermsEdit = new TQLineEdit(m_pSearchTab);
-/* connect( m_pTermsEdit, TQT_SIGNAL( textChanged(const TQString&) ),
- this, TQT_SLOT( searchInIndex(const TQString&) ) );*/
- connect( m_pTermsEdit, TQT_SIGNAL( returnPressed() ),
- this, TQT_SLOT( startSearch() ) );
+/* connect( m_pTermsEdit, TQ_SIGNAL( textChanged(const TQString&) ),
+ this, TQ_SLOT( searchInIndex(const TQString&) ) );*/
+ connect( m_pTermsEdit, TQ_SIGNAL( returnPressed() ),
+ this, TQ_SLOT( startSearch() ) );
m_pResultBox = new KviTalListBox(m_pSearchTab);
- connect(m_pResultBox,TQT_SIGNAL(selected(int)),this,TQT_SLOT(searchSelected ( int )));
+ connect(m_pResultBox,TQ_SIGNAL(selected(int)),this,TQ_SLOT(searchSelected ( int )));
KviValueList<int> li;
li.append(width()-80);
@@ -145,7 +145,7 @@ void KviHelpWindow::refreshIndex()
{
m_pIndexListBox->clear();
TQProgressDialog* pProgressDialog = new TQProgressDialog( __tr2qs("Indexing help files"), __tr2qs("Cancel"), 100 );
- connect(g_pDocIndex,TQT_SIGNAL(indexingProgress(int)), pProgressDialog, TQT_SLOT(setProgress(int)) );
+ connect(g_pDocIndex,TQ_SIGNAL(indexingProgress(int)), pProgressDialog, TQ_SLOT(setProgress(int)) );
g_pDocIndex->makeIndex();
g_pDocIndex->writeDict();
g_pDocIndex->writeDocumentList();