diff options
| author | 2007-01-26 03:54:22 +0000 | |
|---|---|---|
| committer | 2007-01-26 03:54:22 +0000 | |
| commit | 1a8a7e6f145613c34ff0604b95370995fc625ef2 (patch) | |
| tree | 79b63ab083ae2eecfbf98170e9d50731f6bb4d67 /src/modules/help | |
| parent | fix win compilation and update win projects (diff) | |
| download | KVIrc-1a8a7e6f145613c34ff0604b95370995fc625ef2.tar.gz KVIrc-1a8a7e6f145613c34ff0604b95370995fc625ef2.tar.bz2 KVIrc-1a8a7e6f145613c34ff0604b95370995fc625ef2.zip | |
More Qt 4.x port and the torrent module by Alexander Stillich
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@255 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/help')
| -rw-r--r-- | src/modules/help/helpwindow.cpp | 6 | ||||
| -rw-r--r-- | src/modules/help/helpwindow.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/help/helpwindow.cpp b/src/modules/help/helpwindow.cpp index c051ebbb8..eb40416ac 100644 --- a/src/modules/help/helpwindow.cpp +++ b/src/modules/help/helpwindow.cpp @@ -92,7 +92,7 @@ KviHelpWindow::KviHelpWindow(KviFrame * lpFrm,const char * name) connect(pBtnRefreshIndex,SIGNAL(clicked()),this,SLOT(refreshIndex())); QToolTip::add( pBtnRefreshIndex, __tr2qs("Refresh index") ); - m_pIndexListBox = new QListBox(m_pIndexTab); + m_pIndexListBox = new KviTalListBox(m_pIndexTab); QStringList docList=g_pDocIndex->titlesList(); m_pIndexListBox->insertStringList(docList); connect(m_pIndexListBox,SIGNAL(selected(int)),this,SLOT(indexSelected ( int ))); @@ -107,7 +107,7 @@ KviHelpWindow::KviHelpWindow(KviFrame * lpFrm,const char * name) connect( m_pTermsEdit, SIGNAL( returnPressed() ), this, SLOT( startSearch() ) ); - m_pResultBox = new QListBox(m_pSearchTab); + m_pResultBox = new KviTalListBox(m_pSearchTab); connect(m_pResultBox,SIGNAL(selected(int)),this,SLOT(searchSelected ( int ))); QValueList<int> li; @@ -245,7 +245,7 @@ void KviHelpWindow::showIndexTopic() void KviHelpWindow::searchInIndex( const QString &s ) { - QListBoxItem *i = m_pIndexListBox->firstItem(); + KviTalListBoxItem *i = m_pIndexListBox->firstItem(); QString sl = s.lower(); while ( i ) { QString t = i->text(); diff --git a/src/modules/help/helpwindow.h b/src/modules/help/helpwindow.h index 1a48cd73d..2f130eaaa 100644 --- a/src/modules/help/helpwindow.h +++ b/src/modules/help/helpwindow.h @@ -26,7 +26,7 @@ #include "kvi_string.h" #include "kvi_tal_vbox.h" #include <qtabwidget.h> -#include <qlistbox.h> +#include "kvi_tal_listbox.h" #include <qlineedit.h> #include <qprogressdialog.h> @@ -46,11 +46,11 @@ protected: KviTalVBox * m_pIndexTab; KviTalVBox * m_pSearchTab; - QListBox * m_pIndexListBox; + KviTalListBox * m_pIndexListBox; QLineEdit * m_pIndexSearch; QStringList m_foundDocs; QStringList m_terms; - QListBox * m_pResultBox; + KviTalListBox * m_pResultBox; QLineEdit * m_pTermsEdit; public: KviHelpWidget * helpWidget(){ return m_pHelpWidget; }; |
