summaryrefslogtreecommitdiff
path: root/libopie2/examples/opiecore
Side-by-side diff
Diffstat (limited to 'libopie2/examples/opiecore') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/examples/opiecore/.cvsignore6
-rw-r--r--libopie2/examples/opiecore/oconfigdemo/.cvsignore8
-rw-r--r--libopie2/examples/opiecore/oconfigdemo/oconfigdemo.cpp32
-rw-r--r--libopie2/examples/opiecore/oconfigdemo/oconfigdemo.pro18
-rw-r--r--libopie2/examples/opiecore/odebugdemo/.cvsignore8
-rw-r--r--libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp142
-rw-r--r--libopie2/examples/opiecore/odebugdemo/odebugdemo.pro17
-rw-r--r--libopie2/examples/opiecore/oglobalsettingsdemo/.cvsignore8
-rw-r--r--libopie2/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp15
-rw-r--r--libopie2/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.pro14
-rw-r--r--libopie2/examples/opiecore/okeyconfigmanager/README1
-rw-r--r--libopie2/examples/opiecore/onotifydemo/.cvsignore6
-rw-r--r--libopie2/examples/opiecore/onotifydemo/onotifydemo.cpp144
-rw-r--r--libopie2/examples/opiecore/onotifydemo/onotifydemo.pro18
-rw-r--r--libopie2/examples/opiecore/opiecore.pro2
-rw-r--r--libopie2/examples/opiecore/oplugins/.cvsignore3
-rw-r--r--libopie2/examples/opiecore/oplugins/oplugins.cpp47
-rw-r--r--libopie2/examples/opiecore/oplugins/oplugins.pro11
-rw-r--r--libopie2/examples/opiecore/oprocessdemo/.cvsignore7
-rw-r--r--libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp13
-rw-r--r--libopie2/examples/opiecore/oprocessdemo/oprocessdemo.pro12
21 files changed, 0 insertions, 532 deletions
diff --git a/libopie2/examples/opiecore/.cvsignore b/libopie2/examples/opiecore/.cvsignore
deleted file mode 100644
index 8f7300c..0000000
--- a/libopie2/examples/opiecore/.cvsignore
+++ b/dev/null
@@ -1,6 +0,0 @@
-Makefile*
-moc*
-*moc
-*.o
-~*
-
diff --git a/libopie2/examples/opiecore/oconfigdemo/.cvsignore b/libopie2/examples/opiecore/oconfigdemo/.cvsignore
deleted file mode 100644
index db3635b..0000000
--- a/libopie2/examples/opiecore/oconfigdemo/.cvsignore
+++ b/dev/null
@@ -1,8 +0,0 @@
-oconfigdemo
-Makefile*
-obj
-moc*
-*moc
-*.o
-~*
-
diff --git a/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.cpp b/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.cpp
deleted file mode 100644
index 2ee4a65..0000000
--- a/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.cpp
+++ b/dev/null
@@ -1,32 +0,0 @@
-#include <opie2/oapplication.h>
-#include <opie2/oconfig.h>
-#include <qpe/config.h>
-
-using namespace Opie::Core;
-
-int main( int argc, char** argv )
-{
- OApplication* app = new OApplication( argc, argv, "MyConfigDemoApplication" );
-
- OConfigGroupSaver c1( app->config(), "MyGroup" );
- app->config()->writeEntry( "AnEntry", "InMyGroup" );
- {
- OConfigGroupSaver c2( c1.config(), "AnotherGroup" );
- app->config()->writeEntry( "AnEntry", "InAnotherGroup" );
- } // closing the scope returns to the last group
-
- app->config()->writeEntry( "AnotherEntry", "InMyGroup" );
-
- // do more stuff ...
-
- // in this (special) case it is necessary to manually call OConfig::write() (see below)
- app->config()->write();
-
- // can't delete the app when using the OConfigGroupSaver on top level scope,
- // because the destructor of the OConfigGroupSaver needs an application object
- //delete app; // destructor deletes config which writes changes back to disk
-
- return 0;
-
-}
-
diff --git a/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.pro b/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.pro
deleted file mode 100644
index b29c106..0000000
--- a/libopie2/examples/opiecore/oconfigdemo/oconfigdemo.pro
+++ b/dev/null
@@ -1,18 +0,0 @@
-TEMPLATE = app
-CONFIG = qt warn_on
-HEADERS =
-SOURCES = oconfigdemo.cpp
-
-INCLUDEPATH += $(OPIEDIR)/include
-DEPENDPATH += $(OPIEDIR)/include
-LIBS += -lopiecore2
-TARGET = oconfigdemo
-
-!contains( platform, x11 ) {
- include( $(OPIEDIR)/include.pro )
-}
-
-contains( platform, x11 ) {
- LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
-}
-
diff --git a/libopie2/examples/opiecore/odebugdemo/.cvsignore b/libopie2/examples/opiecore/odebugdemo/.cvsignore
deleted file mode 100644
index 731667d..0000000
--- a/libopie2/examples/opiecore/odebugdemo/.cvsignore
+++ b/dev/null
@@ -1,8 +0,0 @@
-odebugdemo
-Makefile*
-obj
-moc*
-*moc
-*.o
-~*
-
diff --git a/libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp b/libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp
deleted file mode 100644
index b046d28..0000000
--- a/libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp
+++ b/dev/null
@@ -1,142 +0,0 @@
-/* QT */
-
-#include <qvbox.h>
-#include <qhbox.h>
-#include <qvbuttongroup.h>
-#include <qhbuttongroup.h>
-#include <qlineedit.h>
-#include <qradiobutton.h>
-#include <qpushbutton.h>
-
-/* OPIE */
-
-#include <qpe/config.h>
-
-#include <opie2/odebug.h>
-#include <opie2/oapplication.h>
-#include <opie2/oglobal.h>
-#include <opie2/oglobalsettings.h>
-
-using namespace Opie::Core;
-
-class DemoApp : public OApplication
-{
-Q_OBJECT
-public:
- DemoApp( int argc, char** argv ) : OApplication( argc, argv, "libopie2 debug demo" )
- {
- // you have access to your OApplication object via oApp
- odebug << "Process-wide OApplication object @ " << oApp << "" << oendl;
-
- // you have access to global settings via OGlobalSettings
- int mode = OGlobalSettings::debugMode();
-
- QVBox* vbox = new QVBox();
- setMainWidget( vbox );
-
- g = new QVButtonGroup( "Output Strategy", vbox );
- QRadioButton* r0 = new QRadioButton( "file", g );
- QRadioButton* r1 = new QRadioButton( "messagebox", g );
- QRadioButton* r2 = new QRadioButton( "stderr", g );
- QRadioButton* r3 = new QRadioButton( "syslog", g );
- QRadioButton* r4 = new QRadioButton( "socket", g );
- g->insert( r0, 0 );
- g->insert( r1, 1 );
- g->insert( r2, 2 );
- g->insert( r3, 3 );
- g->insert( r4, 4 );
- g->setRadioButtonExclusive( true );
- connect( g, SIGNAL( clicked(int) ), this, SLOT( chooseMethod(int) ) );
-
- if ( mode != -1 ) g->setButton( mode );
-
- QHButtonGroup* hbox = new QHButtonGroup( "Extra Output Information", vbox );
- e = new QLineEdit( hbox );
- QPushButton* pb = new QPushButton( hbox );
-
- connect( e, SIGNAL( returnPressed() ), this, SLOT( updateDebugOutput() ) );
- connect( pb, SIGNAL( clicked() ), this, SLOT( updateDebugOutput() ) );
-
- // show the additional debug mode dependent output information
- e->setText( OGlobalSettings::debugOutput() );
-
- // buttos
- QPushButton* info = new QPushButton( "Emit Debug(Info) Output!", vbox );
- connect( info, SIGNAL( clicked() ), this, SLOT( emitInfoOutput() ) );
- QPushButton* warn = new QPushButton( "Emit a Warning Output!", vbox );
- connect( warn, SIGNAL( clicked() ), this, SLOT( emitWarningOutput() ) );
- QPushButton* error = new QPushButton( "Emit an Error Output!", vbox );
- connect( error, SIGNAL( clicked() ), this, SLOT( emitErrorOutput() ) );
- QPushButton* fatal = new QPushButton( "Emit a Fatal Output!", vbox );
- connect( fatal, SIGNAL( clicked() ), this, SLOT( emitFatalOutput() ) );
-
- QPushButton* tb = new QPushButton( "Emit a Fatal Backtrace!", vbox );
- connect( tb, SIGNAL( clicked() ), this, SLOT( emitTBOutput() ) );
-
- info->show();
- warn->show();
- error->show();
- fatal->show();
- tb->show();
- g->show();
- hbox->show();
- e->show();
- vbox->show();
- showMainWidget( vbox );
- }
-
-public slots:
- void chooseMethod(int method)
- {
- m = method;
- odebug << "choosing method: " << method << "" << oendl;
- OConfig* g = OGlobal::config();
- g->setGroup( "General" );
- g->writeEntry( "debugMode", m );
- e->setText( OGlobalSettings::debugOutput() );
- g->write();
- }
- void updateDebugOutput()
- {
- OConfig* g = OGlobal::config();
- g->setGroup( "General" );
- g->writeEntry( "debugOutput"+QString::number(OGlobalSettings::debugMode()), e->text() );
- g->write();
- }
- void emitInfoOutput()
- {
- odebug << "This is a debug message" << oendl;
- }
- void emitWarningOutput()
- {
- owarn << "This is a warning message" << oendl;
- }
- void emitErrorOutput()
- {
- oerr << "This is an errror message" << oendl;
- }
- void emitFatalOutput()
- {
- ofatal << "This is a fatal message" << oendl;
- }
- void emitTBOutput()
- {
- ofatal << "This is a fatal message + backtrace\n" + odBacktrace(); // odBacktrace includes \n
- }
-
-private:
- QButtonGroup* g;
- int m;
- QLineEdit* e;
-};
-
-int main( int argc, char** argv )
-{
- DemoApp* app = new DemoApp( argc, argv );
- app->exec();
-
- return 0;
-
-}
-
-#include "odebugdemo.moc"
diff --git a/libopie2/examples/opiecore/odebugdemo/odebugdemo.pro b/libopie2/examples/opiecore/odebugdemo/odebugdemo.pro
deleted file mode 100644
index e06053c..0000000
--- a/libopie2/examples/opiecore/odebugdemo/odebugdemo.pro
+++ b/dev/null
@@ -1,17 +0,0 @@
-TEMPLATE = app
-CONFIG = qt warn_on
-HEADERS =
-SOURCES = odebugdemo.cpp
-INCLUDEPATH += $(OPIEDIR)/include
-DEPENDPATH += $(OPIEDIR)/include
-LIBS += -lopiecore2
-TARGET = odebugdemo
-
-!contains( platform, x11 ) {
- include( $(OPIEDIR)/include.pro )
-}
-
-contains( platform, x11 ) {
- LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
-}
-
diff --git a/libopie2/examples/opiecore/oglobalsettingsdemo/.cvsignore b/libopie2/examples/opiecore/oglobalsettingsdemo/.cvsignore
deleted file mode 100644
index d564c61..0000000
--- a/libopie2/examples/opiecore/oglobalsettingsdemo/.cvsignore
+++ b/dev/null
@@ -1,8 +0,0 @@
-oglobalsettingsdemo
-Makefile*
-obj
-moc*
-*moc
-*.o
-~*
-
diff --git a/libopie2/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp b/libopie2/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp
deleted file mode 100644
index 37bcf13..0000000
--- a/libopie2/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.cpp
+++ b/dev/null
@@ -1,15 +0,0 @@
-#include <opie2/oglobalsettings.h>
-#include <stdio.h>
-
-using namespace Opie::Core;
-
-int main( int argc, char** argv )
-{
- printf( "current debugmode seems to be '%d'\n", OGlobalSettings::debugMode() );
- printf( "output information for this mode is '%s'\n", (const char*) OGlobalSettings::debugOutput() );
-
- return 0;
-
-}
-
-//#include "moc/oconfigdemo.moc"
diff --git a/libopie2/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.pro b/libopie2/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.pro
deleted file mode 100644
index d7bed05..0000000
--- a/libopie2/examples/opiecore/oglobalsettingsdemo/oglobalsettingsdemo.pro
+++ b/dev/null
@@ -1,14 +0,0 @@
-TEMPLATE = app
-CONFIG = qt warn_on
-HEADERS =
-SOURCES = oglobalsettingsdemo.cpp
-INCLUDEPATH += $(OPIEDIR)/include
-DEPENDPATH += $(OPIEDIR)/include
-LIBS += -lopiecore2
-TARGET = oglobalsettingsdemo
-MOC_DIR = moc
-OBJECTS_DIR = obj
-
-include( $(OPIEDIR)/include.pro )
-
-
diff --git a/libopie2/examples/opiecore/okeyconfigmanager/README b/libopie2/examples/opiecore/okeyconfigmanager/README
deleted file mode 100644
index 327b7c2..0000000
--- a/libopie2/examples/opiecore/okeyconfigmanager/README
+++ b/dev/null
@@ -1 +0,0 @@
-See opieui/okeyconfigwidget for an example of possible usage \ No newline at end of file
diff --git a/libopie2/examples/opiecore/onotifydemo/.cvsignore b/libopie2/examples/opiecore/onotifydemo/.cvsignore
deleted file mode 100644
index 8f7300c..0000000
--- a/libopie2/examples/opiecore/onotifydemo/.cvsignore
+++ b/dev/null
@@ -1,6 +0,0 @@
-Makefile*
-moc*
-*moc
-*.o
-~*
-
diff --git a/libopie2/examples/opiecore/onotifydemo/onotifydemo.cpp b/libopie2/examples/opiecore/onotifydemo/onotifydemo.cpp
deleted file mode 100644
index b9ff9db..0000000
--- a/libopie2/examples/opiecore/onotifydemo/onotifydemo.cpp
+++ b/dev/null
@@ -1,144 +0,0 @@
-/* OPIE */
-#include <opie2/odebug.h>
-#include <opie2/oapplication.h>
-#include <opie2/ofiledialog.h>
-#include <opie2/olistview.h>
-#include <opie2/ofilenotify.h>
-using namespace Opie::Core;
-using namespace Opie::Ui;
-
-/* QT */
-#include <qcheckbox.h>
-#include <qvbox.h>
-#include <qhbox.h>
-#include <qhbuttongroup.h>
-#include <qvbuttongroup.h>
-#include <qmessagebox.h>
-#include <qpushbutton.h>
-
-class DemoApp : public OApplication
-{
- Q_OBJECT
-public:
- DemoApp( int argc, char** argv ) : OApplication( argc, argv, "libopie2 notify demo" )
- {
-
- QVBox* vbox = new QVBox();
- setMainWidget( vbox );
-
- l = new OListView( vbox );
- l->addColumn( "Notification Path" );
- l->addColumn( "Trigger Type" );
- l->addColumn( "Trigger Mask" );
- l->setColumnAlignment( 1, AlignCenter );
- l->setColumnAlignment( 2, AlignCenter );
-
- QHBox* hbox = new QHBox( vbox );
-
- g2 = new QVButtonGroup( "Specify Trigger Type", hbox );
- //QCheckBox* c1 = new QCheckBox( "Multi", g2 );
- QCheckBox* c2 = new QCheckBox( "Access", g2 );
- QCheckBox* c3 = new QCheckBox( "Modify", g2 );
- QCheckBox* c4 = new QCheckBox( "Create", g2 );
- QCheckBox* c5 = new QCheckBox( "Delete", g2 );
- QCheckBox* c6 = new QCheckBox( "Rename", g2 );
- QCheckBox* c7 = new QCheckBox( "Attrib", g2 );
- g2->insert( c2, Access );
- g2->insert( c3, Modify );
- g2->insert( c4, Create );
- g2->insert( c5, Delete );
- g2->insert( c6, Rename );
- g2->insert( c7, Attrib );
- connect( g2, SIGNAL( pressed(int) ), this, SLOT( modifierClicked(int) ) );
-
- g1 = new QVButtonGroup( "Add/Remove", hbox );
- QPushButton* plus1 = new QPushButton( "Add\n&Single", g1 );
- QPushButton* plus2 = new QPushButton( "Add\n&Multi", g1 );
- QPushButton* minus = new QPushButton( "&Remove\nIt!", g1 );
- g1->insert( plus1, 0 );
- g1->insert( plus2, 1 );
- g1->insert( minus, 2 );
- connect( plus1, SIGNAL( clicked() ), this, SLOT( addSingle() ) );
- connect( plus2, SIGNAL( clicked() ), this, SLOT( addMulti() ) );
- connect( minus, SIGNAL( clicked() ), this, SLOT( delTrigger() ) );
-
- g1->show();
- g2->show();
- l->show();
- hbox->show();
- vbox->show();
- showMainWidget( vbox );
- }
-
-public:
- void addTrigger( bool multi = false )
- {
- if ( !m )
- {
- QMessageBox::warning( 0, "Add Trigger", "<p>Can't add trigger without at least one selected trigger type</p>", "&Sorry", 0 );
- return;
- }
-
- QString filename = OFileDialog::getOpenFileName( OFileSelector::ExtendedAll );
- if ( !filename.isEmpty() )
- {
- odebug << "Filename = " << filename << oendl;
-
- int fntype = m;
- if ( multi ) fntype |=(int) Multi;
-
- QString modifier = QString().sprintf( " = 0x%08x", fntype );
- new OListViewItem( l, filename, multi ? "MULTI" : "SINGLE", modifier );
- if ( !multi )
- OFileNotification::singleShot( filename, this, SLOT( trigger() ), (OFileNotificationType) fntype );
- else
- OFileNotification::singleShot( filename, this, SLOT( trigger() ), (OFileNotificationType) fntype );
- }
- else
- {
- odebug << "cancelled." << oendl;
- }
- }
-
-public slots:
- void modifierClicked( int modifier ) { m = static_cast<OFileNotificationType>( (int)m ^ int(modifier) ); };
- void addSingle() { addTrigger(); };
- void addMulti() { addTrigger( true ); };
-
- void delTrigger()
- {
- QListViewItem* item = l->selectedItem();
- if ( !item )
- {
- QMessageBox::warning( 0, "Del Trigger", "<p>No trigger selected!</p>", "&Sorry", 0 );
- return;
- }
- else
- {
- QString filename( item->text( 0 ) );
- odebug << "Filename = " << filename << oendl;
- }
- }
-
- void trigger()
- {
- owarn << "FIRE!" << oendl;
- }
-
-private:
- OListView* l;
- QButtonGroup* g1;
- QButtonGroup* g2;
- OFileNotificationType m;
-};
-
-int main( int argc, char** argv )
-{
- DemoApp* app = new DemoApp( argc, argv );
- app->exec();
-
- return 0;
-
-}
-
-#include "moc/onotifydemo.moc"
diff --git a/libopie2/examples/opiecore/onotifydemo/onotifydemo.pro b/libopie2/examples/opiecore/onotifydemo/onotifydemo.pro
deleted file mode 100644
index d2c9138..0000000
--- a/libopie2/examples/opiecore/onotifydemo/onotifydemo.pro
+++ b/dev/null
@@ -1,18 +0,0 @@
-TEMPLATE = app
-CONFIG = qt warn_on
-HEADERS =
-SOURCES = onotifydemo.cpp
-INCLUDEPATH += $(OPIEDIR)/include
-DEPENDPATH += $(OPIEDIR)/include
-LIBS += -lopiecore2 -lopieui2
-TARGET = onotifydemo
-
-!contains( platform, x11 ) {
- include( $(OPIEDIR)/include.pro )
-}
-
-contains( platform, x11 ) {
- LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
-}
-
-MOC_DIR = moc
diff --git a/libopie2/examples/opiecore/opiecore.pro b/libopie2/examples/opiecore/opiecore.pro
deleted file mode 100644
index 39ffd3b..0000000
--- a/libopie2/examples/opiecore/opiecore.pro
+++ b/dev/null
@@ -1,2 +0,0 @@
-TEMPLATE = subdirs
-unix:SUBDIRS = odebugdemo oconfigdemo oglobalsettingsdemo onotifydemo oprocessdemo oplugins
diff --git a/libopie2/examples/opiecore/oplugins/.cvsignore b/libopie2/examples/opiecore/oplugins/.cvsignore
deleted file mode 100644
index 514e011..0000000
--- a/libopie2/examples/opiecore/oplugins/.cvsignore
+++ b/dev/null
@@ -1,3 +0,0 @@
-oplugins
-Makefile
-.moc
diff --git a/libopie2/examples/opiecore/oplugins/oplugins.cpp b/libopie2/examples/opiecore/oplugins/oplugins.cpp
deleted file mode 100644
index 26623be..0000000
--- a/libopie2/examples/opiecore/oplugins/oplugins.cpp
+++ b/dev/null
@@ -1,47 +0,0 @@
-/*
- * You may copy, modify and or distribute without any limitation
- */
-#include <opie2/odebug.h>
-#include <opie2/opluginloader.h>
-
-#include <opie2/todayplugininterface.h>
-
-using Opie::Core::OPluginItem;
-using Opie::Core::OGenericPluginLoader;
-using Opie::Core::OPluginLoader;
-
-void debugLst( const OPluginItem::List& lst ) {
- for ( OPluginItem::List::ConstIterator it = lst.begin(); it != lst.end(); ++it )
- odebug << "Name " << (*it).name() << " " << (*it).path() << " " << (*it).position() << oendl;
-}
-
-
-int main( void ) {
- OGenericPluginLoader loader( "today", true );
- loader.setAutoDelete( true );
-
- odebug << "IS in Safe Mode" << loader.isInSafeMode() << oendl;
-
- OPluginItem::List lst = loader.allAvailable( true );
- debugLst( lst );
-
- lst = loader.filtered( true );
- debugLst( lst );
-
- for ( OPluginItem::List::Iterator it = lst.begin(); it != lst.end(); ++it ) {
- QUnknownInterface* iface = loader.load( *it, IID_TodayPluginInterface );
- }
-
- OPluginLoader loader2("today",true);
- OPluginItem::List lst2 = loader2.allAvailable( true );
- debugLst( lst2 );
-
- for( OPluginItem::List::Iterator it = lst.begin(); it != lst.end(); ++it ){
- TodayPluginInterface* iface = loader2.load<TodayPluginInterface>( *it, IID_TodayPluginInterface );
- }
-
-
- /*
- * now it's autodelete so cleaned up for us
- */
-}
diff --git a/libopie2/examples/opiecore/oplugins/oplugins.pro b/libopie2/examples/opiecore/oplugins/oplugins.pro
deleted file mode 100644
index 03f8e4d..0000000
--- a/libopie2/examples/opiecore/oplugins/oplugins.pro
+++ b/dev/null
@@ -1,11 +0,0 @@
-TEMPLATE = app
-CONFIG += qt warn_on
-
-SOURCES = oplugins.cpp
-
-INCLUDEPATH += $(OPIEDIR)/include
-DEPENDSPATH += $(OPIEDIR)/include
-
-LIBS += -lopiecore2
-
-include( $(OPIEDIR)/include.pro )
diff --git a/libopie2/examples/opiecore/oprocessdemo/.cvsignore b/libopie2/examples/opiecore/oprocessdemo/.cvsignore
deleted file mode 100644
index ab9cb4d..0000000
--- a/libopie2/examples/opiecore/oprocessdemo/.cvsignore
+++ b/dev/null
@@ -1,7 +0,0 @@
-oprocessdemo
-Makefile*
-moc*
-*moc
-*.o
-~*
-
diff --git a/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp b/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp
deleted file mode 100644
index c5fc328..0000000
--- a/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp
+++ b/dev/null
@@ -1,13 +0,0 @@
-#include <opie2/oprocess.h>
-#include <stdio.h>
-
-using namespace Opie::Core;
-
-int main( int argc, char** argv )
-{
- printf( "my own PID seems to be '%d'\n", OProcess::processPID( "oprocessdemo" ) );
- printf( "the PID of process 'Mickey' seems to be '%d'\n\n", OProcess::processPID( "Mickey" ) );
-
- return 0;
-}
-
diff --git a/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.pro b/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.pro
deleted file mode 100644
index 7efc614..0000000
--- a/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.pro
+++ b/dev/null
@@ -1,12 +0,0 @@
-TEMPLATE = app
-CONFIG = qt warn_on
-HEADERS =
-SOURCES = oprocessdemo.cpp
-INCLUDEPATH += $(OPIEDIR)/include
-DEPENDPATH += $(OPIEDIR)/include
-LIBS += -lopiecore2
-TARGET = oprocessdemo
-
-include( $(OPIEDIR)/include.pro )
-
-