![]() Scheduling and message-dispatching issues could change the order in which the slot is run. However, slots must not rely on that behavior. ![]() In most cases, by the time the first line of the slot is run, the caller function has already resumed working. For that reason, they cannot take any output parameters. This parameter, if present, will be initialized with a copy of the current message being processed, which allows the callee to obtain information about the caller, such as its connection name.Īsynchronous slots are those that do not normally return any reply to the caller. Slots can have one parameter of type const QDBusMessage &, which must appear at the end of the input parameter list, before any output parameters. Slots whose parameters do not follow those rules or that are not public will not be accessible via D-Bus. Slots in D-Bus adaptors are declared just like normal, public slots, but their parameters must follow certain rules (see The Qt D-Bus Type System for more information).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |