コード例 #1
0
ファイル: dbus.cpp プロジェクト: surfhh/dontpanic
 // ---------------------------------------------------------------------------------
 void detail::object_to_unregister_from_dbus::from ( QDBusConnection con )
 {
   if ( !con.isConnected() )
   {
     return;
   }
   if ( con.objectRegisteredAt ( _M_path ) != 0 )
   {
     con.unregisterObject ( _M_path );
   }
 }