summaryrefslogtreecommitdiff
path: root/example
Side-by-side diff
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 @@
-See /opt/Qtopia/doc/html/qtopia/index.html for help.
-See 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 @@
-Package: example
-Files: bin/example apps/Applications/example.desktop pics/example.png
-Priority: optional
-Section: opie/applications
-Maintainer: Warwick Allison <warwick@trolltech.com>
-Architecture: arm
-Version: 1.0.0
-Depends: qpe-base
-License: Public Domain
-Description: Example program
- An example program for the Opie environment.
- 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 @@
-#include "example.h"
-#include <qpushbutton.h>
-
-/*
- * Constructs a Example which is a child of 'parent', with the
- * name 'name' and widget flags set to 'f'
- */
-Example::Example( QWidget* parent, const char* name, WFlags fl )
- : ExampleBase( parent, name, fl )
-{
- connect(quit, SIGNAL(clicked()), this, SLOT(goodBye()));
-}
-
-/*
- * Destroys the object and frees any allocated resources
- */
-Example::~Example()
-{
- // no need to delete child widgets, Qt does it all for us
-}
-
-/*
- * A simple slot... not very interesting.
- */
-void Example::goodBye()
-{
- close();
-}
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 @@
-[Desktop Entry]
-Exec=example
-Icon=Example
-Type=Application
-Name=Example
-Comment=An Example Program
-Name[pt]=Exemplo
-Comment[pt]=Um programa de exemplo
-Name[pt_BR]=Exemplo
-Comment[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 @@
-#ifndef EXAMPLE_H
-#define EXAMPLE_H
-#include "examplebase.h"
-
-class Example : public ExampleBase
-{
- Q_OBJECT
-
-public:
- Example( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
- ~Example();
-
-private slots:
- void goodBye();
-};
-
-#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 @@
-TEMPLATE = app
-#CONFIG = qt warn_on debug
-CONFIG = qt warn_on release
-HEADERS = example.h
-SOURCES = main.cpp example.cpp
-INCLUDEPATH += $(OPIEDIR)/include
-DEPENDPATH += $(OPIEDIR)/include
-LIBS += -lqpe
-INTERFACES = examplebase.ui
-TARGET = example
-
-TRANSLATIONS = ../i18n/de/example.ts \
- ../i18n/nl/example.ts \
- ../i18n/da/example.ts \
- ../i18n/xx/example.ts \
- ../i18n/en/example.ts \
- ../i18n/es/example.ts \
- ../i18n/fr/example.ts \
- ../i18n/hu/example.ts \
- ../i18n/ja/example.ts \
- ../i18n/ko/example.ts \
- ../i18n/no/example.ts \
- ../i18n/pl/example.ts \
- ../i18n/pt/example.ts \
- ../i18n/pt_BR/example.ts \
- ../i18n/sl/example.ts \
- ../i18n/zh_CN/example.ts \
- ../i18n/zh_TW/example.ts
-
-
-
-include ( $(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 @@
-<!DOCTYPE UI><UI>
-<class>ExampleBase</class>
-<widget>
- <class>QWidget</class>
- <property stdset="1">
- <name>name</name>
- <cstring>ExampleBase</cstring>
- </property>
- <property stdset="1">
- <name>geometry</name>
- <rect>
- <x>0</x>
- <y>0</y>
- <width>196</width>
- <height>245</height>
- </rect>
- </property>
- <property stdset="1">
- <name>caption</name>
- <string>Example</string>
- </property>
- <vbox>
- <property stdset="1">
- <name>margin</name>
- <number>11</number>
- </property>
- <property stdset="1">
- <name>spacing</name>
- <number>6</number>
- </property>
- <widget>
- <class>QLabel</class>
- <property stdset="1">
- <name>name</name>
- <cstring>TextLabel1</cstring>
- </property>
- <property stdset="1">
- <name>text</name>
- <string>&lt;p&gt;This is just an &lt;i&gt;example&lt;/i&gt;. It doesn't do anything interesting at all.</string>
- </property>
- </widget>
- <widget>
- <class>QPushButton</class>
- <property stdset="1">
- <name>name</name>
- <cstring>quit</cstring>
- </property>
- <property stdset="1">
- <name>text</name>
- <string>Quit</string>
- </property>
- </widget>
- </vbox>
-</widget>
-</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 @@
-#include "example.h"
-#include <qpe/qpeapplication.h>
-
-int main( int argc, char ** argv )
-{
- QPEApplication a( argc, argv );
-
- Example mw;
- a.showMainWidget( &mw );
-
- return a.exec();
-}