void ZLApplication::setView(shared_ptr<ZLView> view) { if (view.isNull()) { return; } if (!myViewWidget.isNull()) { myViewWidget->setView(view); resetWindowCaption(); refreshWindow(); } else { myInitialView = view; } }
void ZLApplication::setView(shared_ptr<ZLView> view) { // AppLog("ZLApplication::setView"); if (view.isNull()) { return; } // AppLog("ZLApplication::setView qq"); if (!myViewWidget.isNull()) { // AppLog("ZLApplication::setView ww"); myViewWidget->setView(view); resetWindowCaption(); refreshWindow(); } else { // AppLog("ZLApplication::setView ee"); myInitialView = view; } }
void FBReader::openBook(shared_ptr<Book> book) { // OpenBookRunnable runnable(book); // ZLDialogManager::Instance().wait(ZLResourceKey("loadingBook"), runnable); resetWindowCaption(); openBookInternal(book); }
void FBReader::openBook(BookDescriptionPtr description) { OpenBookRunnable runnable(*this, description); ZLDialogManager::instance().wait(ZLResourceKey("loadingBook"), runnable); resetWindowCaption(); }