I created a subclass of QAction, among others with this constructor:
Qt Code:
  1. MyAction(QObject * parent, const QString & name);
To copy to clipboard, switch view to plain text mode 

Then I use it in other parts this way:

Qt Code:
  1. MyAction *action = new MyAction(this, "name");
To copy to clipboard, switch view to plain text mode 

The problem is that instead of my constructor, it's called QAction ( QObject * parent, const char * name ).

I fixed it changing my constructor to
Qt Code:
  1. MyAction ( QObject * parent, const char * name);
To copy to clipboard, switch view to plain text mode 

But I also had the same problem with other constructors.

Is it possible any way that only my constructors are taking into account and not the inherited ones?