~sil2100/ubuntu-keyboard/preedit_state_fix

« back to all changes in this revision

Viewing changes to plugins/es/src/spanishplugin.h

language features + backends go into plugins
.

Approved by Bill Filler, PS Jenkins bot, Thomas Moenicke.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef SPANISHPLUGIN_H
 
2
#define SPANISHPLUGIN_H
 
3
 
 
4
#include <QObject>
 
5
#include "languageplugininterface.h"
 
6
#include "westernlanguagesplugin.h"
 
7
 
 
8
class SpanishPlugin : public QObject, public WesternLanguagesPlugin
 
9
{
 
10
    Q_OBJECT
 
11
    Q_INTERFACES(LanguagePluginInterface)
 
12
    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.Examples.SpanishPlugin" FILE "spanishplugin.json")
 
13
 
 
14
public:
 
15
    explicit SpanishPlugin(QObject* parent = 0)
 
16
        : QObject(parent)
 
17
        , WesternLanguagesPlugin()
 
18
    {
 
19
        _useDatabase("es");
 
20
    }
 
21
 
 
22
    virtual ~SpanishPlugin()
 
23
    {
 
24
    }
 
25
};
 
26
 
 
27
#endif // SPANISHPLUGIN_H