diff options
Diffstat (limited to 'src/kchmcontentswindow.cpp')
-rw-r--r-- | src/kchmcontentswindow.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kchmcontentswindow.cpp b/src/kchmcontentswindow.cpp index d145d41..dce5383 100644 --- a/src/kchmcontentswindow.cpp +++ b/src/kchmcontentswindow.cpp @@ -30,8 +30,8 @@ #include "kchmcontentswindow.moc" -KCHMContentsWindow::KCHMContentsWindow(QWidget *parent, const char *name) - : KQListView(parent, name) +KCHMContentsWindow::KCHMContentsWindow(TQWidget *tqparent, const char *name) + : KQListView(tqparent, name) { m_contextMenu = 0; @@ -42,11 +42,11 @@ KCHMContentsWindow::KCHMContentsWindow(QWidget *parent, const char *name) header()->hide(); setShowToolTips( false ); - connect( this, SIGNAL( onItem ( QListViewItem * ) ), this, SLOT( slotOnItem( QListViewItem * ) ) ); + connect( this, TQT_SIGNAL( onItem ( TQListViewItem * ) ), this, TQT_SLOT( slotOnItem( TQListViewItem * ) ) ); connect( this, - SIGNAL( contextMenuRequested( QListViewItem *, const QPoint& , int ) ), + TQT_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint& , int ) ), this, - SLOT( slotContextMenuRequested ( QListViewItem *, const QPoint &, int ) ) ); + TQT_SLOT( slotContextMenuRequested ( TQListViewItem *, const TQPoint &, int ) ) ); new KCHMListItemTooltip( this ); @@ -56,7 +56,7 @@ KCHMContentsWindow::~KCHMContentsWindow() { } -void KCHMContentsWindow::slotContextMenuRequested( QListViewItem * item, const QPoint & point, int ) +void KCHMContentsWindow::slotContextMenuRequested( TQListViewItem * item, const TQPoint & point, int ) { if ( !m_contextMenu ) m_contextMenu = ::mainWindow->currentBrowser()->createListItemContextMenu( this ); @@ -71,7 +71,7 @@ void KCHMContentsWindow::slotContextMenuRequested( QListViewItem * item, const Q void KCHMContentsWindow::refillTableOfContents( ) { - QValueVector< LCHMParsedEntry > data; + TQValueVector< LCHMParsedEntry > data; if ( !::mainWindow->chmFile()->parseTableOfContents( &data ) || data.size() == 0 ) @@ -83,10 +83,10 @@ void KCHMContentsWindow::refillTableOfContents( ) kchmFillListViewWithParsedData( this, data, &m_urlListMap ); } -KCHMIndTocItem * KCHMContentsWindow::getTreeItem( const QString & url ) +KCHMIndTocItem * KCHMContentsWindow::getTreeItem( const TQString & url ) { - QString fixedstr = ::mainWindow->chmFile()->normalizeUrl( url ); - QMap<QString, KCHMIndTocItem*>::const_iterator it = m_urlListMap.find( fixedstr ); + TQString fixedstr = ::mainWindow->chmFile()->normalizeUrl( url ); + TQMap<TQString, KCHMIndTocItem*>::const_iterator it = m_urlListMap.tqfind( fixedstr ); if ( it == m_urlListMap.end() ) return 0; |