<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.developer.nokia.com/Community/Wiki/skins/common/feed.css?1917"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.developer.nokia.com/Community/Wiki/index.php?title=%E7%94%A8QtFeedback%E5%AE%9E%E7%8E%B0%E6%89%8B%E6%9C%BA%E9%9C%87%E5%8A%A8%E6%95%88%E6%9E%9C&amp;feed=atom&amp;action=history</id>
		<title>用QtFeedback实现手机震动效果 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.developer.nokia.com/Community/Wiki/index.php?title=%E7%94%A8QtFeedback%E5%AE%9E%E7%8E%B0%E6%89%8B%E6%9C%BA%E9%9C%87%E5%8A%A8%E6%95%88%E6%9E%9C&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.developer.nokia.com/Community/Wiki/index.php?title=%E7%94%A8QtFeedback%E5%AE%9E%E7%8E%B0%E6%89%8B%E6%9C%BA%E9%9C%87%E5%8A%A8%E6%95%88%E6%9E%9C&amp;action=history"/>
		<updated>2013-05-25T11:23:09Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.6</generator>

	<entry>
		<id>http://www.developer.nokia.com/Community/Wiki/index.php?title=%E7%94%A8QtFeedback%E5%AE%9E%E7%8E%B0%E6%89%8B%E6%9C%BA%E9%9C%87%E5%8A%A8%E6%95%88%E6%9E%9C&amp;diff=152368&amp;oldid=prev</id>
		<title>Hamishwillee: Text replace - &quot;Category:MeeGo&quot; to &quot;Category:MeeGo Harmattan&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.developer.nokia.com/Community/Wiki/index.php?title=%E7%94%A8QtFeedback%E5%AE%9E%E7%8E%B0%E6%89%8B%E6%9C%BA%E9%9C%87%E5%8A%A8%E6%95%88%E6%9E%9C&amp;diff=152368&amp;oldid=prev"/>
				<updated>2012-06-13T10:59:17Z</updated>
		
		<summary type="html">&lt;p&gt;Text replace - &amp;quot;&lt;a href=&quot;/Community/Wiki/Category:MeeGo&quot; class=&quot;mw-redirect&quot; title=&quot;Category:MeeGo&quot;&gt;Category:MeeGo&lt;/a&gt;&amp;quot; to &amp;quot;&lt;a href=&quot;/Community/Wiki/Category:MeeGo_Harmattan&quot; title=&quot;Category:MeeGo Harmattan&quot;&gt;Category:MeeGo Harmattan&lt;/a&gt;&amp;quot;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 10:59, 13 June 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Qt Mobility]][[Category:MeeGo]][[Category:Lang-Chinese]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Qt Mobility]][[Category:MeeGo &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Harmattan&lt;/ins&gt;]][[Category:Lang-Chinese]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''Delete instructional text in italic''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''Delete instructional text in italic''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hamishwillee</name></author>	</entry>

	<entry>
		<id>http://www.developer.nokia.com/Community/Wiki/index.php?title=%E7%94%A8QtFeedback%E5%AE%9E%E7%8E%B0%E6%89%8B%E6%9C%BA%E9%9C%87%E5%8A%A8%E6%95%88%E6%9E%9C&amp;diff=145861&amp;oldid=prev</id>
		<title>Renlin: Renlin - /* 相关连接 */</title>
		<link rel="alternate" type="text/html" href="http://www.developer.nokia.com/Community/Wiki/index.php?title=%E7%94%A8QtFeedback%E5%AE%9E%E7%8E%B0%E6%89%8B%E6%9C%BA%E9%9C%87%E5%8A%A8%E6%95%88%E6%9E%9C&amp;diff=145861&amp;oldid=prev"/>
				<updated>2012-04-23T05:30:33Z</updated>
		
		<summary type="html">&lt;p&gt;Renlin - &lt;span class=&quot;autocomment&quot;&gt;- 相关连接&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 05:30, 23 April 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 59:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 59:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== 相关连接==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== 相关连接==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[Qt 开发]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[Qt 开发]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Meego 开发&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Meego开发&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[用Qt控制Symbian Device震动 ]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[用Qt控制Symbian Device震动 ]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''Add categories below. Remove Category:Draft when the page is complete or near complete''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''Add categories below. Remove Category:Draft when the page is complete or near complete''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki:diff:version:1.11a:oldid:145860:newid:145861 --&gt;
&lt;/table&gt;</summary>
		<author><name>Renlin</name></author>	</entry>

	<entry>
		<id>http://www.developer.nokia.com/Community/Wiki/index.php?title=%E7%94%A8QtFeedback%E5%AE%9E%E7%8E%B0%E6%89%8B%E6%9C%BA%E9%9C%87%E5%8A%A8%E6%95%88%E6%9E%9C&amp;diff=145860&amp;oldid=prev</id>
		<title>Renlin: Renlin - /* 实现 */</title>
		<link rel="alternate" type="text/html" href="http://www.developer.nokia.com/Community/Wiki/index.php?title=%E7%94%A8QtFeedback%E5%AE%9E%E7%8E%B0%E6%89%8B%E6%9C%BA%E9%9C%87%E5%8A%A8%E6%95%88%E6%9E%9C&amp;diff=145860&amp;oldid=prev"/>
				<updated>2012-04-23T05:30:05Z</updated>
		
		<summary type="html">&lt;p&gt;Renlin - &lt;span class=&quot;autocomment&quot;&gt;- 实现&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 05:30, 23 April 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==实现==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==实现==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;用QtFeedBack模块实现手机的震动效果的类为QFeedbackHapticsEffect，其对应的QML 元素为HapticsEffect，本文就用QML HapticsEffect ELement来实现震动效果。&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;用QtFeedBack模块实现手机的震动效果的类为QFeedbackHapticsEffect，其对应的QML 元素为HapticsEffect，本文就用QML HapticsEffect ELement来实现震动效果。&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#，在pro文件中导入feedback模块&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1，在pro文件中导入feedback模块&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; CONFIG += mobility&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; CONFIG += mobility&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; MOBILITY += feedback&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; MOBILITY += feedback&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#，在QML文件中导入feedback &lt;/del&gt;模块&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2，在QML文件中导入feedback &lt;/ins&gt;模块&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;import QtMobility.feedback 1.1&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;import QtMobility.feedback 1.1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#，在qml文件中的代码实现&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;3，在qml文件中的代码实现&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;HapticsEffect {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;HapticsEffect {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;代码下载：[[File:Testvibration.zip]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;代码下载：[[File:Testvibration.zip]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== 相关连接==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== 相关连接==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[Qt 开发]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[Qt 开发]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki:diff:version:1.11a:oldid:145858:newid:145860 --&gt;
&lt;/table&gt;</summary>
		<author><name>Renlin</name></author>	</entry>

	<entry>
		<id>http://www.developer.nokia.com/Community/Wiki/index.php?title=%E7%94%A8QtFeedback%E5%AE%9E%E7%8E%B0%E6%89%8B%E6%9C%BA%E9%9C%87%E5%8A%A8%E6%95%88%E6%9E%9C&amp;diff=145858&amp;oldid=prev</id>
		<title>Renlin: Renlin -</title>
		<link rel="alternate" type="text/html" href="http://www.developer.nokia.com/Community/Wiki/index.php?title=%E7%94%A8QtFeedback%E5%AE%9E%E7%8E%B0%E6%89%8B%E6%9C%BA%E9%9C%87%E5%8A%A8%E6%95%88%E6%9E%9C&amp;diff=145858&amp;oldid=prev"/>
				<updated>2012-04-23T05:29:25Z</updated>
		
		<summary type="html">&lt;p&gt;Renlin -&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Qt Mobility]][[Category:MeeGo]][[Category:Lang-Chinese]]&lt;br /&gt;
