Debian Codegraph @

phoenix/qt/desktop.cpp

raw
1 namespace phoenix {
2
3 Size pDesktop::size() {
4 QRect rect = QApplication::desktop()->screenGeometry();
5 return {rect.width(), rect.height()};
6 }
7
8 Geometry pDesktop::workspace() {
9 QRect rect = QApplication::desktop()->availableGeometry();
10 return {rect.x(), rect.y(), rect.width(), rect.height()};
11 }
12
13 }