Changeset View
Changeset View
Standalone View
Standalone View
backends/xrandr/xrandrmode.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 | 18 | #pragma once | |||
19 | #ifndef XRANDRMODE_H | | |||
20 | #define XRANDRMODE_H | | |||
21 | 19 | | |||
22 | #include <QObject> | 20 | #include <QObject> | ||
23 | #include <QMap> | 21 | #include <QMap> | ||
24 | #include <QVariant> | 22 | #include <QVariant> | ||
25 | #include <QSize> | 23 | #include <QSize> | ||
26 | 24 | | |||
27 | #include "types.h" | 25 | #include "types.h" | ||
28 | #include "../xcbwrapper.h" | 26 | #include "../xcbwrapper.h" | ||
Show All 25 Lines | |||||
54 | private: | 52 | private: | ||
55 | xcb_randr_mode_t m_id; | 53 | xcb_randr_mode_t m_id; | ||
56 | QString m_name; | 54 | QString m_name; | ||
57 | QSize m_size; | 55 | QSize m_size; | ||
58 | float m_refreshRate; | 56 | float m_refreshRate; | ||
59 | }; | 57 | }; | ||
60 | 58 | | |||
61 | Q_DECLARE_METATYPE(XRandRMode::Map) | 59 | Q_DECLARE_METATYPE(XRandRMode::Map) | ||
62 | | ||||
63 | #endif // XRANDRMODE_H | |