rokemoon
ruslan ahapkin
Products
Comments (1)
Zaebis
Qt Stuff
20 comments
by
pasaranax
Score 57%
57 Likes
43 Dislikes
Apr 08 2009
Make it work :-)
good.h:
@
#ifndef GOOD_H
#define GOOD_H
#include <QtGui/QPushButton>
class good : public QPushButton{
Q_OBJECT
public:
good(QWidget *parent = 0);
private slots:
void allGood();
};
#endif // GOOD_H
@
good.cpp
@
#include "good.h"
good::good(QWidget *parent) : QPushButton(parent){
setText(QString::fromUtf8("Сделай мне заебись!"));
setWindowTitle(QString::fromUtf8("Заебись"));
connect(this, SIGNAL(clicked()), this, SLOT(allGood()));
}
void good::allGood()
{
setText(QString::fromUtf8("Все заебись!"));
}
@
- Nov 08 2011
Put the headline here
×
good.h:
@
#ifndef GOOD_H
#define GOOD_H
#include <QtGui/QPushButton>
class good : public QPushButton{
Q_OBJECT
public:
good(QWidget *parent = 0);
private slots:
void allGood();
};
#endif // GOOD_H
@
good.cpp
@
#include "good.h"
good::good(QWidget *parent) : QPushButton(parent){
setText(QString::fromUtf8("Сделай мне заебись!"));
setWindowTitle(QString::fromUtf8("Заебись"));
connect(this, SIGNAL(clicked()), this, SLOT(allGood()));
}
void good::allGood()
{
setText(QString::fromUtf8("Все заебись!"));
}
@ - Nov 08 2011