2 * Copyright (C) 2009 Sakari Poussa
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, version 2.
9 #include <QtCore/QtCore>
10 #include <QtGui/QtGui>
11 #include <QInputContext>
13 #include "main-window.h"
15 int main(int argc, char *argv[])
17 QApplication app(argc, argv);
20 QStringList keys = QInputContextFactory::keys();
21 qDebug() << "Input Context Factory keys: " << keys;
22 QInputContext *hildonInputContext=0;
23 hildonInputContext=QInputContextFactory::create("hildon", 0);
24 app.setInputContext(hildonInputContext);