Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
None
-
Qt Creator 2.7.0
-
None
Description
hi,
it would be very useful to have an option to auto implement pure virtual class (body & def)
Ex:
class Foo : public IFoo
{
->right click on Foo -> Add Pure...
};
with
class IFoo
{
virtual bool QtRocks() const = 0;
};
(Foo.h)
virtual bool QtRocks() const;
(Foo.cpp)
bool Foo::QtRocks() const
{
//TODO: Implement me (return true)
}
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-2692 refactoring should suggest "implement all virtual functions"
- Closed
- relates to
-
QTCREATORBUG-3908 generate stubs for abstract methods when creating a class derived from a Qt classes
- Closed