You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2012/08/31 00:29:44 UTC
qt commit: [#1311] Update PhoneGap references to Apache Cordova.
Updated Branches:
refs/heads/master 2389edc3e -> 5b635f8a8
[#1311] Update PhoneGap references to Apache Cordova.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/commit/5b635f8a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/tree/5b635f8a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/diff/5b635f8a
Branch: refs/heads/master
Commit: 5b635f8a8abcda3e9f6ff43f6ee831709c66ae62
Parents: 2389edc
Author: Michael Brooks <mi...@michaelbrooks.ca>
Authored: Thu Aug 30 15:29:30 2012 -0700
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Thu Aug 30 15:29:30 2012 -0700
----------------------------------------------------------------------
README.md | 80 ++++++++++++++++++------------------
src/plugins/notification.cpp | 4 +-
www/js/accelerometer.js | 2 +-
www/js/compass.js | 2 +-
www/js/notification.js | 2 +-
5 files changed, 45 insertions(+), 45 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/5b635f8a/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 0064b44..5fa8012 100644
--- a/README.md
+++ b/README.md
@@ -1,40 +1,40 @@
-Cordova/Qt
-==========
-
-Cordova/Qt is the Qt port of the Cordova (formerly PhoneGap) framework. It should compile on any platform which is compatible with Qt and Qt Mobility.
-
-Requirements
-------------
-
-- Qt SDK
-
-To Create a Project
--------------------
-
-Download the source code and open the project file with Qt Creator. Add your HTML and JavaScript files to the www folder. Edit xml/plugins.xml to enable or disable any required plugins. Compiling, deployment, and packaging works as described in the Qt Creator documentation.
-
-Supported APIs
---------------
-
-- Accelerometer
-- Compass
-- Connection
-- Contacts
-- Device
-- Events
-- File (Except for File Transfer API which has no direct support in Qt Mobility and is not implemented for now)
-- Geolocation (Uses the W3C Geolocation API specifications)
-- Notification (implemented for MeeGo Harmattan only)
-- Storage (Uses the W3C WebSQL Database and Web Storage API specifications)
-- Camera (Basic support on Symbian and MeeGo Harmattan but no gallery or image settings)
-
-Unsupported APIs
------------------
-
-- Capture - in progress
-- Media (PhoneGap will be moving to follow the W3C specification which is supported by WebKit and these APIS are likely to be deprecated)
-
-License
--------
-
-Licensed under the APACHE-2.0 license. See LICENSE file for details.
+Cordova/Qt
+==========
+
+Cordova/Qt is the Qt port of the Apache Cordova project. It should compile on any platform which is compatible with Qt and Qt Mobility.
+
+Requirements
+------------
+
+- Qt SDK
+
+To Create a Project
+-------------------
+
+Download the source code and open the project file with Qt Creator. Add your HTML and JavaScript files to the www folder. Edit xml/plugins.xml to enable or disable any required plugins. Compiling, deployment, and packaging works as described in the Qt Creator documentation.
+
+Supported APIs
+--------------
+
+- Accelerometer
+- Compass
+- Connection
+- Contacts
+- Device
+- Events
+- File (Except for File Transfer API which has no direct support in Qt Mobility and is not implemented for now)
+- Geolocation (Uses the W3C Geolocation API specifications)
+- Notification (implemented for MeeGo Harmattan only)
+- Storage (Uses the W3C WebSQL Database and Web Storage API specifications)
+- Camera (Basic support on Symbian and MeeGo Harmattan but no gallery or image settings)
+
+Unsupported APIs
+-----------------
+
+- Capture - in progress
+- Media (Cordova will be moving to follow the W3C specification which is supported by WebKit and these APIS are likely to be deprecated)
+
+License
+-------
+
+Licensed under the APACHE-2.0 license. See LICENSE file for details.
http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/5b635f8a/src/plugins/notification.cpp
----------------------------------------------------------------------
diff --git a/src/plugins/notification.cpp b/src/plugins/notification.cpp
index e8d0f84..a5c1bda 100644
--- a/src/plugins/notification.cpp
+++ b/src/plugins/notification.cpp
@@ -43,7 +43,7 @@ Notification::Notification() : CPlugin(){
}
/**
- * Nofication.beep - http://docs.phonegap.com/phonegap_notification_notification.md.html#notification.beep
+ * Nofication.beep - http://docs.cordova.io/en/2.0.0/cordova_notification_notification.md.html#notification.beep
*/
void Notification::beep( int scId, int ecId, int p_times ) {
Q_UNUSED(scId)
@@ -56,7 +56,7 @@ void Notification::beep( int scId, int ecId, int p_times ) {
}
/**
- * Notification.vibrate - http://docs.phonegap.com/phonegap_notification_notification.md.html#notification.vibrate
+ * Notification.vibrate - http://docs.cordova.io/en/2.0.0/cordova_notification_notification.md.html#notification.vibrate
*/
void Notification::vibrate( int scId, int ecId, int p_milliseconds ) {
Q_UNUSED(scId)
http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/5b635f8a/www/js/accelerometer.js
----------------------------------------------------------------------
diff --git a/www/js/accelerometer.js b/www/js/accelerometer.js
index 2eb1bef..6a3c443 100644
--- a/www/js/accelerometer.js
+++ b/www/js/accelerometer.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-//accelerometer interface http://docs.phonegap.com/en/1.0.0/phonegap_accelerometer_accelerometer.md.html
+//accelerometer interface http://docs.cordova.io/en/2.0.0/cordova_accelerometer_accelerometer.md.html
function Acceleration(p_x,p_y,p_z,p_ts) {
http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/5b635f8a/www/js/compass.js
----------------------------------------------------------------------
diff --git a/www/js/compass.js b/www/js/compass.js
index 2dab0d9..95a16fd 100644
--- a/www/js/compass.js
+++ b/www/js/compass.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-//compass interface http://docs.phonegap.com/en/1.0.0/phonegap_compass_compass.md.html
+//compass interface http://docs.cordova.io/en/2.0.0/cordova_compass_compass.md.html
function CompassHeading(p_heading, p_trueHeading, p_accuracy, timestamp){
this.magneticHeading = p_heading || 0;
http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/5b635f8a/www/js/notification.js
----------------------------------------------------------------------
diff --git a/www/js/notification.js b/www/js/notification.js
index 38a014b..42c9a4a 100644
--- a/www/js/notification.js
+++ b/www/js/notification.js
@@ -16,7 +16,7 @@
/**
* Notification
- * http://docs.phonegap.com/phonegap_notification_notification.md.html
+ * http://docs.cordova.io/en/2.0.0/cordova_notification_notification.md.html
*/
function Notification() {
}