Skip to content

Commit

Permalink
Remove MImExtensionEvent and related API
Browse files Browse the repository at this point in the history
  • Loading branch information
dobey committed Sep 23, 2022
1 parent 7471360 commit 0a1a3e3
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 565 deletions.
8 changes: 0 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ set(PLUGINS_SOURCES
src/maliit/plugins/abstractinputmethod.h
src/maliit/plugins/abstractinputmethodhost.cpp
src/maliit/plugins/abstractinputmethodhost.h
src/maliit/plugins/extensionevent.cpp
src/maliit/plugins/extensionevent.h
src/maliit/plugins/extensionevent_p.h
src/maliit/plugins/inputmethodplugin.h
src/maliit/plugins/keyoverride.cpp
src/maliit/plugins/keyoverride.h
Expand All @@ -126,11 +123,6 @@ set(PLUGINS_SOURCES
src/maliit/plugins/plugindescription.h
src/maliit/plugins/subviewdescription.cpp
src/maliit/plugins/subviewdescription.h
src/maliit/plugins/updateevent.cpp
src/maliit/plugins/updateevent.h
src/maliit/plugins/updateevent_p.h
src/maliit/plugins/updatereceiver.cpp
src/maliit/plugins/updatereceiver.h
src/maliit/standaloneinputmethod.cpp
src/maliit/standaloneinputmethod.h
src/maliit/standaloneinputmethodhost.cpp
Expand Down
1 change: 0 additions & 1 deletion examples/plugins/cxx/helloworld/helloworldinputmethod.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ class HelloWorldInputMethod

/* Optional, rarely used */
/* Using default implementations
virtual bool imExtensionEvent(MImExtensionEvent *event);
virtual void showLanguageNotification();
virtual void setKeyOverrides(const QMap<QString, QSharedPointer<MKeyOverride> > &overrides);
virtual void processKeyEvent(QEvent::Type keyType, Qt::Key keyCode,
Expand Down
1 change: 0 additions & 1 deletion examples/plugins/cxx/override/overrideinputmethod.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ class OverrideInputMethod

/* Optional, rarely used */
/* Using default implementations
virtual bool imExtensionEvent(MImExtensionEvent *event);
virtual void showLanguageNotification();
virtual void processKeyEvent(QEvent::Type keyType, Qt::Key keyCode,
Qt::KeyboardModifiers modifiers, const QString &text,
Expand Down
6 changes: 0 additions & 6 deletions src/maliit/plugins/abstractinputmethod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,3 @@ void MAbstractInputMethod::setKeyOverrides(const QMap<QString, QSharedPointer<MK
// empty default implementation
Q_UNUSED(overrides);
}

bool MAbstractInputMethod::imExtensionEvent(MImExtensionEvent *event)
{
Q_UNUSED(event);
return false; // event not handled as default
}
13 changes: 0 additions & 13 deletions src/maliit/plugins/abstractinputmethod.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ QT_END_NAMESPACE
class MAbstractInputMethodHost;
class MAbstractInputMethodPrivate;
class MKeyOverride;
class MImExtensionEvent;


/*! \ingroup pluginapi
Expand Down Expand Up @@ -237,18 +236,6 @@ class MAbstractInputMethod: public QObject
*/
virtual void setKeyOverrides(const QMap<QString, QSharedPointer<MKeyOverride> > &overrides);

/*!
* \brief handles extension event not covered by a dedicated method.
*
* Must return true if event is handled, otherwise false.
* Extensions can be registered on the application side, and will be passed through to
* the input method, allowing to add integration points between application and input method.
* Reimplementing this method is optional.
*
* \param event event to handle
*/
virtual bool imExtensionEvent(MImExtensionEvent *event);

Q_SIGNALS:
/*!
* \brief Inform that active subview is changed to \a subViewId for \a state.
Expand Down
43 changes: 0 additions & 43 deletions src/maliit/plugins/extensionevent.cpp

This file was deleted.

55 changes: 0 additions & 55 deletions src/maliit/plugins/extensionevent.h

This file was deleted.

26 changes: 0 additions & 26 deletions src/maliit/plugins/extensionevent_p.h

This file was deleted.

111 changes: 0 additions & 111 deletions src/maliit/plugins/updateevent.cpp

This file was deleted.

81 changes: 0 additions & 81 deletions src/maliit/plugins/updateevent.h

This file was deleted.

Loading

0 comments on commit 0a1a3e3

Please sign in to comment.