summaryrefslogtreecommitdiff
path: root/example
authormickeyl <mickeyl>2003-11-09 01:29:48 (UTC)
committer mickeyl <mickeyl>2003-11-09 01:29:48 (UTC)
commitfe2686a823f0dc41828ed75b759f34f117453e49 (patch) (unidiff)
treebf3eb1ee22b12c84d36eb53d4f4f2dcb0eac64a4 /example
parent28d03a7d43f449949991a91cab63580ef6220725 (diff)
downloadopie-fe2686a823f0dc41828ed75b759f34f117453e49.zip
opie-fe2686a823f0dc41828ed75b759f34f117453e49.tar.gz
opie-fe2686a823f0dc41828ed75b759f34f117453e49.tar.bz2
get rid of some obsolete zombies.
Diffstat (limited to 'example') (more/less context) (ignore whitespace changes)
-rw-r--r--example/Example.pngbin1262 -> 0 bytes
-rw-r--r--example/README2
-rw-r--r--example/example.control12
-rw-r--r--example/example.cpp28
-rw-r--r--example/example.desktop10
-rw-r--r--example/example.h17
-rw-r--r--example/example.pro32
-rw-r--r--example/examplebase.ui55
-rw-r--r--example/main.cpp12
9 files changed, 0 insertions, 168 deletions
diff --git a/example/Example.png b/example/Example.png
deleted file mode 100644
index f63d0bc..0000000
--- a/example/Example.png
+++ b/dev/null
Binary files differ
diff --git a/example/README b/example/README
deleted file mode 100644
index 98c2c51..0000000
--- a/example/README
+++ b/dev/null
@@ -1,2 +0,0 @@
1See /opt/Qtopia/doc/html/qtopia/index.html for help.
2See doc.trolltech.com for more recent documentation updates.
diff --git a/example/example.control b/example/example.control
deleted file mode 100644
index 08c5a5d..0000000
--- a/example/example.control
+++ b/dev/null
@@ -1,12 +0,0 @@
1Package: example
2Files: bin/example apps/Applications/example.desktop pics/example.png
3Priority: optional
4Section: opie/applications
5Maintainer: Warwick Allison <warwick@trolltech.com>
6Architecture: arm
7Version: 1.0.0
8Depends: qpe-base
9License: Public Domain
10Description: Example program
11 An example program for the Opie environment.
12 Does nothing interesting.
diff --git a/example/example.cpp b/example/example.cpp
deleted file mode 100644
index 1e0bbe9..0000000
--- a/example/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 */
8Example::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 */
17Example::~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 */
25void Example::goodBye()
26{
27 close();
28}
diff --git a/example/example.desktop b/example/example.desktop
deleted file mode 100644
index c86fd81..0000000
--- a/example/example.desktop
+++ b/dev/null
@@ -1,10 +0,0 @@
1[Desktop Entry]
2Exec=example
3Icon=Example
4Type=Application
5Name=Example
6Comment=An Example Program
7Name[pt]=Exemplo
8Comment[pt]=Um programa de exemplo
9Name[pt_BR]=Exemplo
10Comment[pt_BR]=Um programa de exemplo
diff --git a/example/example.h b/example/example.h
deleted file mode 100644
index 24c58c0..0000000
--- a/example/example.h
+++ b/dev/null
@@ -1,17 +0,0 @@
1#ifndef EXAMPLE_H
2#define EXAMPLE_H
3#include "examplebase.h"
4
5class Example : public ExampleBase
6{
7 Q_OBJECT
8
9public:
10 Example( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
11 ~Example();
12
13private slots:
14 void goodBye();
15};
16
17#endif // EXAMPLE_H
diff --git a/example/example.pro b/example/example.pro
deleted file mode 100644
index dea78cf..0000000
--- a/example/example.pro
+++ b/dev/null
@@ -1,32 +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+= $(OPIEDIR)/include
7 DEPENDPATH+= $(OPIEDIR)/include
8LIBS += -lqpe
9 INTERFACES= examplebase.ui
10 TARGET = example
11
12TRANSLATIONS = ../i18n/de/example.ts \
13 ../i18n/nl/example.ts \
14 ../i18n/da/example.ts \
15 ../i18n/xx/example.ts \
16 ../i18n/en/example.ts \
17 ../i18n/es/example.ts \
18 ../i18n/fr/example.ts \
19 ../i18n/hu/example.ts \
20 ../i18n/ja/example.ts \
21 ../i18n/ko/example.ts \
22 ../i18n/no/example.ts \
23 ../i18n/pl/example.ts \
24 ../i18n/pt/example.ts \
25 ../i18n/pt_BR/example.ts \
26 ../i18n/sl/example.ts \
27 ../i18n/zh_CN/example.ts \
28 ../i18n/zh_TW/example.ts
29
30
31
32include ( $(OPIEDIR)/include.pro )
diff --git a/example/examplebase.ui b/example/examplebase.ui
deleted file mode 100644
index b47d20c..0000000
--- a/example/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>&lt;p&gt;This is just an &lt;i&gt;example&lt;/i&gt;. 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/example/main.cpp b/example/main.cpp
deleted file mode 100644
index b705c44..0000000
--- a/example/main.cpp
+++ b/dev/null
@@ -1,12 +0,0 @@
1#include "example.h"
2#include <qpe/qpeapplication.h>
3
4int 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}