~ubuntu-branches/ubuntu/wily/libkscreen/wily-proposed

« back to all changes in this revision

Viewing changes to backends/qscreen/qscreenscreen.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2014-10-01 15:47:21 UTC
  • Revision ID: package-import@ubuntu.com-20141001154721-96ng88bgtxpj8sjv
Tags: upstream-5.1.0.1
Import upstream version 5.1.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*************************************************************************************
 
2
 *  Copyright 2014 Sebastian Kügler <sebas@kde.org>                                  *
 
3
 *                                                                                   *
 
4
 *  This library is free software; you can redistribute it and/or                    *
 
5
 *  modify it under the terms of the GNU Lesser General Public                       *
 
6
 *  License as published by the Free Software Foundation; either                     *
 
7
 *  version 2.1 of the License, or (at your option) any later version.               *
 
8
 *                                                                                   *
 
9
 *  This library is distributed in the hope that it will be useful,                  *
 
10
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of                   *
 
11
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU                *
 
12
 *  Lesser General Public License for more details.                                  *
 
13
 *                                                                                   *
 
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              *
 
16
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA       *
 
17
 *************************************************************************************/
 
18
 
 
19
#ifndef QSCREEN_SCREEN_H
 
20
#define QSCREEN_SCREEN_H
 
21
 
 
22
#include "../abstractbackend.h"
 
23
#include "config.h"
 
24
#include "screen.h"
 
25
 
 
26
#include <QScreen>
 
27
#include <QtCore/QSize>
 
28
#include <QLoggingCategory>
 
29
 
 
30
namespace KScreen
 
31
{
 
32
class Output;
 
33
class QScreenOutput;
 
34
 
 
35
class QScreenScreen : public QObject
 
36
{
 
37
    Q_OBJECT
 
38
 
 
39
public:
 
40
    explicit QScreenScreen(QScreenConfig *config);
 
41
    virtual ~QScreenScreen();
 
42
 
 
43
    KScreen::Screen *toKScreenScreen(KScreen::Config *parent) const;
 
44
    void updateKScreenScreen(KScreen::Screen *screen) const;
 
45
};
 
46
 
 
47
} // namespace
 
48
 
 
49
#endif // QSCREEN_SCREEN_H