Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Issue: Setter & Getters Generation using Alt+Enter
Qt 6.11 is out! See what's new in the release blog

Issue: Setter & Getters Generation using Alt+Enter

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 181 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sajjad 0
    wrote last edited by
    #1

    Does changing name of variable effects the generation of setter and getter functions?
    m_speed only setter generated
    m_speedy everything generated
    From this:
    5651fa62-3ffd-45fb-a5fa-34614015a299-image.png
    to this:
    e4ffd899-2f5a-4ba3-9704-9d34d698e190-image.png

    1 Reply Last reply
    0
    • aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote last edited by
      #2

      @Sajjad-0 Is it possible that you already have a member function named speed()? That would explain why not getter generation is suggested.

      Just a guess.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sajjad 0
        wrote last edited by
        #3

        No i don't have member function.

        making a new project solved this problem

        1 Reply Last reply
        0
        • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved