本文整理汇总了C++中QDBusReply类的典型用法代码示例。如果您正苦于以下问题:C++ QDBusReply类的具体用法?C++ QDBusReply怎么用?C++ QDBusReply使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了QDBusReply类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: get_lock_delay_list_qt
QStringList SessionDispatcher::get_lock_delay_list_qt()
{
QDBusReply<QStringList> reply = sessioniface->call("get_lock_delay_list");
return reply.value();
}
示例2: set_show_date_qt
bool SessionDispatcher::set_show_date_qt(bool flag) {
QDBusReply<bool> reply = sessioniface->call("set_show_date", flag);
return reply.value();
}
示例3: set_power_icon_policy_qt
bool SessionDispatcher::set_power_icon_policy_qt(QString format) {
QDBusReply<bool> reply = sessioniface->call("set_power_icon_policy", format);
return reply.value();
}
示例4: set_panel_transparency_qt
bool SessionDispatcher::set_panel_transparency_qt(double opacity) {
QDBusReply<bool> reply = sessioniface->call("set_panel_transparency", opacity);
return reply.value();
}
示例5: set_time_format_qt
bool SessionDispatcher::set_time_format_qt(QString format) {
QDBusReply<bool> reply = sessioniface->call("set_time_format", format);
return reply.value();
}
示例6: set_launcher_icon_colouring_qt
bool SessionDispatcher::set_launcher_icon_colouring_qt(int colouring) {
QDBusReply<bool> reply = sessioniface->call("set_launcher_icon_colouring", colouring);
return reply.value();
}
示例7: set_dash_blur_experimental_qt
bool SessionDispatcher::set_dash_blur_experimental_qt(int blur) {
QDBusReply<bool> reply = sessioniface->call("set_dash_blur_experimental", blur);
return reply.value();
}
示例8: judge_camera_qt
bool SessionDispatcher::judge_camera_qt() {
QDBusReply<bool> reply = sessioniface->call("judge_camera");
return reply.value();
}
示例9: judge_power_is_exists_qt
bool SessionDispatcher::judge_power_is_exists_qt() {
QDBusReply<bool> reply = sessioniface->call("judge_power_is_exists");
return reply.value();
}
示例10: get_current_lid_ac_qt
QString SessionDispatcher::get_current_lid_ac_qt()
{
QDBusReply<QString> reply = sessioniface->call("get_current_lid_ac");
return reply.value();
}
示例11: get_current_sleep_timeout_ac_qt
QString SessionDispatcher::get_current_sleep_timeout_ac_qt()
{
QDBusReply<int> reply = sessioniface->call("get_current_sleep_timeout_ac");
return QString::number(reply.value());
}
示例12: get_current_critical_low_qt
QString SessionDispatcher::get_current_critical_low_qt()
{
QDBusReply<QString> reply = sessioniface->call("get_current_critical_low");
return reply.value();
}
示例13: get_sleep_timeout_list_qt
QStringList SessionDispatcher::get_sleep_timeout_list_qt()
{
QDBusReply<QStringList> reply = sessioniface->call("get_sleep_timeout_list");
return reply.value();
}
示例14: get_current_lock_delay_qt
QString SessionDispatcher::get_current_lock_delay_qt()
{
QDBusReply<int> reply = sessioniface->call("get_current_lock_delay");
return QString::number(reply.value());
}
示例15: get_all_launcher_icon_colourings_qt
//图标背景
QStringList SessionDispatcher::get_all_launcher_icon_colourings_qt() {
QDBusReply<QStringList> reply = sessioniface->call("get_all_launcher_icon_colourings");
return reply.value();
}