summaryrefslogtreecommitdiff
path: root/examples/README
Unidiff
Diffstat (limited to 'examples/README') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/README10
1 files changed, 9 insertions, 1 deletions
diff --git a/examples/README b/examples/README
index 3003830..a84e8ee 100644
--- a/examples/README
+++ b/examples/README
@@ -1,28 +1,36 @@
1Hi newbie, 1Hi newbie,
2this directory contains a set of examples for various 2this directory contains a set of examples for various
3API you may want to use. The examples go from simple 3API you may want to use. The examples go from simple
4to harder and must be understand as an extension 4to harder and must be understand as an extension
5of the examples from Qt in your source package. 5of the examples from Qt in your source package.
6Be sure to look there at first and at their excelent 6Be sure to look there at first and at their excelent
7tutorials as well. 7tutorials as well.
8 8
9Note: that some files are found in apps/Examples to really 9Note: that some files are found in apps/Examples to really
10show how to include apps properly. 10show how to include apps properly.
11 11
12Note: to integrate your apps into the build 12Note: to integrate your apps into the build
13 make clean-configs 13 make clean-configs
14 put your application into a sourcedir 14 put your application into a sourcedir
15 edit $OPIEDIR/packages 15 edit $OPIEDIR/packages
16 make 16 make
17 17
18Naming Conventions:
19 Most of the time we prefix member variables with m_. This allows
20 us to see if a variable in a function is a member
21 or on the stack.
22 Function naming we use setFooBar() but fooBar() to get the
23 value. So please skip the get you're used from Java.
24 Other than that please try to avoid #ifdef and #defines
25 use const but we do not have any coding style convetions.
18 26
19 27
20 simple/ - Simple Widget with quit button 28 simple/ - Simple Widget with quit button
21 simple-icon - Simple Widget with loading resources and playing simple sound 29 simple-icon - Simple Widget with loading resources and playing simple sound
22 simple-main - Simple QMainWindow usage with toolbar and actions 30 simple-main - Simple QMainWindow usage with toolbar and actions
23 main-tab - QMainWindow with central tab widget 31 main-tab - QMainWindow with central tab widget
24 simple-pim - QMainWindow + QListView + PIM 32 simple-pim - QMainWindow + QListView + PIM + QCOP
25 big-pim - Usage of Opie PIM with BigScreen Extension 33 big-pim - Usage of Opie PIM with BigScreen Extension
26 34
27Compile by setting your environment (QTDIR, QMAKESPEC, PATH, OPIEDIR ) 35Compile by setting your environment (QTDIR, QMAKESPEC, PATH, OPIEDIR )
28qmake -o Makefile example.pro \ No newline at end of file 36qmake -o Makefile example.pro \ No newline at end of file