diff -r a180113055cb -r 83d6a149c755 Tests/DemoGUI/ScreenSize.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Tests/DemoGUI/ScreenSize.h Mon Oct 11 21:59:54 2010 +0530 @@ -0,0 +1,18 @@ +#ifndef SCREENSIZE_H +#define SCREENSIZE_H + +#include +#include +#include +#include + +class ScreenSize : public QObject +{ +public: + inline static QRect GetScreenRect() + { + return QApplication::desktop()->screenGeometry(); + } +}; + +#endif // SCREENSIZE_H