Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How can I make classes defined in headers work as if they were private in a class?

How can I make classes defined in headers work as if they were private in a class?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 208 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.
  • A Offline
    A Offline
    AI_Messiah
    wrote on last edited by
    #1

    So I am working on something that is open sourced so I don't want things to be completely hidden. I just want to have one class to be the interface to my framework and just not have things to be mentioned when they don't have to be.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      I think you will have to explain or provide an example of the type of problem you are trying to solve.

      You might be thinking of something as simple as forward declaration of classes, or more complex like the PIMPL idiom (see this and this) that Qt makes heavy internal use of.

      1 Reply Last reply
      1

      • Login

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