author | kergoth <kergoth> | 2002-06-07 18:53:14 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-06-07 18:53:14 (UTC) |
commit | 640d964cfdc7467f6cacb513087cd3acda2c04f0 (patch) (unidiff) | |
tree | 9a784686c1795f8b1f81eb344598f3b549d43467 /examples/application | |
parent | dfb9c76738bb68e235114c5ad43dbd26a59b98ab (diff) | |
download | opie-640d964cfdc7467f6cacb513087cd3acda2c04f0.zip opie-640d964cfdc7467f6cacb513087cd3acda2c04f0.tar.gz opie-640d964cfdc7467f6cacb513087cd3acda2c04f0.tar.bz2 |
Backing out unintentional merge from TT branch.
-rw-r--r-- | examples/application/Example.png | bin | 1262 -> 0 bytes | |||
-rw-r--r-- | examples/application/README | 2 | ||||
-rw-r--r-- | examples/application/example.control | 11 | ||||
-rw-r--r-- | examples/application/example.cpp | 28 | ||||
-rw-r--r-- | examples/application/example.desktop | 6 | ||||
-rw-r--r-- | examples/application/example.h | 17 | ||||
-rw-r--r-- | examples/application/example.html | 15 | ||||
-rw-r--r-- | examples/application/example.pro | 10 | ||||
-rw-r--r-- | examples/application/examplebase.ui | 55 | ||||
-rw-r--r-- | examples/application/index.html | 23 | ||||
-rw-r--r-- | examples/application/main.cpp | 12 |
11 files changed, 0 insertions, 179 deletions
diff --git a/examples/application/Example.png b/examples/application/Example.png deleted file mode 100644 index f63d0bc..0000000 --- a/examples/application/Example.png +++ b/dev/null | |||
Binary files differ | |||
diff --git a/examples/application/README b/examples/application/README deleted file mode 100644 index 63986f4..0000000 --- a/examples/application/README +++ b/dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | See /opt/Qtopia/doc/index.html for help. | ||
2 | See doc.trolltech.com for more recent documentation updates. | ||
diff --git a/examples/application/example.control b/examples/application/example.control deleted file mode 100644 index e79c6f6..0000000 --- a/examples/application/example.control +++ b/dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | Files: bin/example apps/Applications/example.desktop pics/Example.png help/html/example.html | ||
2 | Priority: optional | ||
3 | Section: qpe/applications | ||
4 | Maintainer: Your Name <you@your.domain.com> | ||
5 | Architecture: arm | ||
6 | Version: 1.0.0 | ||
7 | Depends: qpe-base ($QPE_VERSION) | ||
8 | License: Public Domain | ||
9 | Description: Example program | ||
10 | An example program for the Qtopia environment. | ||
11 | Does nothing interesting. | ||
diff --git a/examples/application/example.cpp b/examples/application/example.cpp deleted file mode 100644 index 1e0bbe9..0000000 --- a/examples/application/example.cpp +++ b/dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | #include "example.h" | ||
2 | #include <qpushbutton.h> | ||
3 | |||
4 | /* | ||
5 | * Constructs a Example which is a child of 'parent', with the | ||
6 | * name 'name' and widget flags set to 'f' | ||
7 | */ | ||
8 | Example::Example( QWidget* parent, const char* name, WFlags fl ) | ||
9 | : ExampleBase( parent, name, fl ) | ||
10 | { | ||
11 | connect(quit, SIGNAL(clicked()), this, SLOT(goodBye())); | ||
12 | } | ||
13 | |||
14 | /* | ||
15 | * Destroys the object and frees any allocated resources | ||
16 | */ | ||
17 | Example::~Example() | ||
18 | { | ||
19 | // no need to delete child widgets, Qt does it all for us | ||
20 | } | ||
21 | |||
22 | /* | ||
23 | * A simple slot... not very interesting. | ||
24 | */ | ||
25 | void Example::goodBye() | ||
26 | { | ||
27 | close(); | ||
28 | } | ||
diff --git a/examples/application/example.desktop b/examples/application/example.desktop deleted file mode 100644 index f1e6f06..0000000 --- a/examples/application/example.desktop +++ b/dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | [Desktop Entry] | ||
2 | Comment=An Example Program | ||
3 | Exec=example | ||
4 | Icon=Example | ||
5 | Type=Application | ||
6 | Name=Example | ||
diff --git a/examples/application/example.h b/examples/application/example.h deleted file mode 100644 index 24c58c0..0000000 --- a/examples/application/example.h +++ b/dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | #ifndef EXAMPLE_H | ||
2 | #define EXAMPLE_H | ||
3 | #include "examplebase.h" | ||
4 | |||
5 | class Example : public ExampleBase | ||
6 | { | ||
7 | Q_OBJECT | ||
8 | |||
9 | public: | ||
10 | Example( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | ||
11 | ~Example(); | ||
12 | |||
13 | private slots: | ||
14 | void goodBye(); | ||
15 | }; | ||
16 | |||
17 | #endif // EXAMPLE_H | ||
diff --git a/examples/application/example.html b/examples/application/example.html deleted file mode 100644 index 9163573..0000000 --- a/examples/application/example.html +++ b/dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | <html> | ||
2 | <h1>Example</h1> | ||
3 | |||
4 | <p>This is the help for the Example program. | ||
5 | |||
6 | <p>To user this application: | ||
7 | |||
8 | <ol> | ||
9 | <li>Press the <img width=12 height=12 src=Example.png> icon in the Qtopia launcher. | ||
10 | <li>Read the label. | ||
11 | <li>Press the button. | ||
12 | <li>Read the source code provided. | ||
13 | </ol> | ||
14 | |||
15 | Now you know how to make a Qtopia application! | ||
diff --git a/examples/application/example.pro b/examples/application/example.pro deleted file mode 100644 index 2d89311..0000000 --- a/examples/application/example.pro +++ b/dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | TEMPLATE= app | ||
2 | #CONFIG = qt warn_on debug | ||
3 | CONFIG = qt warn_on release | ||
4 | HEADERS = example.h | ||
5 | SOURCES = main.cpp example.cpp | ||
6 | INCLUDEPATH+= $(QPEDIR)/include | ||
7 | DEPENDPATH+= $(QPEDIR)/include | ||
8 | LIBS += -lqpe | ||
9 | INTERFACES= examplebase.ui | ||
10 | TARGET = example | ||
diff --git a/examples/application/examplebase.ui b/examples/application/examplebase.ui deleted file mode 100644 index b47d20c..0000000 --- a/examples/application/examplebase.ui +++ b/dev/null | |||
@@ -1,55 +0,0 @@ | |||
1 | <!DOCTYPE UI><UI> | ||
2 | <class>ExampleBase</class> | ||
3 | <widget> | ||
4 | <class>QWidget</class> | ||
5 | <property stdset="1"> | ||
6 | <name>name</name> | ||
7 | <cstring>ExampleBase</cstring> | ||
8 | </property> | ||
9 | <property stdset="1"> | ||
10 | <name>geometry</name> | ||
11 | <rect> | ||
12 | <x>0</x> | ||
13 | <y>0</y> | ||
14 | <width>196</width> | ||
15 | <height>245</height> | ||
16 | </rect> | ||
17 | </property> | ||
18 | <property stdset="1"> | ||
19 | <name>caption</name> | ||
20 | <string>Example</string> | ||
21 | </property> | ||
22 | <vbox> | ||
23 | <property stdset="1"> | ||
24 | <name>margin</name> | ||
25 | <number>11</number> | ||
26 | </property> | ||
27 | <property stdset="1"> | ||
28 | <name>spacing</name> | ||
29 | <number>6</number> | ||
30 | </property> | ||
31 | <widget> | ||
32 | <class>QLabel</class> | ||
33 | <property stdset="1"> | ||
34 | <name>name</name> | ||
35 | <cstring>TextLabel1</cstring> | ||
36 | </property> | ||
37 | <property stdset="1"> | ||
38 | <name>text</name> | ||
39 | <string><p>This is just an <i>example</i>. It doesn't do anything interesting at all.</string> | ||
40 | </property> | ||
41 | </widget> | ||
42 | <widget> | ||
43 | <class>QPushButton</class> | ||
44 | <property stdset="1"> | ||
45 | <name>name</name> | ||
46 | <cstring>quit</cstring> | ||
47 | </property> | ||
48 | <property stdset="1"> | ||
49 | <name>text</name> | ||
50 | <string>Quit</string> | ||
51 | </property> | ||
52 | </widget> | ||
53 | </vbox> | ||
54 | </widget> | ||
55 | </UI> | ||
diff --git a/examples/application/index.html b/examples/application/index.html deleted file mode 100644 index ad97378..0000000 --- a/examples/application/index.html +++ b/dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | <h1 align=center><small>Welcome to the</small><br>Qtopia SDK</h1> | ||
2 | |||
3 | <h3>API Documentation</h3> | ||
4 | <p> | ||
5 | For API documentation, point a web browser at | ||
6 | /opt/Qtopia/doc/html/qtopia/index.html | ||
7 | |||
8 | <h3>Application Documentation</h3> | ||
9 | Put English documentation for applications in: | ||
10 | |||
11 | <p> | ||
12 | $QPEDIR/help/html/<i>appname</i>.html | ||
13 | |||
14 | <p> | ||
15 | Put non-English documentation for applications in: | ||
16 | |||
17 | <p> | ||
18 | $QPEDIR/help/<i>lang</i>/html/<i>appname</i>.html | ||
19 | |||
20 | <p> | ||
21 | Where <i>lang</i> is the language specifier (eg. "de" for German), | ||
22 | and <i>appname</i> is the program name of your application. | ||
23 | |||
diff --git a/examples/application/main.cpp b/examples/application/main.cpp deleted file mode 100644 index b705c44..0000000 --- a/examples/application/main.cpp +++ b/dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | #include "example.h" | ||
2 | #include <qpe/qpeapplication.h> | ||
3 | |||
4 | int main( int argc, char ** argv ) | ||
5 | { | ||
6 | QPEApplication a( argc, argv ); | ||
7 | |||
8 | Example mw; | ||
9 | a.showMainWidget( &mw ); | ||
10 | |||
11 | return a.exec(); | ||
12 | } | ||