Use the previous naming to keep source compatibility

This commit is contained in:
Artur Wojcik
2022-11-16 14:41:54 +01:00
committed by Baldur Karlsson
parent e630515813
commit 789a2a131c
4 changed files with 16 additions and 16 deletions
+6 -6
View File
@@ -298,19 +298,19 @@ struct MiniQtInvoker : ObjectForwarder<IMiniQtHelper>
return InvokeRetFunction<QWidget *>(&IMiniQtHelper::CreateComboBox, editable, changed);
}
void SetComboBoxOptions(QWidget *combo, const rdcarray<rdcstr> &options)
void SetComboOptions(QWidget *combo, const rdcarray<rdcstr> &options)
{
InvokeVoidFunction(&IMiniQtHelper::SetComboBoxOptions, combo, options);
InvokeVoidFunction(&IMiniQtHelper::SetComboOptions, combo, options);
}
size_t GetComboBoxCount(QWidget *combo)
size_t GetComboCount(QWidget *combo)
{
return InvokeRetFunction<size_t>(&IMiniQtHelper::GetComboBoxCount, combo);
return InvokeRetFunction<size_t>(&IMiniQtHelper::GetComboCount, combo);
}
void SelectComboBoxOption(QWidget *combo, const rdcstr &option)
void SelectComboOption(QWidget *combo, const rdcstr &option)
{
InvokeVoidFunction(&IMiniQtHelper::SelectComboBoxOption, combo, option);
InvokeVoidFunction(&IMiniQtHelper::SelectComboOption, combo, option);
}
};