Qt for Symbian

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Build mobile applications for Nokia’s S60 phones using the hot Qt GUI toolThis vital primer—written by developers involved in the latest release of Qt—is a must for anyone wanting to learn this cutting-edge programming environment.Qt is a multi-platform, C++ GUI toolkit that allows you to develop applications and user interfaces once, then deploy them across many desktop and embedded operating systems, without rewriting the source code. Now being applied to the S60 platform (Nokia's new, uniform UI), Qt promises to save development resources, cut costs, and get you to market faster. This unique guide helps you master this exciting tool with step-by-step instruction from some of the best developers in the S60 field.  Find easy-to-access tips, techniques, examples, and much more.Walks you through installation of the Qt developer platform and SDKExplains the basic Qt environment and how it can save you development timeDelves into the extension of Qt for the S60, including communication and sensorsProvides plenty of examples to help you quickly grasp conceptsHelp revolutionize the S60 mobile market and stay ahead of the crowd with your own state-of-the-art applications, developed with Qt and the detailed information in this unique guide.

Author(s): Frank H. P. Fitzek, Tommi Mikkonen, Tony Torp
Edition: 1
Publisher: Wiley
Year: 2010

Language: English
Pages: 208

CONTENTS......Page 7
CONTRIBUTORS......Page 13
FOREWORD......Page 15
PREFACE......Page 17
ABBREVIATIONS......Page 19
ACKNOWLEDGMENTS......Page 21
PUBLISHER’S ACKNOWLEDGMENTS......Page 22
ABOUT THE EDITORS......Page 23
1.1 The Importance of Mobile Developers......Page 25
1.2 Symbian OS......Page 28
1.2.2 Symbian – Evolution to the Leading Smart-Phone Platform......Page 29
1.2.3 Symbian – Casual Application Developer......Page 30
1.3.2 Qt in the Mobile Domain......Page 31
1.3.3 Qt Licensing......Page 34
Bibliography......Page 35
2.1 Installing the Development Environment......Page 37
2.1.2 Java......Page 38
2.1.4 Symbian Platform SDK......Page 39
2.1.5 Open C/C++ Plug-in......Page 41
2.1.6 The Carbide.c++ IDE......Page 43
2.1.7 Qt for Symbian......Page 44
2.2 Using Carbide.c++ with Qt for Symbian......Page 45
2.3 Summary......Page 50
3.1 HelloWorld......Page 53
3.1.1 Building......Page 54
3.1.2 Packaging......Page 55
3.2.1 Layouts......Page 56
3.2.2 Object Ownership and Memory Management......Page 58
3.3.1 Basic Signals......Page 59
3.3.2 Parameters......Page 60
3.4.1 QObject......Page 61
3.4.2 Custom Signals and Slots......Page 62
3.4.4 Meta-object Compiler (moc)......Page 63
3.4.5 Connecting Signals and Slots......Page 64
3.5.1 Handling Text through Implicit Sharing......Page 66
3.5.2 Internationalization......Page 67
3.5.3 Widgets, Dialogs and the Main Window......Page 69
3.6 System......Page 71
3.6.1 Events......Page 72
3.6.2 Timers and Painting......Page 73
3.7 Communication......Page 75
3.7.2 Files and Streams......Page 76
3.7.3 Networking and XML......Page 80
Bibliography......Page 88
4.1 Introduction......Page 89
4.2 Bearer Management......Page 90
4.3 Contacts......Page 91
4.4.2 Finding a Single Contact Detail......Page 92
4.5 Location......Page 93
4.5.1 Getting and Following the User’s Location......Page 94
4.6.1 Creating and Sending an Email Message......Page 95
4.8 Publish and Subscribe......Page 96
4.10 System Information......Page 97
4.10.2 Accessing System Information......Page 98
4.11 Summary......Page 99
Bibliography......Page 100
5.1 Utilizing Platform Features beyond Qt APIs......Page 101
5.3 Alarms......Page 102
5.3.3 Changing the Time of a Specific Alarm......Page 103
5.4 Calendar......Page 104
5.4.2 Deleting Calendar Entries......Page 105
5.5.1 Camera Initialization......Page 106
5.5.3 Taking a Photo......Page 107
5.6.2 Uninstalling an Application in the Background without Notifying the User......Page 108
5.7 Landmarks......Page 109
5.7.2 Getting a List of All Landmarks in the Landmark Database......Page 110
5.8.2 Setting the Current Profile to Silent......Page 111
5.9.1 Receiving Notification of Changes in Rotation and Orientation......Page 112
5.10.2 Receiving Notification of When Phone Call Status Changes......Page 114
5.11.1 Keeping the Device Backlight Turned On......Page 115
5.12.1 Switching on the Vibration Function......Page 116
6.1 Data Types and Symbian OS Class Naming Conventions......Page 119
6.1.1 Descriptors......Page 120
6.2.1 Leaves and Exception Handling......Page 122
6.2.2 The Cleanup Stack......Page 123
6.2.4 Thin Templates......Page 124
6.3 Executable Files......Page 125
6.4 Platform Security......Page 126
6.5 Active Objects......Page 127
6.8.1 Combining Qt and Native C++......Page 129
6.8.2 Building Qt Applications in the Symbian Environment......Page 130
6.8.3 Separating Qt and Symbian Implementations......Page 131
6.8.4 Other Issues......Page 139
Bibliography......Page 140
7.1.1 Displaying Messaging Accounts......Page 141
7.1.2 Displaying Recent Messages......Page 146
7.1.3 Service Framework......Page 153
7.2.1 Basic Widgets Example......Page 156
7.2.2 Background Worker Class......Page 161
7.2.3 Bouncing Ball......Page 166
7.2.4 Options Menu......Page 170
7.2.5 Website Downloader......Page 173
7.2.6 Stored Settings......Page 176
7.2.7 FriendsApp......Page 180
7.2.8 Sensor API......Page 193
7.2.9 Messaging API......Page 196
7.2.10 Camera API......Page 199
7.2.11 Location API......Page 202
INDEX......Page 205