aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/tcinputmethod.h
diff options
context:
space:
mode:
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>2015-10-26 11:31:56 +0200
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>2015-10-28 09:44:59 +0000
commit03e2a1036061b82739041911e3827de3cb388d02 (patch)
treee23bb1390d0fba0d69a68dfee70afdc09a496bc5 /src/virtualkeyboard/tcinputmethod.h
parent2c5d6925ceeee7b216dead5ab87693c0d4cc0ca4 (diff)
Refactor class names
Since the virtual keyboard C++ interface is wrapped inside a namespace, it is possible to get rid of "Declarative" name in the class names, that would otherwise conflict with the QML namespace in the documentation. - Rename DeclarativeSettings to VirtualKeyboardSettings - Remove "Declarative" from class names The rationale for this change is that the name Declarative refers to now obsolete QtQuick1 module. Also, the class names are now the same in C++ and QML name spaces. Change-Id: Ide050d47110443d894d95d35dddf0df5891587be Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/virtualkeyboard/tcinputmethod.h')
-rw-r--r--src/virtualkeyboard/tcinputmethod.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/virtualkeyboard/tcinputmethod.h b/src/virtualkeyboard/tcinputmethod.h
index 216b93d8..b2f4d2e0 100644
--- a/src/virtualkeyboard/tcinputmethod.h
+++ b/src/virtualkeyboard/tcinputmethod.h
@@ -41,16 +41,16 @@ public:
bool simplified() const;
void setSimplified(bool simplified);
- QList<DeclarativeInputEngine::InputMode> inputModes(const QString &locale);
- bool setInputMode(const QString &locale, DeclarativeInputEngine::InputMode inputMode);
- bool setTextCase(DeclarativeInputEngine::TextCase textCase);
+ QList<InputEngine::InputMode> inputModes(const QString &locale);
+ bool setInputMode(const QString &locale, InputEngine::InputMode inputMode);
+ bool setTextCase(InputEngine::TextCase textCase);
bool keyEvent(Qt::Key key, const QString &text, Qt::KeyboardModifiers modifiers);
- QList<DeclarativeSelectionListModel::Type> selectionLists();
- int selectionListItemCount(DeclarativeSelectionListModel::Type type);
- QVariant selectionListData(DeclarativeSelectionListModel::Type type, int index, int role);
- void selectionListItemSelected(DeclarativeSelectionListModel::Type type, int index);
+ QList<SelectionListModel::Type> selectionLists();
+ int selectionListItemCount(SelectionListModel::Type type);
+ QVariant selectionListData(SelectionListModel::Type type, int index, int role);
+ void selectionListItemSelected(SelectionListModel::Type type, int index);
void reset();
void update();