[Qt-interest] Fwd: QWizardPage::nextId() cannot be called

Nikos Geronitidis geronik444 at gmail.com
Wed Jul 15 18:00:07 CEST 2009


---------- Forwarded message ----------
From: Jan <janusius at gmx.net>
Date: Wed, Jul 15, 2009 at 6:46 PM
Subject: Re: [Qt-interest] QWizardPage::nextId() cannot be called
To:
Cc: qt-interest at trolltech.com


Hi,

maybe check your function declaration (that was my problem afair).
... or post some code.

Nikos Geronitidis schrieb:
> Hello list
>
> I have created a QWizard and afterwards created some QWizardPage classes
> inside
> which I have reimplemented the nextId() function in order to change the
> order
> the pages are shown. But for some strange reason the nextId() function
> doesn't call..
> Any ideas?
> Thanks in advance.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest


Thanks a lot my friend, that really saved me. The problem did was in the
declaration :
My declaration was :
*class ..
{
public :
..
      int nextId();
*..*
}*
instead of :
class ..
{
public :
    * int nextId() const;*
..
}

-- 
Best Regards
Nikos Gerontidis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090715/0812d8a9/attachment.html 


More information about the Qt-interest-old mailing list