summaryrefslogtreecommitdiff
path: root/client/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/main.cc')
-rw-r--r--client/main.cc13
1 files changed, 8 insertions, 5 deletions
diff --git a/client/main.cc b/client/main.cc
index a37ed1e..025b713 100644
--- a/client/main.cc
+++ b/client/main.cc
@@ -25,16 +25,19 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-#include "macro.h"
-#include "sendrecieve.h"
#include <QApplication>
+#include <QObject>
+#include <QEvent>
+#include "macro.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
-
- macro("example");
+
+ MyEventHandler *eventhandler = new MyEventHandler();
+ app.installEventFilter( eventhandler );
+
+ new_macro("example");
return app.exec();
}
-