equal
deleted
inserted
replaced
125 { |
125 { |
126 iLongTapDetector = CAknLongTapDetector::NewL( this ); |
126 iLongTapDetector = CAknLongTapDetector::NewL( this ); |
127 |
127 |
128 iLongTapDetector->SetTimeDelayBeforeAnimation( KLongTapStartDelay ); |
128 iLongTapDetector->SetTimeDelayBeforeAnimation( KLongTapStartDelay ); |
129 iLongTapDetector->SetLongTapDelay( KLongTapTimeDelay ); |
129 iLongTapDetector->SetLongTapDelay( KLongTapTimeDelay ); |
|
130 iCurrentLongTapStartDelay = KLongTapStartDelay; |
|
131 iCurrentLongTapTimeDelay = KLongTapTimeDelay; |
130 } |
132 } |
131 } |
133 } |
132 |
134 |
133 // ----------------------------------------------------------------------------- |
135 // ----------------------------------------------------------------------------- |
134 // CXnControlAdapter::SetComponent |
136 // CXnControlAdapter::SetComponent |
580 // |
582 // |
581 RPointerArray<CXnControlAdapter>& CXnControlAdapter::ChildAdapters() |
583 RPointerArray<CXnControlAdapter>& CXnControlAdapter::ChildAdapters() |
582 { |
584 { |
583 return iImpl->ChildAdapters(); |
585 return iImpl->ChildAdapters(); |
584 } |
586 } |
|
587 |
|
588 // ----------------------------------------------------------------------------- |
|
589 // CXnControlAdapter::SetLongTapDelay |
|
590 // ----------------------------------------------------------------------------- |
|
591 // |
|
592 void CXnControlAdapter::SetLongTapDelays( const TInt aStartDelay, |
|
593 const TInt aLongTapDelay ) |
|
594 { |
|
595 if ( iCurrentLongTapTimeDelay != aLongTapDelay) |
|
596 { |
|
597 iLongTapDetector->SetLongTapDelay( aLongTapDelay ); |
|
598 iCurrentLongTapTimeDelay = aLongTapDelay; |
|
599 } |
|
600 if ( iCurrentLongTapStartDelay != aStartDelay ) |
|
601 { |
|
602 iLongTapDetector->SetTimeDelayBeforeAnimation( aStartDelay ); |
|
603 iCurrentLongTapStartDelay = aStartDelay; |
|
604 } |
|
605 } |
|
606 |
|
607 // ----------------------------------------------------------------------------- |
|
608 // CXnControlAdapter::SetDataL |
|
609 // Empty default implemenatation for setting the data stream. |
|
610 // ----------------------------------------------------------------------------- |
|
611 // |
|
612 EXPORT_C void CXnControlAdapter::SetDataL( const TDesC8& /*aData*/, const TDesC& /*aType*/, TInt /*aIndex*/ ) |
|
613 { |
|
614 |
|
615 } |