Sample Hotkey

Demonstrates the usage of IKeyboard

refs #83
This commit is contained in:
Roland Winklmeier
2014-03-05 15:55:30 +01:00
parent a7465fa6a3
commit f09c77ebd0
7 changed files with 345 additions and 1 deletions

16
samples/hotkey/main.cpp Normal file
View File

@@ -0,0 +1,16 @@
/* Copyright (C) 2013 VATSIM Community / contributors
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "hotkey.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
HotkeyDialog w;
w.show();
return a.exec();
}