rotateAction = addToolBarAction(this, SLOT(rotate()),
"rotate", tr("Rotate"), true);
rotateAction = addToolBarAction(this, SLOT(rotate()),
"rotate", tr("Rotate"), true);
fullScreenAction = addToolBarAction(this, SLOT(showBig()),
"view-fullscreen", tr("Full screen"), true);
fullScreenAction = addToolBarAction(this, SLOT(showBig()),
"view-fullscreen", tr("Full screen"), true);
fullScreenWindow->leaveBookView();
takeBookView(view, prog, prev, next);
fullScreenWindow->leaveBookView();
takeBookView(view, prog, prev, next);
leaveBookView();
fullScreenWindow->takeBookView(view, prog, prev, next);
leaveBookView();
fullScreenWindow->takeBookView(view, prog, prev, next);
QString current = Settings::instance()->value("orientation",
Platform::instance()->defaultOrientation()).toString();
QString target = (current == "landscape")? "portrait": "landscape";
QString current = Settings::instance()->value("orientation",
Platform::instance()->defaultOrientation()).toString();
QString target = (current == "landscape")? "portrait": "landscape";
Settings::instance()->setValue("orientation", target);
}
void MainWindow::showDevTools()
{
Settings::instance()->setValue("orientation", target);
}
void MainWindow::showDevTools()
{
QString value = Settings::instance()->value(key,
Platform::instance()->defaultOrientation()).toString();
qDebug() << "Value: orientation" << value;
QString value = Settings::instance()->value(key,
Platform::instance()->defaultOrientation()).toString();
qDebug() << "Value: orientation" << value;