summaryrefslogtreecommitdiffstats
path: root/src/modules/help/helpwindow.cpp
diff options
context:
space:
mode:
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 3a815244..56f8663a 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();