Hi, I don't understand why this don't compile; any suggests?
#include <qlabel.h> //mylabel.h
class myLabel
: public QLabel {public:
myLabel
(QWidget* parent
=0,
const char* name
= 0);
//~myLabel():
};
#include <qlabel.h> //mylabel.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
//mylabel.cpp
#include "mylabel.h"
myLabel
::myLabel(QWidget* parent,
const char* name
) :}
//mylabel.cpp
#include "mylabel.h"
myLabel::myLabel(QWidget* parent, const char* name) :
QLabel( parent, name){
}
To copy to clipboard, switch view to plain text mode
Bookmarks