2008-09-12から1日間の記事一覧
まずはサンプルコード sample.h #ifndef SAMPLE_H #define SAMPLE_H #include <QtCore> class A : public QObject { Q_OBJECT public: A(int i_, QObject *parent = NULL) : QObject(parent), i(i_) {} virtual ~A() { qDebug("A destructor called"); } int value()</qtcore>…