diff --git a/core/generator.cpp b/core/generator.cpp new file mode 100644 index 000000000..0bb91d2ba --- /dev/null +++ b/core/generator.cpp @@ -0,0 +1,13 @@ +#include "generator.h" + +std::ostream& operator<< (std::ostream& str, const PixmapRequest *req) +{ + QString s(""); + if (req->async) + s += "As"; + else + s += "S"; + s += QString ("ync PixmapRequest (id: %1) (%2x%3) ").arg(req->id,req->width,req->height); + s += QString("rot:%4, prio: %5, pageNo: %6) ").arg(req->rotation,req->priority,req->pageNumber); + return (str << s); +}