Hi I wonder what's the problem in that code. Compiler get me this error (on the last code):
error C2664: 'MyPopupmenu::MyPopupmenu(MyWidget *,const char *,const QString *)' : cannot convert parameter 3 from 'const char [6]' to 'const QString *'
error C2664: 'MyPopupmenu::MyPopupmenu(MyWidget *,const char *,const QString *)' : cannot convert parameter 3 from 'const char [6]' to 'const QString *'
To copy to clipboard, switch view to plain text mode
MyPopupmenu
::MyPopupmenu(MyWidget
* parent,
const char* name,
const QString* title
): QPopupMenu( parent, name) {
.................
MyPopupmenu::MyPopupmenu(MyWidget* parent, const char* name, const QString* title):
QPopupMenu( parent, name) {
.................
To copy to clipboard, switch view to plain text mode
MyPopupmenu* myPopupmenu = new MyPopupmenu( this,0, "title" );
MyPopupmenu* myPopupmenu = new MyPopupmenu( this,0, "title" );
To copy to clipboard, switch view to plain text mode
Bookmarks