OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: jlbeck on June 14, 2004, 07:02:09 pm

Title: setOverrideCursor
Post by: jlbeck on June 14, 2004, 07:02:09 pm
I\'m attempting to change the cursor during a long operation. Is this the correct
syntax?

  QApplication::setOverrideCursor( QCursor(waitCursor) );
    ...
  QApplication::restoreOverrideCursor();

It compiles and links clean but the cursor never changes.
Title: setOverrideCursor
Post by: Mickeyl on June 14, 2004, 07:27:50 pm
cursor? what cursor?

You probably want to use
Code: [Select]
{

   QCopEnvelope e("QPE/System", "busy()" );

}

...

{

   QCopEnvelope e("QPE/System", "notBusy()" );

}
Title: setOverrideCursor
Post by: jlbeck on June 15, 2004, 09:50:13 pm
Thank you. I now have the world of QCopEnvelope to explore!