-rw-r--r-- | examples/README | 10 |
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 @@ | |||
1 | Hi newbie, | 1 | Hi newbie, |
2 | this directory contains a set of examples for various | 2 | this directory contains a set of examples for various |
3 | API you may want to use. The examples go from simple | 3 | API you may want to use. The examples go from simple |
4 | to harder and must be understand as an extension | 4 | to harder and must be understand as an extension |
5 | of the examples from Qt in your source package. | 5 | of the examples from Qt in your source package. |
6 | Be sure to look there at first and at their excelent | 6 | Be sure to look there at first and at their excelent |
7 | tutorials as well. | 7 | tutorials as well. |
8 | 8 | ||
9 | Note: that some files are found in apps/Examples to really | 9 | Note: that some files are found in apps/Examples to really |
10 | show how to include apps properly. | 10 | show how to include apps properly. |
11 | 11 | ||
12 | Note: to integrate your apps into the build | 12 | Note: 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 | ||
18 | Naming 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 | ||
27 | Compile by setting your environment (QTDIR, QMAKESPEC, PATH, OPIEDIR ) | 35 | Compile by setting your environment (QTDIR, QMAKESPEC, PATH, OPIEDIR ) |
28 | qmake -o Makefile example.pro \ No newline at end of file | 36 | qmake -o Makefile example.pro \ No newline at end of file |