示例#1
0
 public Controller(QWidget parent) : base(parent)
 {
     ui = new Ui.Controller();
     ui.SetupUi(this);
     car = new QDBusInterface("com.trolltech.CarExample", "/Car",
                              "com.trolltech.Examples.CarInterface",
                              QDBusConnection.SessionBus(), this);
     StartTimer(1000);
 }
示例#2
0
文件: controller.cs 项目: KDE/qyoto
 public Controller(QWidget parent)
     : base(parent)
 {
     ui = new Ui.Controller();
     ui.SetupUi(this);
     car = new QDBusInterface("com.trolltech.CarExample", "/Car",
                              "com.trolltech.Examples.CarInterface",
                              QDBusConnection.SessionBus(), this);
     StartTimer(1000);
 }