src/writely/WriterUI.cpp
/**
 * Fire after a certain period of time
 */
Fire after a certain period of time
Fire after a certain period of time
void WriterUI::onAutosaveTimerTimeout() {
    Page* page = currentEditorPage();
    if (page) {
        QMetaObject::invokeMethod(page, "handleAutoSaveEvent" );
    }
    Page* browserPage = currentBrowserPage();
    if (browserPage) {
        QMetaObject::invokeMethod(browserPage, "handlePeriodicEvent");
    }
}
void WriterUI :: onAutosaveTimerTimeout ( ) { Page * page = currentEditorPage ( ) ; if ( page ) { QMetaObject :: invokeMethod ( page , " " ) ; } Page * browserPage = currentBrowserPage ( ) ; if ( browserPage ) { QMetaObject :: invokeMethod ( browserPage , " " ) ; } }
Fire after a certain period of time
Fire after a certain period of time