summaryrefslogtreecommitdiffstats
path: root/src/kchmviewwindow.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit16e768c7ecc5aeb226178faeb39349386da8663d (patch)
treee875e5221ce4f80b741a58a6e7019016bf4ef6e3 /src/kchmviewwindow.cpp
parent8cbd3f41229fc385698bfd9a5524ba2610777543 (diff)
downloadkchmviewer-16e768c7ecc5aeb226178faeb39349386da8663d.tar.gz
kchmviewer-16e768c7ecc5aeb226178faeb39349386da8663d.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kchmviewwindow.cpp')
-rw-r--r--src/kchmviewwindow.cpp14
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") );