Gravity Flip
Public Member Functions | List of all members
BackgroundMusic Class Reference

Inherits QThread.

Public Member Functions

 BackgroundMusic (int idx)
 Constructor. More...
 
void run ()
 Executes the exec() function. run is called on starting the thread.
 
void exec ()
 Runs in a loop and restarts song if finished.
 

Constructor & Destructor Documentation

BackgroundMusic::BackgroundMusic ( int  idx = 1)

Constructor.

Parameters
idxused to set the song

The documentation for this class was generated from the following files: