Image 01
profile-image

rokemoon

ruslan ahapkin
Zaebis

Qt Tools 20 comments

Score 68.0%
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