On Wed, 24 Oct 2012 06:11:13 +0800, "D.Y Feng"
wrote:
> I meet a problem in my code:
>
> hello.h:
>
> #include
>>
>> class Hello : public QObject{
>> Q_OBJECT
>> public:
>> Hello(QObject *parent = 0);
>> static int test(){
>> static int i=0;
>> qDebug()<> retu
On Tue, 23 Oct 2012 22:30:12 +0100, Matthew Ngaha
wrote:
> im trying to figure out how i can change the old signal syntax to new.
the
> program im reading through creates a widget that inherits from QSpinBox.
>
> zerospinbox = ZeroSpinBox()
>
> It then emits its custom signal, then that signal i
Thanks for reply.But the problem it's not this point
Let's see.
hello.h:
> #include
>
class Hello : public QObject{
> Q_OBJECT
> public:
> Hello(QObject *parent = 0);
> static int test(){
> static int i=0;
> qDebug()< return 0;
> }
> };
>
hello.cpp
>
On 24.10.2012, 00:11:13 D.Y Feng wrote:
> I meet a problem in my code:
> hello.h:
> #include
> class Hello : public QObject{
> Q_OBJECT
> public:
> Hello(QObject *parent = 0);
> static int test(){
> static int i=0;
> qDebug()< return 0;
> }
> };
> hello.c