Skip to content

Commit

Permalink
Spell checked all files.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkjellberg committed May 21, 2012
1 parent 89a824a commit 4b5c993
Show file tree
Hide file tree
Showing 54 changed files with 118 additions and 179 deletions.
10 changes: 3 additions & 7 deletions cascadescookbookcpp/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ Running the example:
and select Build Project.
7. In the Project Explorer pane, Right-click the the project (for example hellocascades)
and select Run As > BlackBerry C/C++ Application.
8. The application will now install and launch on your playbook if not the following
might be necessary.
- Creating a debug token and target:
developer.blackberry.com/native/documentation/com.qnx.doc.native_sdk.quickstart/topic/configure_environment.html
8. The application will now install and launch on your device if not you might
have to set up your environment:
http://developer.blackberry.com/cascades/documentation/getting_started/setting_up.html


========================================================================
Revision History:
2 changes: 1 addition & 1 deletion cascadescookbookcpp/recipes/activityindicatorrecipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ CustomControl(parent)

// The introduction text.
TextArea *introText = new TextArea();
introText->setText((const QString) "This is a milk boiling simulator recepie");
introText->setText((const QString) "This is a milk boiling simulator recipe");
introText->setEditable(false);
introText->textStyle()->setColor(Color::Gray);
introText->textStyle()->setBase(SystemDefaults::TextStyles::bodyText());
Expand Down
2 changes: 1 addition & 1 deletion cascadescookbookcpp/recipes/buttonrecipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ButtonRecipe::ButtonRecipe(Container *parent) :
mFruitButton = new Button();
mFruitButton->setText((const char*) "Ripen");

// Set the icon source by creating an image asset from the png image (note the file ending
// Set the icon source by creating an image asset from the PNG image (note the file ending
// not added to the file).
mFruitButton->setImageSource(QUrl("asset:///images/button/button_icon_orange_green"));
mFruitButton->setTopMargin(40.0f);
Expand Down
2 changes: 1 addition & 1 deletion cascadescookbookcpp/recipes/inputrecipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ InputRecipe::InputRecipe(Container *parent) :

