~ubuntu-branches/ubuntu/wily/kscreen/wily

« back to all changes in this revision

Viewing changes to kcm/src/declarative/qmloutputcomponent.h

  • Committer: Package Import Robot
  • Author(s): Scarlett Clark, Scarlett Clark, Jonathan Riddell, Harald Sitter
  • Date: 2014-08-20 08:35:15 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20140820083515-i9lk9nyt0adwd2q5
Tags: 2.0.0~git20141114-0ubuntu1
[ Scarlett Clark ]
* Update packaging for frameworks branch
* Git snapshot of the frameworks branch

[ Jonathan Riddell ]
* Remove kscreen-console.1 manpage which is out of date

[ Harald Sitter ]
* switch to new pkg-kde-tools

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2013  Daniel Vrátil <dvratil@redhat.com>
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License as published by
 
6
 * the Free Software Foundation; either version 2 of the License, or
 
7
 * (at your option) any later version.
 
8
 *
 
9
 * This program 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
 
12
 * GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License along
 
15
 * with this program; if not, write to the Free Software Foundation, Inc.,
 
16
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
17
 *
 
18
 */
 
19
 
 
20
#ifndef QMLOUTPUTCOMPONENT_H
 
21
#define QMLOUTPUTCOMPONENT_H
 
22
 
 
23
#include <QQmlComponent>
 
24
 
 
25
class QMLScreen;
 
26
class QMLOutput;
 
27
namespace KScreen {
 
28
class Output;
 
29
}
 
30
 
 
31
class QMLOutputComponent : public QQmlComponent
 
32
{
 
33
    Q_OBJECT
 
34
 
 
35
  public:
 
36
    explicit QMLOutputComponent(QQmlEngine *engine, QMLScreen *parent);
 
37
    virtual ~QMLOutputComponent();
 
38
 
 
39
    QMLOutput* createForOutput(KScreen::Output *output);
 
40
 
 
41
  private:
 
42
    QQmlEngine *m_engine;
 
43
 
 
44
};
 
45
 
 
46
#endif // QMLOUTPUTCOMPONENT_H