summaryrefslogtreecommitdiff
path: root/examples/README
Side-by-side diff
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 @@
Hi newbie,
this directory contains a set of examples for various
API you may want to use. The examples go from simple
to harder and must be understand as an extension
of the examples from Qt in your source package.
Be sure to look there at first and at their excelent
tutorials as well.
Note: that some files are found in apps/Examples to really
show how to include apps properly.
Note: to integrate your apps into the build
make clean-configs
put your application into a sourcedir
edit $OPIEDIR/packages
make
+Naming Conventions:
+ Most of the time we prefix member variables with m_. This allows
+ us to see if a variable in a function is a member
+ or on the stack.
+ Function naming we use setFooBar() but fooBar() to get the
+ value. So please skip the get you're used from Java.
+ Other than that please try to avoid #ifdef and #defines
+ use const but we do not have any coding style convetions.
simple/ - Simple Widget with quit button
simple-icon - Simple Widget with loading resources and playing simple sound
simple-main - Simple QMainWindow usage with toolbar and actions
main-tab - QMainWindow with central tab widget
-simple-pim - QMainWindow + QListView + PIM
+simple-pim - QMainWindow + QListView + PIM + QCOP
big-pim - Usage of Opie PIM with BigScreen Extension
Compile by setting your environment (QTDIR, QMAKESPEC, PATH, OPIEDIR )
qmake -o Makefile example.pro \ No newline at end of file