// A multi line text input.
TextArea *textArea = new TextArea();
textArea->setHintText("Enter text into multiline TextArea");
textArea->setHintText("Enter text into multi-line TextArea");
textArea->setMinHeight(120.0f);
textArea->setMaxHeight(200.0f);
textArea->setBottomMargin(50.0);
Expand Down
2 changes: 1 addition & 1 deletion cascadescookbookcpp/recipes/nineslicerecipe.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Q_OBJECT
public slots:
/**
* Slot function connected to the RadioGroup presenting two different
* options for the text placed on top of the ninesliced image. Changing the text
* options for the text placed on top of the nine-sliced image. Changing the text
* will cause the area to change size and consequently the image will be changing size.
*
* @param selected the newly selected option.
Expand Down
12 changes: 6 additions & 6 deletions cascadescookbookqml/assets/Animation.qml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Page {
positionY: animationRecipe.eggOffset
}

// When scaling the entore Container down it should be done on a point corresponding
// When scaling the entire Container down it should be done on a point corresponding
// to left edge. That is half the preferred width of the parent Container.
pivotX: -animationRecipe.preferredWidth / 2;

Expand Down Expand Up @@ -156,7 +156,7 @@ Page {
}
}

// A Label and a toggle button is stacked togehter and aligned in the
// A Label and a toggle button is stacked together and aligned in the
// bottom right corner
Container {
layout: StackLayout {
Expand All @@ -181,20 +181,20 @@ Page {
superEggs.scaleX = 0.7;
superEggs.scaleY = 0.7;

// Stop all ongiong animations to avoid conflicts. If the functions return
// Stop all ongoing animations to avoid conflicts. If the functions return
// true this means the an animation was stopped and we have to wait til the
// onStopped function in the animaiton to start the show animation.
// onStopped function in the animation to start the show animation.
showAnimStopped = checkPlayingAnimations ();
if (showAnimStopped == false) {
// Show the eggs and call the tilt function in the Egg.qml file to wiggle the egg.
showEgg.play ()
moreEgg.tilt ();
}
} else {
// Stop all ongiong animations to avoid conflicts
// Stop all ongoing animations to avoid conflicts
hideAnimStopped = checkPlayingAnimations ();
if (hideAnimStopped == false) {
// Hide the extra egg, when this animation ends the super eggs are scaled back to their orignal size.
// Hide the extra egg, when this animation ends the super eggs are scaled back to their original size.
hideEgg.play ();
}
}
Expand Down
2 changes: 1 addition & 1 deletion cascadescookbookqml/assets/AnimationEgg.qml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Container {
pivotY: -preferredHeight/2;

animations: [
// A sequential animation is used to trigger consequtive rotations of
// A sequential animation is used to trigger consecutive rotations of
// the image to make it wiggle.
SequentialAnimation {
id: "tiltInShadow"
Expand Down
2 changes: 1 addition & 1 deletion cascadescookbookqml/assets/ColorHelper.qml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Container {
}
leftMargin: 5;

// Seting the Color on a Container is done by setting it on the background attribute.
// Setting the Color on a Container is done by setting it on the background attribute.
background: Color.Black
}
}
2 changes: 1 addition & 1 deletion cascadescookbookqml/assets/Common/RecipeContainer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
import bb.cascades 1.0

// Common Container for all recipes, with appropiate background color and
// Common Container for all recipes, with appropriate background color and
// width (full screen width on Colt). A temporary animation run when the
// Container is created is also added to reduce a rendering artifact in the
// navigation pane.
Expand Down
4 changes: 2 additions & 2 deletions cascadescookbookqml/assets/Common/RecipeItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Container {
horizontalAlignment: HorizontalAlignment.Center
}

// Item backgorund image.
// Item background image.
ImageView {
imageSource: "asset:///images/white_photo.png"
preferredWidth: 768
Expand Down Expand Up @@ -99,4 +99,4 @@ Container {
ListItem.onSelectedChanged : {
setHighlight(ListItem.selected);
}
}
}
2 changes: 1 addition & 1 deletion cascadescookbookqml/assets/DropDown.qml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Page {
id: dropdown

// This is a custom property that is used by the recipe text below to present
// appropiate meaures of ingredients depending on the selction made.
// appropriate measures of ingredients depending on the selection made.
property int nbrOfPints: 2
title: "Number of pints"

Expand Down
4 changes: 2 additions & 2 deletions cascadescookbookqml/assets/Input.qml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ Page {
}
}

// A multiline TextArea, the background can be disabled via the backgroundVisible property.
// A multi-line TextArea, the background can be disabled via the backgroundVisible property.
TextArea {
hintText: "Enter text into multiline TextArea"
hintText: "Enter text into multi-line TextArea"
minHeight: 120
maxHeight: 200
text: ""
Expand Down
4 changes: 2 additions & 2 deletions cascadescookbookqml/assets/Intro.qml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Page {
}
}

// A small example UI is set up in a seperate QML document (IntroExampleUI.qml).
// A small example UI is set up in a separate QML document (IntroExampleUI.qml).
IntroExampleUI {
topMargin: 70
bottomMargin: 50;
Expand All @@ -58,4 +58,4 @@ Page {
}
}

}
}
2 changes: 1 addition & 1 deletion cascadescookbookqml/assets/IntroExampleUI.qml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Container {
layout: StackLayout {
}

// A text area set to recieve text input, aligned to the top right corner.
// A text area set to receive text input, aligned to the top right corner.
TextArea {
preferredHeight: 65
text: ""
Expand Down
2 changes: 1 addition & 1 deletion cascadescookbookqml/assets/Javascript.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import bb.cascades 1.0
import "Common"

// Here we are importing a file with javascripts in the,.
// Here we are importing a file with JavaScripts in the,.
import "mypowfile.js" as MathFunctions

Page {
Expand Down
4 changes: 2 additions & 2 deletions cascadescookbookqml/assets/StockCurveRadioGroupSmall.qml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
import bb.cascades 1.0

// See StockCurveRadioGroup.qml for comments, the main diffenernce is that
// See StockCurveRadioGroup.qml for comments, the main difference is that
// this component only has 7 RadioOptions in its RadioGroup (instead of 11).
Container {
id: stockCurveRadioGroupContainer
Expand Down Expand Up @@ -81,4 +81,4 @@ Container {
function resetSelectedOption() {
stockCurveRadioGroup.resetSelectedIndex();
}
}
}
4 changes: 2 additions & 2 deletions cascadescookbookqml/assets/Stockcurve.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import "Common"

// This recipe illustrates how the different preset easing curves,
// "stock curves", effect the timing of the animation (stock in this
// case being a collection and has nothing todo with the financial market).
// case being a collection and has nothing to do with the financial market).
// In the recipe the curves predefined in Cascades 4 is presented in a radio
// button list to the right. When a new curve is selected an object will animated
// using the animation curve so that you can see how the different curves behaves.
Expand Down Expand Up @@ -236,7 +236,7 @@ Page {
}

// Play the first animation immediately when the recipe is created and select the
// corresponding opiton.
// corresponding option.
onCreationCompleted: {
anim.play ();
outRadioGroup.setSelectedIndex (0);
Expand Down
10 changes: 3 additions & 7 deletions cascadescookbookqml/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,7 @@ Running the example:
and select Build Project.
7. In the Project Explorer pane, Right-click the the project (for example hellocascades)
and select Run As > BlackBerry C/C++ Application.
8. The application will now install and launch on your playbook if not the following
might be necessary.
- Creating a debug token and target:
developer.blackberry.com/native/documentation/com.qnx.doc.native_sdk.quickstart/topic/configure_environment.html
8. The application will now install and launch on your device if not you might
have to set up your environment:
http://developer.blackberry.com/cascades/documentation/getting_started/setting_up.html


========================================================================
Revision History:
6 changes: 3 additions & 3 deletions cowbell/assets/cowbell.qml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
import bb.cascades 1.0

// The application page with a Container as content, all ui components are children to that Container.
// The application page with a Container as content, all UI components are children to that Container.
Page {
property bool trigLeft: false
property bool trigRight: false
Expand Down Expand Up @@ -94,7 +94,7 @@ Page {
onTouch: {
if (event.isDown ()) {

// Do not trigger the bell sound if touches occured on the image, but outside the
// Do not trigger the bell sound if touches occurred on the image, but outside the
// actual bell (above or below).
if (event.screenY > 140 && event.screenY < (preferredHeight - 60)) {

Expand Down Expand Up @@ -141,7 +141,7 @@ Page {
}

// This function is called from the animations onStopped function. If an animation
// was stopped we can not start it immediatly. trigRight/trigLeft is true if the animation
// was stopped we can not start it immediately. trigRight/trigLeft is true if the animation
// was stopped and has to be started in onStopped.
function playStoppedAnimations () {
if (trigRight) {
Expand Down
10 changes: 3 additions & 7 deletions cowbell/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ Running the example:
and select Build Project.
7. In the Project Explorer pane, Right-click the the project (for example hellocascades)
and select Run As > BlackBerry C/C++ Application.
8. The application will now install and launch on your playbook if not the following
might be necessary.
- Creating a debug token and target:
developer.blackberry.com/native/documentation/com.qnx.doc.native_sdk.quickstart/topic/configure_environment.html
8. The application will now install and launch on your device if not you might
have to set up your environment:
http://developer.blackberry.com/cascades/documentation/getting_started/setting_up.html


========================================================================
Revision History:
4 changes: 2 additions & 2 deletions hellocascades/assets/hellocascades.qml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Page {
// Here we create a background ImageView and set its source and size.
// As you see the images width and height is set to the largest area it could possibly occupy. This
// will make the image stretch since it it's not that size in actual pixels. The reason for setting
// the size to this is so that the image will take the whole screen both in portraint and landscape.
// the size to this is so that the image will take the whole screen both in portrait and landscape.
// For this image it will not look strange, but for other type of pixel content it could very
// well look mighty strange.
ImageView {
Expand All @@ -39,7 +39,7 @@ Page {

// The container containing the bubble image and text.
Container {
// This container is also using a dock layout and it is centetered on the
// This container is also using a dock layout and it is centered on the
// background image by setting up the layoutProperties for the container.
layout: DockLayout {
}
Expand Down
10 changes: 3 additions & 7 deletions hellocascades/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ Running the example:
and select Build Project.
7. In the Project Explorer pane, Right-click the the project (for example hellocascades)
and select Run As > BlackBerry C/C++ Application.
8. The application will now install and launch on your playbook if not the following
might be necessary.
- Creating a debug token and target:
developer.blackberry.com/native/documentation/com.qnx.doc.native_sdk.quickstart/topic/configure_environment.html
8. The application will now install and launch on your device if not you might
have to set up your environment:
http://developer.blackberry.com/cascades/documentation/getting_started/setting_up.html


========================================================================
Revision History:
2 changes: 1 addition & 1 deletion hellocascades/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ int main(int argc, char **argv)
HelloCascadesApp mainApp;

// We complete the transaction started in the app constructor and start the client event loop here
// when loop is exited the Application deletes the scene which deletes all its children (per qt rules for children)
// when loop is exited the Application deletes the scene which deletes all its children (per Qt rules for children)
// not as nice of course.
return Application::exec();
}
Expand Down
10 changes: 3 additions & 7 deletions helloforeignwindow/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ Running the example:
and select Build Project.
7. In the Project Explorer pane, Right-click the the project (for example hellocascades)
and select Run As > BlackBerry C/C++ Application.
8. The application will now install and launch on your playbook if not the following
might be necessary.
- Creating a debug token and target:
developer.blackberry.com/native/documentation/com.qnx.doc.native_sdk.quickstart/topic/configure_environment.html
8. The application will now install and launch on your device if not you might
have to set up your environment:
http://developer.blackberry.com/cascades/documentation/getting_started/setting_up.html


========================================================================
Revision History:
2 changes: 1 addition & 1 deletion helloforeignwindow/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ int main(int argc, char **argv)
HelloForeignWindowApp mainApp;

// We complete the transaction started in the app constructor and start the client event loop here
// when loop is exited the Application deletes the scene which deletes all its children (per qt rules for children)
// when loop is exited the Application deletes the scene which deletes all its children (per Qt rules for children)
// not as nice of course.
return Application::exec();
}
Expand Down
2 changes: 1 addition & 1 deletion kakel/assets/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Page {
Container {
objectName: "playArea"

//The red is an awesome trick, we can use it to se where we put our playarea when layouting
//The red is an awesome trick, we can use it to see where we put our playarea when layouting
background: Color.Red
preferredWidth: 724
preferredHeight: preferredWidth
Expand Down
10 changes: 3 additions & 7 deletions kakel/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ Running the example:
and select Build Project.
7. In the Project Explorer pane, Right-click the the project (for example hellocascades)
and select Run As > BlackBerry C/C++ Application.
8. The application will now install and launch on your playbook if not the following
might be necessary.
- Creating a debug token and target:
developer.blackberry.com/native/documentation/com.qnx.doc.native_sdk.quickstart/topic/configure_environment.html
8. The application will now install and launch on your device if not you might
have to set up your environment:
http://developer.blackberry.com/cascades/documentation/getting_started/setting_up.html


========================================================================
Revision History:
10 changes: 3 additions & 7 deletions lightningcrossfadecpp/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ Running the example:
and select Build Project.
7. In the Project Explorer pane, Right-click the the project (for example hellocascades)
and select Run As > BlackBerry C/C++ Application.
8. The application will now install and launch on your playbook if not the following
might be necessary.
- Creating a debug token and target:
developer.blackberry.com/native/documentation/com.qnx.doc.native_sdk.quickstart/topic/configure_environment.html
8. The application will now install and launch on your device if not you might
have to set up your environment:
http://developer.blackberry.com/cascades/documentation/getting_started/setting_up.html


========================================================================
Revision History:
Loading

0 comments on commit 4b5c993

Please sign in to comment.