Hello, i got a problem with QProgressDialog, i'd like to show quickly the QProgressDialog but i get this error:
/usr
/local
/Trolltech
/Qt
-4.3.2
-commercial
-static/include
/QtGui
/qprogressdialog.
h:101: error
: ‘
void QProgressDialog::forceShow()’ is
protected
/usr/local/Trolltech/Qt-4.3.2-commercial-static/include/QtGui/qprogressdialog.h:101: error: ‘void QProgressDialog::forceShow()’ is protected
To copy to clipboard, switch view to plain text mode
here down the code
QProgressDialog progress
( tr
( "Sending configuration..." ) , tr
( "Abort" ) ,
0 , commandNumber ,
this );
progress.setWindowTitle ( tr ( "Sending configuration..." ) );
progress.setWindowModality ( Qt::NonModal );
progress.setMinimumDuration(0);
progress.forceShow(); // <-- error forceShow() is protected
QProgressDialog progress ( tr ( "Sending configuration..." ) , tr ( "Abort" ) , 0 , commandNumber , this );
progress.setWindowTitle ( tr ( "Sending configuration..." ) );
progress.setWindowModality ( Qt::NonModal );
progress.setMinimumDuration(0);
progress.forceShow(); // <-- error forceShow() is protected
To copy to clipboard, switch view to plain text mode
thx
Bookmarks