i tried

setWindowFlags(Qt::Widget);

and

setWindowFlags(Qt::Window);

from http://doc.trolltech.com/4.3/qt.html#WindowType-enum

and none of the others seem to even fit what I'm trying to do.