~timo-jyrinki/ubuntu/trusty/maliit-framework/fix_qt52

« back to all changes in this revision

Viewing changes to maliit-plugins-quick/plugin-factory/maliitquickpluginfactory.h

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo, Sergio Schvezov, Ricardo Salveti de Araujo
  • Date: 2013-07-23 19:47:04 UTC
  • mfrom: (1.1.2) (1.2.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130723194704-1lsy1kmlda069cea
Tags: 0.99.0+git20130615+97e8335-0ubuntu1
[ Sergio Schvezov ]
* New build from HEAD 97e8335.
* Packaging import from lp:phablet-extras/maliit-framework.

[ Ricardo Salveti de Araujo ]
* debian/control: adding vcs and fixing dependencies
* General package cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* * This file is part of Maliit framework *
2
 
 *
3
 
 * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
4
 
 * All rights reserved.
5
 
 *
6
 
 * Contact: maliit-discuss@lists.maliit.org
7
 
 *
8
 
 * This library is free software; you can redistribute it and/or
9
 
 * modify it under the terms of the GNU Lesser General Public
10
 
 * License version 2.1 as published by the Free Software Foundation
11
 
 * and appearing in the file LICENSE.LGPL included in the packaging
12
 
 * of this file.
13
 
 */
14
 
 
15
 
#ifndef MALIITQUICKPLUGINFACTORY_H
16
 
#define MALIITQUICKPLUGINFACTORY_H
17
 
 
18
 
#include <maliit/plugins/abstractpluginfactory.h>
19
 
 
20
 
#include <QtCore>
21
 
 
22
 
class MaliitQuickPluginFactory
23
 
    : public QObject, public MImAbstractPluginFactory
24
 
{
25
 
    Q_OBJECT
26
 
    Q_INTERFACES(MImAbstractPluginFactory)
27
 
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
28
 
    Q_PLUGIN_METADATA(IID  "org.maliit.qtquick.plugin.factory"
29
 
                      FILE "plugin-factory.json")
30
 
#endif
31
 
    Q_DISABLE_COPY(MaliitQuickPluginFactory)
32
 
 
33
 
public:
34
 
    explicit MaliitQuickPluginFactory(QObject *parent = 0);
35
 
 
36
 
    //! \reimp
37
 
    virtual ~MaliitQuickPluginFactory();
38
 
    virtual QString fileExtension() const;
39
 
    virtual Maliit::Plugins::InputMethodPlugin * create(const QString &file) const;
40
 
    //! \reimp_end
41
 
};
42
 
 
43
 
#endif // MALIITQUICKPLUGINFACTORY_H