QmlDesigner: Correct a method's camelCase naming

Change-Id: If9d4b750a09873fc0de8f85edcb41d220cbe5a41
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
Mahmoud Badri
2022-09-26 16:29:03 +03:00
parent e31debc0e7
commit d47e9772e0
9 changed files with 9 additions and 9 deletions

View File

@@ -441,7 +441,7 @@ Item {
width: parent.width - addAssetButton.width - 5
onSearchChanged: (searchText) => rootView.handleSearchfilterChanged(searchText)
onSearchChanged: (searchText) => rootView.handleSearchFilterChanged(searchText)
}
IconButton {

View File

@@ -226,7 +226,7 @@ Item {
width: parent.width - addModuleButton.width - 5
onSearchChanged: (searchText) => rootView.handleSearchfilterChanged(searchText)
onSearchChanged: (searchText) => rootView.handleSearchFilterChanged(searchText)
}
IconButton {

View File

@@ -235,7 +235,7 @@ Item {
width: root.width - addMaterialButton.width
onSearchChanged: (searchText) => rootView.handleSearchfilterChanged(searchText)
onSearchChanged: (searchText) => rootView.handleSearchFilterChanged(searchText)
}
IconButton {

View File

@@ -187,7 +187,7 @@ QList<QToolButton *> AssetsLibraryWidget::createToolBarWidgets()
return {};
}
void AssetsLibraryWidget::handleSearchfilterChanged(const QString &filterText)
void AssetsLibraryWidget::handleSearchFilterChanged(const QString &filterText)
{
if (filterText == m_filterText || (m_assetsModel->isEmpty() && filterText.contains(m_filterText)))
return;

View File

@@ -78,7 +78,7 @@ public:
Q_INVOKABLE void startDragAsset(const QStringList &assetPaths, const QPointF &mousePos);
Q_INVOKABLE void handleAddAsset();
Q_INVOKABLE void handleSearchfilterChanged(const QString &filterText);
Q_INVOKABLE void handleSearchFilterChanged(const QString &filterText);
Q_INVOKABLE void handleExtFilesDrop(const QList<QUrl> &simpleFilePaths,
const QList<QUrl> &complexFilePaths,
const QString &targetDirPath = {});

View File

@@ -227,7 +227,7 @@ QList<QToolButton *> ItemLibraryWidget::createToolBarWidgets()
}
void ItemLibraryWidget::handleSearchfilterChanged(const QString &filterText)
void ItemLibraryWidget::handleSearchFilterChanged(const QString &filterText)
{
if (filterText != m_filterText) {
m_filterText = filterText;

View File

@@ -91,7 +91,7 @@ public:
Q_INVOKABLE void startDragAndDrop(const QVariant &itemLibEntry, const QPointF &mousePos);
Q_INVOKABLE void removeImport(const QString &importUrl);
Q_INVOKABLE void addImportForItem(const QString &importUrl);
Q_INVOKABLE void handleSearchfilterChanged(const QString &filterText);
Q_INVOKABLE void handleSearchFilterChanged(const QString &filterText);
Q_INVOKABLE void handleAddImport(int index);
Q_INVOKABLE void goIntoComponent(const QString &source);

View File

@@ -214,7 +214,7 @@ void MaterialBrowserWidget::contextHelp(const Core::IContext::HelpCallback &call
callback({});
}
void MaterialBrowserWidget::handleSearchfilterChanged(const QString &filterText)
void MaterialBrowserWidget::handleSearchFilterChanged(const QString &filterText)
{
if (filterText != m_filterText) {
m_filterText = filterText;

View File

@@ -73,7 +73,7 @@ public:
QPointer<MaterialBrowserBundleModel> materialBrowserBundleModel() const;
void updateMaterialPreview(const ModelNode &node, const QPixmap &pixmap);
Q_INVOKABLE void handleSearchfilterChanged(const QString &filterText);
Q_INVOKABLE void handleSearchFilterChanged(const QString &filterText);
Q_INVOKABLE void startDragMaterial(int index, const QPointF &mousePos);
Q_INVOKABLE void startDragBundleMaterial(QmlDesigner::BundleMaterial *bundleMat, const QPointF &mousePos);