''Delete instructional text in italic''&lt;br /&gt;
&lt;br /&gt;
{{Abstract|This article explains how to ... }} ''Replace the abstract text with a short paragraph (or sentence) describing what the topic covers.''&lt;br /&gt;
&lt;br /&gt;
''Enter article metadata as described below. Note that this template can be placed anywhere in the article. Do not remove parameters that you do not use''&lt;br /&gt;
{{ArticleMetaData &amp;lt;!-- v1.2 --&amp;gt;&lt;br /&gt;
|sourcecode= &amp;lt;!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] --&amp;gt;&lt;br /&gt;
|installfile= &amp;lt;!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) --&amp;gt;&lt;br /&gt;
|devices= &amp;lt;!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') --&amp;gt;&lt;br /&gt;
|sdk= &amp;lt;!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Qt SDK 1.1.4]) --&amp;gt;&lt;br /&gt;
|platform= &amp;lt;!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later --&amp;gt;&lt;br /&gt;
|devicecompatability= &amp;lt;!-- Compatible devices e.g.: All* (must have internal GPS) --&amp;gt;&lt;br /&gt;
|dependencies= &amp;lt;!-- Any other/external dependencies e.g.: Google Maps Api v1.0 --&amp;gt; &lt;br /&gt;
|signing=&amp;lt;!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer --&amp;gt;&lt;br /&gt;
|capabilities= &amp;lt;!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. --&amp;gt;&lt;br /&gt;
|keywords= &amp;lt;!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase --&amp;gt;&lt;br /&gt;
|language= &amp;lt;!-- Language category code for non-English topics - e.g. Lang-Chinese --&amp;gt;&lt;br /&gt;
|translated-by= &amp;lt;!-- [[User:XXXX]] --&amp;gt;&lt;br /&gt;
|translated-from-title= &amp;lt;!-- Title only --&amp;gt; &lt;br /&gt;
|translated-from-id= &amp;lt;!-- Id of translated revision --&amp;gt;&lt;br /&gt;
|review-by=&amp;lt;!-- After re-review: [[User:username]] --&amp;gt;&lt;br /&gt;
|review-timestamp= &amp;lt;!-- After re-review: YYYYMMDD --&amp;gt;&lt;br /&gt;
|update-by= &amp;lt;!-- After significant update: [[User:username]]--&amp;gt;&lt;br /&gt;
|update-timestamp= &amp;lt;!-- After significant update: YYYYMMDD --&amp;gt;&lt;br /&gt;
|creationdate= &amp;lt;!-- Format YYYYMMDD --&amp;gt;&lt;br /&gt;
|author= &amp;lt;!-- Display as link [[User:username]] --&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
本文介绍如果用QML 实现手机的震动效果.&amp;lt;br&amp;gt;&lt;br /&gt;
在Meego系统的手机上实现手机的震动效果，直接使用QtMobility中的[http://harmattan-dev.nokia.com/docs/library/html/qtmobility/qtfeedback.html?tab=3&amp;amp;q=QtFeedBack&amp;amp;sp=all QtFeedBack]就可。&lt;br /&gt;
==实现==&lt;br /&gt;
用QtFeedBack模块实现手机的震动效果的类为QFeedbackHapticsEffect，其对应的QML 元素为HapticsEffect，本文就用QML HapticsEffect ELement来实现震动效果。&amp;lt;br&amp;gt;&lt;br /&gt;
#，在pro文件中导入feedback模块&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 CONFIG += mobility&lt;br /&gt;
 MOBILITY += feedback&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
#，在QML文件中导入feedback 模块&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
import QtMobility.feedback 1.1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
#，在qml文件中的代码实现&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
HapticsEffect {&lt;br /&gt;
        id: rumbleEffect&lt;br /&gt;
        attackIntensity: 0.0   &lt;br /&gt;
        attackTime: 250&lt;br /&gt;
        intensity: 1.0&lt;br /&gt;
        duration: 500&lt;br /&gt;
        fadeTime: 250&lt;br /&gt;
        fadeIntensity: 0.0&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
代码下载：[[File:Testvibration.zip]]&lt;br /&gt;
== 相关连接==&lt;br /&gt;
*[[Qt 开发]]&lt;br /&gt;
*[[Meego 开发]]&lt;br /&gt;
*[[用Qt控制Symbian Device震动 ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Add categories below. Remove Category:Draft when the page is complete or near complete''&lt;/div&gt;</summary>
		<author><name>Renlin</name></author>	</entry>

	</feed>