Move resurrection to utilities, reduce its probablit a bit to match other utilities, rename the "hint" prop since it really isn't being used as a hint anymore. That can be put back if it changes.
#include <QtGui/QApplication>
#include "editor.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
editor w;
w.show();
return a.exec();
}