mattia
22nd January 2008, 14:52
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
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
thx
/usr/local/Trolltech/Qt-4.3.2-commercial-static/include/QtGui/qprogressdialog.h:101: error: ‘void QProgressDialog::forceShow()’ is protected
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
thx