Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace some Q3PtrList usages with QList #1237

Merged
merged 1 commit into from
Feb 15, 2025

Conversation

wawuwo
Copy link
Contributor

@wawuwo wawuwo commented Feb 9, 2025

Hi!

This patch replaces Q3PtrList with QList wherever possible. This mostly involves API (member functions) of Schematic and Mouseactions. Where it is not possible to get rid of Q3PtrList completely I inserted a "shim" which translates from QList to Q3PtrList (it's ugly, but it allows to make another step towards #748 completion).

Functionalities which are affected by this change:

  • parsing schematic files
  • copy-pasting
  • moving of elements
  • handling of "left" and "right" key presses

I've tested a bit all the mentioned above myself and found no issues, changes are cosmetic despite of their (possibly) scary appearance.

@ra3xdh ra3xdh added this to the 25.1.0 milestone Feb 10, 2025
@ra3xdh ra3xdh linked an issue Feb 10, 2025 that may be closed by this pull request
4 tasks
@ra3xdh
Copy link
Owner

ra3xdh commented Feb 15, 2025

I have tested this PR and found no problems. Merged.

@ra3xdh ra3xdh removed a link to an issue Feb 15, 2025
4 tasks
@ra3xdh ra3xdh merged commit eff2da6 into ra3xdh:current Feb 15, 2025
7 checks passed
@ra3xdh ra3xdh linked an issue Feb 15, 2025 that may be closed by this pull request
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get rid of Q3PtrList wrapper
2 participants