summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-16 10:09:22 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-16 10:09:22 +0100
commitd862870fb98bd5c523c33ac7d3f0ff15c8391c6e (patch)
tree223d630eea71ba8b28871d010bc85591769ff2d6
parentQKeySequenceList --> KShortcut (diff)
downloadrekonq-d862870fb98bd5c523c33ac7d3f0ff15c8391c6e.tar.xz
Again, QKeySequence --> KShortcut
-rw-r--r--src/mainwindow.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 8e8ecdb4..48d89f49 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -418,9 +418,7 @@ void MainWindow::setupTools()
toolsMenu->addAction(actionByName(KStandardAction::name(KStandardAction::SaveAs)));
toolsMenu->addAction(actionByName(KStandardAction::name(KStandardAction::Print)));
toolsMenu->addAction(actionByName(KStandardAction::name(KStandardAction::Find)));
-
-
-
+
// setup zoom widget
QWidget *zoomWidget = new QWidget(this);
@@ -455,7 +453,6 @@ void MainWindow::setupTools()
zoomAction->setDefaultWidget(zoomWidget);
toolsMenu->addAction(zoomAction);
-
toolsMenu->addSeparator();
toolsMenu->addAction(actionByName(QLatin1String("private_browsing")));
@@ -472,7 +469,7 @@ void MainWindow::setupTools()
toolsMenu->addAction(actionByName(QLatin1String("bm_bar")));
toolsMenu->addAction(actionByName(QLatin1String("show_history_panel")));
- toolsMenu->addAction(actionByName(QLatin1String("show_bookmarks_panel")));
+ toolsMenu->addAction(actionByName(QLatin1String("show_bookmarks_panel")));
toolsMenu->addAction(actionByName(KStandardAction::name(KStandardAction::FullScreen)));
toolsMenu->addSeparator();
@@ -500,7 +497,7 @@ void MainWindow::setupPanels()
// setup history panel action
a = (KAction *) m_historyPanel->toggleViewAction();
- a->setShortcut( QKeySequence(Qt::CTRL + Qt::Key_H) );
+ a->setShortcut( KShortcut(Qt::CTRL + Qt::Key_H) );
a->setIcon(KIcon("view-history"));
actionCollection()->addAction(QLatin1String("show_history_panel"), a);
@@ -514,7 +511,7 @@ void MainWindow::setupPanels()
// setup bookmarks panel action
a = (KAction *) m_bookmarksPanel->toggleViewAction();
- a->setShortcut( QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_B) );
+ a->setShortcut( KShortcut(Qt::CTRL + Qt::SHIFT + Qt::Key_B) );
a->setIcon(KIcon("bookmarks-organize"));
actionCollection()->addAction(QLatin1String("show_bookmarks_panel"), a);