author | llornkcor <llornkcor> | 2002-09-25 00:57:41 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-09-25 00:57:41 (UTC) |
commit | aec4470eeec00493e92680f36a0f58964abdbe8a (patch) (unidiff) | |
tree | aff353d875cfb1e30eccd01330617309618f5575 | |
parent | b4c23347000668cc111418cce4ec2822977e5c9d (diff) | |
download | opie-aec4470eeec00493e92680f36a0f58964abdbe8a.zip opie-aec4470eeec00493e92680f36a0f58964abdbe8a.tar.gz opie-aec4470eeec00493e92680f36a0f58964abdbe8a.tar.bz2 |
change to reflect familiar's record/memo button sending Key_24 now
-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 2 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp index 226f058..d6128a6 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp | |||
@@ -589,33 +589,33 @@ bool VMemo::record() { | |||
589 | if(foo.find("TRUE",0,TRUE) != -1) | 589 | if(foo.find("TRUE",0,TRUE) != -1) |
590 | QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << TRUE; //mute | 590 | QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << TRUE; //mute |
591 | return TRUE; | 591 | return TRUE; |
592 | } | 592 | } |
593 | 593 | ||
594 | int VMemo::setToggleButton(int tog) { | 594 | int VMemo::setToggleButton(int tog) { |
595 | 595 | ||
596 | for( int i=0; i < 10;i++) { | 596 | for( int i=0; i < 10;i++) { |
597 | switch (tog) { | 597 | switch (tog) { |
598 | case 0: | 598 | case 0: |
599 | return -1; | 599 | return -1; |
600 | break; | 600 | break; |
601 | case 1: | 601 | case 1: |
602 | return 0; | 602 | return 0; |
603 | break; | 603 | break; |
604 | case 2: | 604 | case 2: |
605 | return Key_Escape; | 605 | return Key_F24; //was Escape |
606 | break; | 606 | break; |
607 | case 3: | 607 | case 3: |
608 | return Key_Space; | 608 | return Key_Space; |
609 | break; | 609 | break; |
610 | case 4: | 610 | case 4: |
611 | return Key_F12; | 611 | return Key_F12; |
612 | break; | 612 | break; |
613 | case 5: | 613 | case 5: |
614 | return Key_F9; | 614 | return Key_F9; |
615 | break; | 615 | break; |
616 | case 6: | 616 | case 6: |
617 | return Key_F10; | 617 | return Key_F10; |
618 | break; | 618 | break; |
619 | case 7: | 619 | case 7: |
620 | return Key_F11; | 620 | return Key_F11; |
621 | break; | 621 | break; |
diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp index 1a60109..5421bb4 100644 --- a/noncore/settings/sound/soundsettingsbase.cpp +++ b/noncore/settings/sound/soundsettingsbase.cpp | |||
@@ -125,33 +125,33 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
125 | TextLabel1 = new QLabel( this, "TextLabel1" ); | 125 | TextLabel1 = new QLabel( this, "TextLabel1" ); |
126 | TextLabel1->setText( tr( "Recording Directory:" ) ); | 126 | TextLabel1->setText( tr( "Recording Directory:" ) ); |
127 | SoundSettingsBaseLayout->addMultiCellWidget( TextLabel1, 3, 3, 0, 0, 1); | 127 | SoundSettingsBaseLayout->addMultiCellWidget( TextLabel1, 3, 3, 0, 0, 1); |
128 | 128 | ||
129 | 129 | ||
130 | LocationComboBox = new QComboBox( FALSE, this, "LocationComboBox" ); | 130 | LocationComboBox = new QComboBox( FALSE, this, "LocationComboBox" ); |
131 | SoundSettingsBaseLayout->addMultiCellWidget( LocationComboBox, 4, 4, 0, 8, 1); | 131 | SoundSettingsBaseLayout->addMultiCellWidget( LocationComboBox, 4, 4, 0, 8, 1); |
132 | 132 | ||
133 | QLabel *TextLabelKey; | 133 | QLabel *TextLabelKey; |
134 | TextLabelKey = new QLabel( this, "TextLabelKey" ); | 134 | TextLabelKey = new QLabel( this, "TextLabelKey" ); |
135 | TextLabelKey->setText( tr( "Recording Key:" ) ); | 135 | TextLabelKey->setText( tr( "Recording Key:" ) ); |
136 | SoundSettingsBaseLayout->addMultiCellWidget(TextLabelKey , 5, 5, 0, 0, 1); | 136 | SoundSettingsBaseLayout->addMultiCellWidget(TextLabelKey , 5, 5, 0, 0, 1); |
137 | 137 | ||
138 | keyComboBox = new QComboBox( FALSE, this, "keyComboBox" ); | 138 | keyComboBox = new QComboBox( FALSE, this, "keyComboBox" ); |
139 | keyComboBox->insertItem( tr( "" ) ); | 139 | keyComboBox->insertItem( tr( "" ) ); |
140 | keyComboBox->insertItem( tr( "Taskbar Icon" ) ); | 140 | keyComboBox->insertItem( tr( "Taskbar Icon" ) ); |
141 | keyComboBox->insertItem( tr( "Key_Escape" ) ); | 141 | keyComboBox->insertItem( tr( "Key_Record" ) ); |
142 | keyComboBox->insertItem( tr( "Key_Space" ) ); | 142 | keyComboBox->insertItem( tr( "Key_Space" ) ); |
143 | keyComboBox->insertItem( tr( "Key_Home" ) ); | 143 | keyComboBox->insertItem( tr( "Key_Home" ) ); |
144 | keyComboBox->insertItem( tr( "Key_Calender" ) ); | 144 | keyComboBox->insertItem( tr( "Key_Calender" ) ); |
145 | keyComboBox->insertItem( tr( "Key_Contacts" ) ); | 145 | keyComboBox->insertItem( tr( "Key_Contacts" ) ); |
146 | keyComboBox->insertItem( tr( "Key_Menu" ) ); | 146 | keyComboBox->insertItem( tr( "Key_Menu" ) ); |
147 | keyComboBox->insertItem( tr( "Key_Mail" ) ); | 147 | keyComboBox->insertItem( tr( "Key_Mail" ) ); |
148 | SoundSettingsBaseLayout->addMultiCellWidget( keyComboBox , 6, 6, 0, 0 ,1); | 148 | SoundSettingsBaseLayout->addMultiCellWidget( keyComboBox , 6, 6, 0, 0 ,1); |
149 | 149 | ||
150 | keyLabel= new QLabel( this, "keyLabel" ); | 150 | keyLabel= new QLabel( this, "keyLabel" ); |
151 | SoundSettingsBaseLayout->addMultiCellWidget( keyLabel , 6, 6, 0, 2, 3); | 151 | SoundSettingsBaseLayout->addMultiCellWidget( keyLabel , 6, 6, 0, 2, 3); |
152 | 152 | ||
153 | QLabel *timeLimitLabel; | 153 | QLabel *timeLimitLabel; |
154 | timeLimitLabel= new QLabel( this, "timeLimitLabel" ); | 154 | timeLimitLabel= new QLabel( this, "timeLimitLabel" ); |
155 | timeLimitLabel->setText( tr( "Recording Limit in seconds:" ) ); | 155 | timeLimitLabel->setText( tr( "Recording Limit in seconds:" ) ); |
156 | SoundSettingsBaseLayout->addMultiCellWidget( timeLimitLabel , 7, 7, 0, 0, 1); | 156 | SoundSettingsBaseLayout->addMultiCellWidget( timeLimitLabel , 7, 7, 0, 0, 1); |
157 | 157 | ||