diff options
Diffstat (limited to 'src/kchmviewwindow.cpp')
-rw-r--r-- | src/kchmviewwindow.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kchmviewwindow.cpp b/src/kchmviewwindow.cpp index bc758bb..fc77d3e 100644 --- a/src/kchmviewwindow.cpp +++ b/src/kchmviewwindow.cpp @@ -35,14 +35,14 @@ #include "kchmnavtoolbar.h" -KCHMViewWindow::KCHMViewWindow( TQTabWidget * tqparent ) +KCHMViewWindow::KCHMViewWindow( TQTabWidget * parent ) { tqinvalidate(); m_contextMenu = 0; m_contextMenuLink = 0; m_historyMaxSize = 25; - m_parentTabWidget = tqparent; + m_parentTabWidget = parent; } KCHMViewWindow::~KCHMViewWindow() @@ -141,9 +141,9 @@ void KCHMViewWindow::handleStartPageAsImage( TQString & link ) } -KTQPopupMenu * KCHMViewWindow::createStandardContextMenu( TQWidget * tqparent ) +KTQPopupMenu * KCHMViewWindow::createStandardContextMenu( TQWidget * parent ) { - KTQPopupMenu * contextMenu = new KTQPopupMenu( tqparent ); + KTQPopupMenu * contextMenu = new KTQPopupMenu( parent ); contextMenu->insertItem ( "&Copy", ::mainWindow, TQT_SLOT(slotBrowserCopy()) ); contextMenu->insertItem ( "&Select all", ::mainWindow, TQT_SLOT(slotBrowserSelectAll()) ); @@ -152,13 +152,13 @@ KTQPopupMenu * KCHMViewWindow::createStandardContextMenu( TQWidget * tqparent ) } -KTQPopupMenu * KCHMViewWindow::getContextMenu( const TQString & link, TQWidget * tqparent ) +KTQPopupMenu * KCHMViewWindow::getContextMenu( const TQString & link, TQWidget * parent ) { if ( link.isNull() ) { // standard context menu if ( !m_contextMenu ) - m_contextMenu = createStandardContextMenu( tqparent ); + m_contextMenu = createStandardContextMenu( parent ); return m_contextMenu; } @@ -168,7 +168,7 @@ KTQPopupMenu * KCHMViewWindow::getContextMenu( const TQString & link, TQWidget * // standard context menu if ( !m_contextMenuLink ) { - m_contextMenuLink = createStandardContextMenu( tqparent ); + m_contextMenuLink = createStandardContextMenu( parent ); m_contextMenuLink->insertSeparator(); m_contextMenuLink->insertItem ( "&Open this link in a new tab", ::mainWindow, TQT_SLOT(slotOpenPageInNewTab()), TQKeySequence("Shift+Enter") ); |