File: mimserverconnection.cpp

package info (click to toggle)
maliit-framework 2.3.0-3.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,488 kB
  • sloc: cpp: 13,098; ansic: 2,506; xml: 299; sh: 34; makefile: 23; sed: 4
file content (118 lines) | stat: -rw-r--r-- 2,990 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/* * This file is part of Maliit framework *
 *
 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 *
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License version 2.1 as published by the Free Software Foundation
 * and appearing in the file LICENSE.LGPL included in the packaging
 * of this file.
 */

#include "mimserverconnection.h"

/* Dummy class that does nothing. */
MImServerConnection::MImServerConnection(QObject *parent)
    : QObject(parent)
    , d(0)
{
    Q_UNUSED(parent);
}

void MImServerConnection::activateContext()
{}

void MImServerConnection::showInputMethod()
{}

void MImServerConnection::hideInputMethod()
{}

void MImServerConnection::mouseClickedOnPreedit(const QPoint &pos, const QRect &preeditRect)
{
    Q_UNUSED(pos);
    Q_UNUSED(preeditRect);
}

void MImServerConnection::setPreedit(const QString &text, int cursorPos)
{
    Q_UNUSED(text);
    Q_UNUSED(cursorPos);
}

void MImServerConnection::updateWidgetInformation(const QMap<QString, QVariant> &stateInformation, bool focusChanged)
{
    Q_UNUSED(stateInformation);
    Q_UNUSED(focusChanged);
}

void MImServerConnection::reset(bool requireSynchronization)
{
    Q_UNUSED(requireSynchronization);
}

bool MImServerConnection::pendingResets()
{
    return false;
}

void MImServerConnection::appOrientationAboutToChange(int angle)
{
    Q_UNUSED(angle);
}

void MImServerConnection::appOrientationChanged(int angle)
{
    Q_UNUSED(angle);
}

void MImServerConnection::setCopyPasteState(bool copyAvailable, bool pasteAvailable)
{
    Q_UNUSED(copyAvailable);
    Q_UNUSED(pasteAvailable);
}

void MImServerConnection::processKeyEvent(QEvent::Type keyType, Qt::Key keyCode,
                                          Qt::KeyboardModifiers modifiers,
                                          const QString &text, bool autoRepeat, int count,
                                          quint32 nativeScanCode, quint32 nativeModifiers,
                                          unsigned long time)
{
    Q_UNUSED(keyType);
    Q_UNUSED(keyCode);
    Q_UNUSED(modifiers);
    Q_UNUSED(text);
    Q_UNUSED(autoRepeat);
    Q_UNUSED(count);
    Q_UNUSED(nativeScanCode);
    Q_UNUSED(nativeModifiers);
    Q_UNUSED(time);
}

void MImServerConnection::registerAttributeExtension(int id, const QString &fileName)
{
    Q_UNUSED(id);
    Q_UNUSED(fileName);
}

void MImServerConnection::unregisterAttributeExtension(int id)
{
    Q_UNUSED(id);
}

void MImServerConnection::setExtendedAttribute(int id, const QString &target, const QString &targetItem,
                                               const QString &attribute, const QVariant &value)
{
    Q_UNUSED(id);
    Q_UNUSED(target);
    Q_UNUSED(targetItem);
    Q_UNUSED(attribute);
    Q_UNUSED(value);
}

void MImServerConnection::loadPluginSettings(const QString &descriptionLanguage)
{
    Q_UNUSED(descriptionLanguage);
}