Changeset View
Changeset View
Standalone View
Standalone View
backends/xrandr/xrandrscreen.h
Show All 9 Lines | |||||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * | 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * | 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * | ||
12 | * Lesser General Public License for more details. * | 12 | * Lesser General Public License for more details. * | ||
13 | * * | 13 | * * | ||
14 | * You should have received a copy of the GNU Lesser General Public * | 14 | * You should have received a copy of the GNU Lesser General Public * | ||
15 | * License along with this library; if not, write to the Free Software * | 15 | * License along with this library; if not, write to the Free Software * | ||
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * | 16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * | ||
17 | *************************************************************************************/ | 17 | *************************************************************************************/ | ||
18 | #pragma once | ||||
18 | 19 | | |||
19 | #ifndef XRANDRSCREEN_H | 20 | #include "types.h" | ||
20 | #define XRANDRSCREEN_H | | |||
21 | 21 | | |||
22 | #include <QObject> | 22 | #include <QObject> | ||
23 | #include <QSize> | 23 | #include <QSize> | ||
24 | 24 | | |||
25 | #include "types.h" | | |||
26 | | ||||
27 | class XRandRConfig; | 25 | class XRandRConfig; | ||
28 | namespace KScreen | 26 | namespace KScreen | ||
29 | { | 27 | { | ||
30 | class Screen; | 28 | class Screen; | ||
31 | class Config; | 29 | class Config; | ||
32 | } | 30 | } | ||
33 | 31 | | |||
34 | class XRandRScreen : public QObject | 32 | class XRandRScreen : public QObject | ||
Show All 12 Lines | 36 | public: | |||
47 | QSize currentSize(); | 45 | QSize currentSize(); | ||
48 | 46 | | |||
49 | private: | 47 | private: | ||
50 | int m_id; | 48 | int m_id; | ||
51 | QSize m_minSize; | 49 | QSize m_minSize; | ||
52 | QSize m_maxSize; | 50 | QSize m_maxSize; | ||
53 | QSize m_currentSize; | 51 | QSize m_currentSize; | ||
54 | }; | 52 | }; | ||
55 | | ||||
56 | #endif // XRANDRSCREEN_H | |