| 759 | } |
| 760 | |
| 761 | QObject* WizFolder::CreateDocument2(const QString& strTitle, const QString& strURL) |
| 762 | { |
| 763 | WIZDOCUMENTDATA data; |
| 764 | CString strHtml = "<!DOCTYPE html><html><head></head><body><p><br></p></body></html>"; |
| 765 | if (!m_db.createDocumentAndInit(strHtml, "", 0, strTitle, "newnote", m_strLocation, strURL, data)) |
| 766 | return nullptr; |
| 767 | |
| 768 | WizDocument* pDoc = new WizDocument(m_db, data, this); |
| 769 | |
| 770 | return pDoc; |
| 771 | } |
| 772 | |
| 773 | void WizFolder::Close() |
| 774 | { |
nothing calls this directly
no test coverage detected