equal
deleted
inserted
replaced
153 case EAknSoftkeyExit: |
153 case EAknSoftkeyExit: |
154 case EEikCmdExit: |
154 case EEikCmdExit: |
155 Exit(); |
155 Exit(); |
156 break; |
156 break; |
157 case ECmdSwitchOutput: |
157 case ECmdSwitchOutput: |
158 { |
158 { |
159 HBufC* buffer = HBufC::NewLC( 100 ); |
159 HBufC* buffer = HBufC::NewLC( 100 ); |
160 TPtr bufferPtr = buffer->Des(); |
160 TPtr bufferPtr = buffer->Des(); |
161 TBool last = ETrue; |
161 TBool last = ETrue; |
162 bufferPtr.Append(_L("Output switched to ")); |
162 bufferPtr.Append(_L("Output switched to ")); |
163 iFileOutputOn = !iFileOutputOn; |
163 iFileOutputOn = !iFileOutputOn; |
164 if (iFileOutputOn) |
164 if (iFileOutputOn) |
165 bufferPtr.Append(_L("file.")); |
165 bufferPtr.Append(_L("file.")); |
166 else |
166 else |
167 bufferPtr.Append(_L("screen.")); |
167 bufferPtr.Append(_L("screen.")); |
168 ShowL( *buffer, last ); |
168 ShowL( *buffer, last ); |
169 } |
169 } |
170 break; |
170 break; |
171 case ECmdStatus: |
171 case ECmdStatus: |
172 { |
172 { |
173 ClearL(); |
173 ClearL(); |
174 |
174 |
321 } |
321 } |
322 |
322 |
323 TInt myValue = KErrNotFound; |
323 TInt myValue = KErrNotFound; |
324 for (;;) |
324 for (;;) |
325 { |
325 { |
326 if (index==QStyle::PM_Custom_ThinLineWidth) |
326 if (index==QStyle::PM_Custom_MessageBoxHeight) |
327 { |
327 { |
328 last = ETrue; |
328 last = ETrue; |
329 } |
329 } |
330 myValue = PixelMetrics::PixelMetricValue(static_cast<QStyle::PixelMetric>(index)); |
330 myValue = PixelMetrics::PixelMetricValue(static_cast<QStyle::PixelMetric>(index)); |
331 ShowSingleValueL( index, myValue, last ); |
331 ShowSingleValueL( index, myValue, last ); |
653 case QStyle::PM_Custom_ThinLineWidth: |
653 case QStyle::PM_Custom_ThinLineWidth: |
654 bufferPtr.Append(_L("C_ThinLineWidth: ")); |
654 bufferPtr.Append(_L("C_ThinLineWidth: ")); |
655 break; |
655 break; |
656 case QStyle::PM_Custom_BoldLineWidth: |
656 case QStyle::PM_Custom_BoldLineWidth: |
657 bufferPtr.Append(_L("C_BoldLineWidth: ")); |
657 bufferPtr.Append(_L("C_BoldLineWidth: ")); |
|
658 break; |
|
659 case QStyle::PM_Custom_MessageBoxHeight: |
|
660 bufferPtr.Append(_L("C_MsgBoxHeight: ")); |
658 break; |
661 break; |
659 default: |
662 default: |
660 bufferPtr.Append(_L("Default: ")); |
663 bufferPtr.Append(_L("Default: ")); |
661 break; |
664 break; |
662 } |
665 } |