main.cpp
changeset 783 85dec6a8c12c
parent 781 6cbf3c9cbd21
child 785 5987f9f15bac
     1.1 --- a/main.cpp	Wed Jul 22 11:48:23 2009 +0000
     1.2 +++ b/main.cpp	Mon Jul 27 12:53:17 2009 +0000
     1.3 @@ -4,6 +4,8 @@
     1.4  #include <iostream>
     1.5  using namespace std;
     1.6  
     1.7 +#include "adaptor.h"  //FIXME-3
     1.8 +
     1.9  #include "flagrow.h"
    1.10  #include "flagrowobj.h"
    1.11  #include "mainwindow.h"
    1.12 @@ -186,6 +188,14 @@
    1.13  	// Paint Mainwindow first time
    1.14  	qApp->processEvents();
    1.15  
    1.16 +	// FIXME-3 playing around with dbus
    1.17 +	/*
    1.18 +	new Adaptor (&app);
    1.19 +	dbusConnection.registerService("org.insilmaril.MainWindow");
    1.20 +	QDBusConnection::sessionBus().registerObject("/MainApplication", &app);
    1.21 +	*/
    1.22 +
    1.23 +
    1.24  	m.loadCmdLine();
    1.25  
    1.26  	// Run script