From 5944fa01d76b7624bb88672c48dd4c597e3c4f02 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 14 Nov 2008 12:12:35 +0100 Subject: searchbar --> findbar Yes, I know it's a search bar and finding is not granted. But I need to distingue between this and the "other" searchbar.. --- src/browsermainwindow.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/browsermainwindow.cpp') diff --git a/src/browsermainwindow.cpp b/src/browsermainwindow.cpp index 717031a5..46510384 100644 --- a/src/browsermainwindow.cpp +++ b/src/browsermainwindow.cpp @@ -82,9 +82,9 @@ BrowserMainWindow::BrowserMainWindow(QWidget *parent, Qt::WindowFlags flags) addToolBarBreak(); layout->addWidget(m_tabWidget); - // Search Bar - m_searchBar = new SearchBar(centralWidget); - layout->addWidget(m_searchBar); + // Find Bar + m_findBar = new FindBar(centralWidget); + layout->addWidget(m_findBar); centralWidget->setLayout(layout); setCentralWidget(centralWidget); @@ -268,7 +268,7 @@ void BrowserMainWindow::setupMenu() editMenu->addSeparator(); - editMenu->addAction( KStandardAction::find(this, SLOT( slotViewSearchBar() ) , this ) ); + editMenu->addAction( KStandardAction::find(this, SLOT( slotViewFindBar() ) , this ) ); editMenu->addAction( KStandardAction::findNext(this, SLOT( slotEditFindNext() ) , this ) ); editMenu->addAction( KStandardAction::findPrev(this, SLOT( slotEditFindPrevious() ) , this ) ); @@ -671,9 +671,9 @@ bool ok; m_lastSearch = findWidg->*/ } -void BrowserMainWindow::slotViewSearchBar() +void BrowserMainWindow::slotViewFindBar() { - m_searchBar->show(); + m_findBar->show(); } void BrowserMainWindow::slotEditFindNext() -- cgit v1.2.1