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
For Gerrit Dashboard: QTCREATORBUG-7982 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
55151,7 | CppEditor: Quick fix "Insert (Pure) Virtual Methods" | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |