forked from qt-creator/qt-creator
QmlDesigner: Correct a method's camelCase naming
Change-Id: If9d4b750a09873fc0de8f85edcb41d220cbe5a41 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
@@ -441,7 +441,7 @@ Item {
|
||||
|
||||
width: parent.width - addAssetButton.width - 5
|
||||
|
||||
onSearchChanged: (searchText) => rootView.handleSearchfilterChanged(searchText)
|
||||
onSearchChanged: (searchText) => rootView.handleSearchFilterChanged(searchText)
|
||||
}
|
||||
|
||||
IconButton {
|
||||
|
@@ -226,7 +226,7 @@ Item {
|
||||
|
||||
width: parent.width - addModuleButton.width - 5
|
||||
|
||||
onSearchChanged: (searchText) => rootView.handleSearchfilterChanged(searchText)
|
||||
onSearchChanged: (searchText) => rootView.handleSearchFilterChanged(searchText)
|
||||
}
|
||||
|
||||
IconButton {
|
||||
|
@@ -235,7 +235,7 @@ Item {
|
||||
|
||||
width: root.width - addMaterialButton.width
|
||||
|
||||
onSearchChanged: (searchText) => rootView.handleSearchfilterChanged(searchText)
|
||||
onSearchChanged: (searchText) => rootView.handleSearchFilterChanged(searchText)
|
||||
}
|
||||
|
||||
IconButton {
|
||||
|
@@ -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;
|
||||
|
@@ -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 = {});
|
||||
|
@@ -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;
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user