diff options
author | Tim E. Real <termtech@rogers.com> | 2012-08-04 22:14:50 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2012-08-04 22:14:50 +0000 |
commit | 345fb0cc41b94b08134dc1f40020b4bf26e1d46b (patch) | |
tree | 78f6da3cf9cd64a84ead190e615a175a6a82242d /muse2/muse/widgets/sig_tempo_toolbar.h | |
parent | 8ee7ac503d93d7a0b6cf3b49c3255d389ba59c17 (diff) |
REWRITE: Introducing: More bits for Song Changed SC_* flags.
Added MusECore::SongChangedFlags_t (in new type_defs.h file). Declared as int64 type.
All Song Changed parameters, handlers, connections, calls, colateral operations etc. now use
this new SongChangedFlags_t.
All the handlers are now ready for the code bodies to accept any extra flags, devs need not
do anything more than define new SC_* flags and write support inside the handlers.
Please beware these possible extra flags when writing songChanged handlers and setting updateFlags.
Diffstat (limited to 'muse2/muse/widgets/sig_tempo_toolbar.h')
-rw-r--r-- | muse2/muse/widgets/sig_tempo_toolbar.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/muse2/muse/widgets/sig_tempo_toolbar.h b/muse2/muse/widgets/sig_tempo_toolbar.h index b3fd2088..51271d30 100644 --- a/muse2/muse/widgets/sig_tempo_toolbar.h +++ b/muse2/muse/widgets/sig_tempo_toolbar.h @@ -24,6 +24,7 @@ #define __SIG_TEMPO_TOOLBAR_H__ #include <QWidget> +#include "type_defs.h" namespace Awl { @@ -55,7 +56,7 @@ namespace MusEGui private slots: void pos_changed(int,unsigned,bool); - void song_changed(int); + void song_changed(MusECore::SongChangedFlags_t); }; class TempoToolbarWidget : public QWidget @@ -76,7 +77,7 @@ namespace MusEGui private slots: void pos_changed(int,unsigned,bool); - void song_changed(int); + void song_changed(MusECore::SongChangedFlags_t); }; } |