~michael-sheldon/ubuntu/utopic/maliit-framework/fix-orientation-updates

« back to all changes in this revision

Viewing changes to maliit-settings/pluginsettings.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) 2012 Mattia Barbon <mattia@develer.com>
4
 
 *
5
 
 * This library is free software; you can redistribute it and/or
6
 
 * modify it under the terms of the GNU Lesser General Public
7
 
 * License version 2.1 as published by the Free Software Foundation
8
 
 * and appearing in the file LICENSE.LGPL included in the packaging
9
 
 * of this file.
10
 
 */
11
 
 
12
 
#ifndef MALIIT_PLUGINSETTINGS_H
13
 
#define MALIIT_PLUGINSETTINGS_H
14
 
 
15
 
#include <QScopedPointer>
16
 
#include <QSharedPointer>
17
 
#include <QVariant>
18
 
 
19
 
class MImPluginSettingsInfo;
20
 
 
21
 
namespace Maliit {
22
 
 
23
 
class PluginSettingsPrivate;
24
 
class SettingsEntry;
25
 
class AttributeExtension;
26
 
 
27
 
 
28
 
/*!
29
 
 * \brief Configuration entries for an input method plugin
30
 
 */
31
 
    class PluginSettings : public QObject
32
 
{
33
 
    Q_OBJECT
34
 
 
35
 
public:
36
 
    virtual ~PluginSettings();
37
 
 
38
 
    /*!
39
 
     * \brief Lanaguage used for the plugin description.
40
 
     *
41
 
     * Could be either the preferred description language or a fallback chosen by the server.
42
 
     */
43
 
    QString descriptionLanguage() const;
44
 
 
45
 
    //! Internal plugin name
46
 
    QString pluginName() const;
47
 
 
48
 
    //! Human-readable plugin description
49
 
    QString pluginDescription() const;
50
 
 
51
 
    //! List of configuration entries for this plugin
52
 
    QList<QSharedPointer<SettingsEntry> > configurationEntries() const;
53
 
 
54
 
private:
55
 
    PluginSettings(const MImPluginSettingsInfo &info, const QSharedPointer<AttributeExtension> &extension);
56
 
 
57
 
    QScopedPointer<PluginSettingsPrivate> d_ptr;
58
 
 
59
 
    Q_DISABLE_COPY(PluginSettings)
60
 
    Q_DECLARE_PRIVATE(PluginSettings)
61
 
 
62
 
    friend class SettingsManager;
63
 
};
64
 
 
65
 
}
66
 
 
67
 
#endif // MALIIT_PLUGINSETTINGS_H