Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4CB3FDB0E for ; Thu, 30 Aug 2012 22:29:45 +0000 (UTC) Received: (qmail 4415 invoked by uid 500); 30 Aug 2012 22:29:45 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 4400 invoked by uid 500); 30 Aug 2012 22:29:45 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 4393 invoked by uid 99); 30 Aug 2012 22:29:45 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 22:29:45 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id F2DBB229AD; Thu, 30 Aug 2012 22:29:44 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mwbrooks@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: qt commit: [#1311] Update PhoneGap references to Apache Cordova. Message-Id: <20120830222944.F2DBB229AD@tyr.zones.apache.org> Date: Thu, 30 Aug 2012 22:29:44 +0000 (UTC) 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 Authored: Thu Aug 30 15:29:30 2012 -0700 Committer: Michael Brooks 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() { }