Bug 268094

Summary: Can't override virtual functions in protected section
Product: [Applications] kdevelop Reporter: Nikita Churaev <lamefun.x0r>
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol
Priority: NOR    
Version: unspecified   
Target Milestone: 4.2.0   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nikita Churaev 2011-03-09 23:55:18 UTC
Version:           unspecified
OS:                Linux

Let's say that I have a class:

//-------------------------------

class Application {
public:
  virtual void quit();

protected:
  virtual bool main();
};

//-------------------------------

Then I create derived class:

//-------------------------------

class Client : public Application {
public:
  // Ctrl+Space here offers me an option to override the function

protected:
  // Ctrl+Space here DOES NOT offer me an option to override the function
};

//-------------------------------

Reproducible: Always
Comment 1 Kevin Funk 2012-12-21 00:21:09 UTC
Works for me.