https://bugs.kde.org/show_bug.cgi?id=396710

            Bug ID: 396710
           Summary: Subclassing interface adds '=0' to header file
           Product: kdevelop
           Version: 5.2.3
          Platform: Appimage
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: file create
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: master.ha...@gmail.com
  Target Milestone: ---

When creating a file that subclasses an interface, the header file that is
generated adds in the =0 on any pure virtual function from the parent class. I
dont know if this is intended, but if you are subclassing the interface,
chances are you dont want it to still be pure virtual.

Also another bug i see with the file creation is on the constructor if you had
a parameter that was not required (has a default), such as 'QObject *
parent=0', when the file is created, it will not add in the default, so you
will end up with just 'QObject * parent'.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to