summaryrefslogtreecommitdiffstats
path: root/src/kchmsearchtoolbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kchmsearchtoolbar.cpp')
-rw-r--r--src/kchmsearchtoolbar.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kchmsearchtoolbar.cpp b/src/kchmsearchtoolbar.cpp
index 411dba8..a51bb5f 100644
--- a/src/kchmsearchtoolbar.cpp
+++ b/src/kchmsearchtoolbar.cpp
@@ -43,8 +43,8 @@
static KTQPopupMenu *menu_langlist, *menu_enclist;
-KCHMSearchAndViewToolbar::KCHMSearchAndViewToolbar( KCHMMainWindow * tqparent )
- : TQToolBar (tqparent)
+KCHMSearchAndViewToolbar::KCHMSearchAndViewToolbar( KCHMMainWindow * parent )
+ : TQToolBar (parent)
{
// Toolbar label
setLabel( i18n( "Find in page") );
@@ -149,8 +149,8 @@ KCHMSearchAndViewToolbar::KCHMSearchAndViewToolbar( KCHMMainWindow * tqparent )
TQWhatsThis::add( m_buttonAddBookmark, i18n( "Click this button to go to next page in Table of Content.") );
// Create the approptiate menu entries in 'View' main menu
- m_MenuView = new KTQPopupMenu( tqparent );
- tqparent->menuBar()->insertItem( i18n( "&View"), m_MenuView );
+ m_MenuView = new KTQPopupMenu( parent );
+ parent->menuBar()->insertItem( i18n( "&View"), m_MenuView );
m_MenuView->insertItem( i18n( "&Increase font"), this, TQT_SLOT(onBtnFontInc()), CTRL+Key_Plus );
m_MenuView->insertItem( i18n( "&Decrease font"), this, TQT_SLOT(onBtnFontDec()), CTRL+Key_Minus );
@@ -172,7 +172,7 @@ KCHMSearchAndViewToolbar::KCHMSearchAndViewToolbar( KCHMMainWindow * tqparent )
m_MenuView->insertSeparator();
// Create the language selection menu.
- menu_langlist = new KTQPopupMenu( tqparent );
+ menu_langlist = new KTQPopupMenu( parent );
KTQPopupMenu * menu_sublang = 0;
// Because the encoding menu is very large, it is not reasonable to have a slot for every item.
@@ -223,7 +223,7 @@ KCHMSearchAndViewToolbar::KCHMSearchAndViewToolbar( KCHMMainWindow * tqparent )
// Special menu for very smart people just to select codepage
TQMap<TQString,bool> addedCharsets;
- menu_enclist = new KTQPopupMenu( tqparent );
+ menu_enclist = new KTQPopupMenu( parent );
connect (menu_enclist, TQT_SIGNAL( activated(int) ), this, TQT_SLOT ( onMenuActivated(int) ));