diff -r 46553c106c52 -r bec082472471 noteobj.cpp --- a/noteobj.cpp Mon Mar 22 15:37:23 2010 +0000 +++ b/noteobj.cpp Tue Mar 30 17:30:39 2010 +0000 @@ -1,9 +1,7 @@ -#include -#include -#include -#include +#include "noteobj.h" -#include "noteobj.h" +#include +#include ///////////////////////////////////////////////////////////////// // NoteObj @@ -51,12 +49,12 @@ QString NoteObj::getNoteASCII() { - return getNoteASCII (QString(""),80); + return getNoteASCII ("",80); } -QString NoteObj::getNoteASCII(const QString &indent, const int &width) +QString NoteObj::getNoteASCII(QString indent, const int &width) { - // FIXME-3 make use of width + if (note.isEmpty()) return note; QString r=note; // Remove all ... @@ -95,7 +93,7 @@ r.replace (rx,indent); r=indent + r; // Don't forget first line -/* FIXME-5 wrap text at width +/* FIXME-3 wrap text at width if (fonthint !="fixed") { }