more foreach, less pointers

This commit is contained in:
Mathias Panzenböck
2014-02-15 05:53:28 +01:00
parent 29a51606ff
commit 133d5b8547
7 changed files with 81 additions and 134 deletions

View File

@ -17,9 +17,9 @@ class Button : public QObject {
Button( int i, QObject *parent = 0 );
~Button();
//read from stream
bool read( QTextStream* stream );
bool read( QTextStream &stream );
//write to stream
void write( QTextStream* stream );
void write( QTextStream &stream );
//releases any pushed buttons and returns to a neutral state
void release();
//process an event from the actual joystick device