| 160 | } |
| 161 | |
| 162 | QWidget* Note::view() const { |
| 163 | #ifndef SDK |
| 164 | if (!m_partView) { |
| 165 | m_view = new NoteView(const_cast<Note*>(this)); |
| 166 | m_partView = m_view; |
| 167 | } |
| 168 | return m_partView; |
| 169 | #else |
| 170 | return nullptr; |
| 171 | #endif |
| 172 | } |
| 173 | |
| 174 | // ############################################################################## |
| 175 | // ################## Serialization/Deserialization ########################### |
no outgoing calls