00001 #include "imginvert.h" 00002 00003 QColor ImgInvert::doColorCorrection(QColor c) { 00004 return QColor(0xff - c.red(), 00005 0xff - c.green(), 00006 0xff - c.blue()); 00007 } 00008