Consider this class:
class TestClass {
public:
virtual void testMethod() { }
};
Now, I call "Change Signature" for testMethod. The dialog box appears showing the current signature:
virtual void testMethod()
I change the signature to
virtual void testMethod(int a)
and hit the ok-button. My source code becomes:
class TestClass {
public:
void testMethod( int a )
{ }
};
The "virtual" keyword has disappeared!