summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-05-20 08:02:37 (UTC)
committer llornkcor <llornkcor>2004-05-20 08:02:37 (UTC)
commit47245723b724beb24183aa32b047d77f3469b7df (patch) (side-by-side diff)
treec20cc2984589db4f9888163018d1ce647af59518
parent7ee7f26e39ef6c3ed164f307c1c3906961c1b189 (diff)
downloadopie-47245723b724beb24183aa32b047d77f3469b7df.zip
opie-47245723b724beb24183aa32b047d77f3469b7df.tar.gz
opie-47245723b724beb24183aa32b047d77f3469b7df.tar.bz2
always compile before commit
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/powerchord/powerchordbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/powerchord/powerchordbase.cpp b/noncore/multimedia/powerchord/powerchordbase.cpp
index 92198bf..98fe3f7 100644
--- a/noncore/multimedia/powerchord/powerchordbase.cpp
+++ b/noncore/multimedia/powerchord/powerchordbase.cpp
@@ -376,49 +376,49 @@ PowerchordBase::PowerchordBase( QWidget* parent, const char* name, WFlags fl )
connect( tuner_start, SIGNAL( clicked() ), this, SLOT( tuner_start_cb() ));
connect( tuner_note, SIGNAL( textChanged(const QString&) ), vu, SLOT( AnnotL(const QString&) ));
connect( this, SIGNAL( frequency_change(int) ), vu, SLOT( Value(int) ));
connect( chordnote, SIGNAL( activated(int) ), frets, SLOT( Base(int) ) );
connect( chordkey, SIGNAL( activated(int) ), frets, SLOT( Chord(int) ) );
connect( chordfret, SIGNAL( activated(int) ), frets, SLOT( Fret(int) ) );
connect( list_remove_btn, SIGNAL( clicked() ), this, SLOT( list_remove_cb() ) );
connect( frets, SIGNAL( s1nameChanged(const QString&) ), s1_1, SLOT( setText(const QString&) ) );
connect( frets, SIGNAL( s2nameChanged(const QString&) ), s1_2, SLOT( setText(const QString&) ) );
connect( frets, SIGNAL( s3nameChanged(const QString&) ), s1_3, SLOT( setText(const QString&) ) );
connect( frets, SIGNAL( s4nameChanged(const QString&) ), s1_4, SLOT( setText(const QString&) ) );
connect( frets, SIGNAL( s5nameChanged(const QString&) ), s1_5, SLOT( setText(const QString&) ) );
connect( frets, SIGNAL( s6nameChanged(const QString&) ), s1_6, SLOT( setText(const QString&) ) );
connect( frets, SIGNAL( nameChanged(const QString&) ), chordname, SLOT( setText(const QString&) ) );
}
static int known=0;
#include <qmessagebox.h>
void PowerchordBase::transport_rec_cb(){
chordlist->insertItem(chordname->text(),-1);
if (!known){
QMessageBox::information(this, tr("Powerchord"),
- tr("<P>This chord has been saved into the list of chords, for later playback.<P>");
+ tr("<P>This chord has been saved into the list of chords, for later playback.<P>"));
known = 1;
}
}
void PowerchordBase::list_remove_cb(){
if (chordlist->count() > 0){
chordlist->removeItem(0);
}
}
void PowerchordBase::play_chord_cb(){
// QMessageBox::information(this, "Coming soon!", "This button plays\nthe chord by synthesizing\nthe sound of the notes.");
if (audio_timer){
audio_timer->stop();
// set pixmap?
synth->Stop();
delete(audio_timer);
audio_timer = 0;
}else{
// get notes from chord engine
int note;
int base;
int octave;