1
/* * This file is part of Maliit framework *
3
* Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
6
* Contact: maliit-discuss@lists.maliit.org
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
15
#ifndef MALIIT_KEYBOARD_QUICK_H
16
#define MALIIT_KEYBOARD_QUICK_H
19
#include <maliit/namespace.h>
21
//! \brief MaliitQuick exposes Maliit enums to QML-based input methods
22
class MaliitQuick: public QObject
25
Q_ENUMS(SwitchDirection)
31
//! This enum defines direction of plugin switching
32
enum SwitchDirection {
33
SwitchUndefined = Maliit::SwitchUndefined, //!< Special value for uninitialized variables
34
SwitchForward = Maliit::SwitchForward, //!< Activate next plugin
35
SwitchBackward = Maliit::SwitchBackward //!< Activate previous plugin
39
FreeTextContentType = Maliit::FreeTextContentType,
40
NumberContentType = Maliit::NumberContentType,
41
PhoneNumberContentType = Maliit::PhoneNumberContentType,
42
EmailContentType = Maliit::EmailContentType,
43
UrlContentType = Maliit::UrlContentType,
44
CustomContentType = Maliit::CustomContentType
54
PreeditDefault = Maliit::PreeditDefault,
55
PreeditNoCandidates = Maliit::PreeditNoCandidates,
56
PreeditKeyPress = Maliit::PreeditKeyPress
60
#endif // MALIIT_KEYBOARD_QUICK_H