Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-7982

Auto Implement Pure Method

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 2.7.0
    • C/C++/Obj-C++ Support
    • 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

          For Gerrit Dashboard: QTCREATORBUG-7982
          # Subject Branch Project Status CR V

          Activity

            People

              erikv Erik Verbruggen
              phi Philippe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes