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. Find usages in split include header
Forum Updated to NodeBB v4.3 + New Features

Find usages in split include header

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 307 Views 1 Watching
  • 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.
  • K Offline
    K Offline
    koahnig
    wrote on last edited by koahnig
    #1

    I have a major class with lots of member access routines or forwarding routines. Those routines are declared in the class definition and the actual code is as inline routines. For this specific class the the header file became bulky and I decided to split off the inlines into seperated include file, which is basically included at the end of the declaration include. For the compiler it is the same, but it is for my internal handling easier.

    It looks a bit like:

    includeDecl.h

    class A
    {
    ...
    };
    #include "includeImpl.h"
    

    includeImpl.h:

    inline double A::getMember1() const
    {
        return Member1;
    }
    ...
    

    Unfortunately, this setup is killing the usability of "Find usages" in creator. The inlines are cut off and will not show up.

    Any idea to get around this problem?

    Vote the answer(s) that helped you to solve your issue(s)

    1 Reply Last reply
    0

    • Login

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