QML keyboard indicator for my personnal needs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
672 B

#include <QApplication>
#include <QQmlApplicationEngine>
#include <QDebug>
#include "xcbEventFilter.h"
int main(int argc, char *argv[])
/* create qapp and QML engine */
QApplication app(argc, argv);
QQmlApplicationEngine engine;
/* Get the flag object */
QObject *rootObject = engine.rootObjects().first();
/* Install event filter to handle mapping change */
XcbEventFilter *eventFilter = new XcbEventFilter(rootObject);
/* run application */
return app.exec();