]> git.sven.stormbind.net Git - sven/vym.git/blobdiff - src/vymnote.cpp
New upstream version 2.9.22
[sven/vym.git] / src / vymnote.cpp
diff --git a/src/vymnote.cpp b/src/vymnote.cpp
new file mode 100644 (file)
index 0000000..0978de6
--- /dev/null
@@ -0,0 +1,16 @@
+#include "vymnote.h"
+
+/////////////////////////////////////////////////////////////////
+// VymNote
+/////////////////////////////////////////////////////////////////
+
+VymNote::VymNote() { clear(); }
+
+VymNote::VymNote(const VymText &other) { VymText::copy(other); }
+
+void VymNote::operator=(const VymText &other) { copy(other); }
+
+QString VymNote::saveToDir()
+{
+    return singleElement("vymnote", getAttributes());
+}