I don't understand what was happen; but I founded in .h 'cosnt' instead const!!
Before I cuted and pasted but I see that in the first post const is true; this below works and it seems thae same of the first post;
#include "mylabel.h"
myLabel
::myLabel (QWidget* parent,
const char* name
) :
}
#include <qlabel.h>
class myLabel
: public QLabel {public:
myLabel
(QWidget* parent
=0,
const char* name
=0);
~myLabel(){};
};
#include "mylabel.h"
myLabel::myLabel (QWidget* parent, const char* name) :
QLabel (parent,name) {
}
#include <qlabel.h>
class myLabel : public QLabel {
public:
myLabel(QWidget* parent=0, const char* name=0);
~myLabel(){};
};
To copy to clipboard, switch view to plain text mode
Bookmarks