summaryrefslogtreecommitdiff
path: root/libopie2/examples/opieui/oversatileviewdemo
authormickeyl <mickeyl>2005-01-29 14:23:27 (UTC)
committer mickeyl <mickeyl>2005-01-29 14:23:27 (UTC)
commit20b3de56573b9e86c6b6041faf684adc8cbb2a45 (patch) (side-by-side diff)
treee0d91c84dee46d1cce3b0d68fd2c10c3dd7ce3a1 /libopie2/examples/opieui/oversatileviewdemo
parent555b999359a5aad999eaaf48632ce85f25125b85 (diff)
downloadopie-20b3de56573b9e86c6b6041faf684adc8cbb2a45.zip
opie-20b3de56573b9e86c6b6041faf684adc8cbb2a45.tar.gz
opie-20b3de56573b9e86c6b6041faf684adc8cbb2a45.tar.bz2
examples to where they belong
Diffstat (limited to 'libopie2/examples/opieui/oversatileviewdemo') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/.cvsignore6
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/1.pngbin1969 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/1small.pngbin708 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/2.pngbin2333 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/2small.pngbin875 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/3.pngbin2009 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/3small.pngbin921 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/4.pngbin2076 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/4small.pngbin762 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/5.pngbin2266 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/5small.pngbin743 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/6.pngbin2491 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/6small.pngbin894 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/folder_closed.pngbin675 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/folder_closed32.pngbin2105 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/folder_opened.pngbin743 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/folder_opened32.pngbin2112 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/leaf.pngbin717 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/leaf32.pngbin1904 -> 0 bytes
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/main.cpp32
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp203
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/opieuidemo.h60
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.cpp160
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.h77
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.pro17
25 files changed, 0 insertions, 555 deletions
diff --git a/libopie2/examples/opieui/oversatileviewdemo/.cvsignore b/libopie2/examples/opieui/oversatileviewdemo/.cvsignore
deleted file mode 100644
index 8f7300c..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/.cvsignore
+++ b/dev/null
@@ -1,6 +0,0 @@
-Makefile*
-moc*
-*moc
-*.o
-~*
-
diff --git a/libopie2/examples/opieui/oversatileviewdemo/1.png b/libopie2/examples/opieui/oversatileviewdemo/1.png
deleted file mode 100644
index 0e2e41b..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/1.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/1small.png b/libopie2/examples/opieui/oversatileviewdemo/1small.png
deleted file mode 100644
index ce6b262..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/1small.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/2.png b/libopie2/examples/opieui/oversatileviewdemo/2.png
deleted file mode 100644
index 8a0181d..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/2.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/2small.png b/libopie2/examples/opieui/oversatileviewdemo/2small.png
deleted file mode 100644
index 82a4431..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/2small.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/3.png b/libopie2/examples/opieui/oversatileviewdemo/3.png
deleted file mode 100644
index 8a58d6c..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/3.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/3small.png b/libopie2/examples/opieui/oversatileviewdemo/3small.png
deleted file mode 100644
index 073ba55..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/3small.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/4.png b/libopie2/examples/opieui/oversatileviewdemo/4.png
deleted file mode 100644
index 198891b..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/4.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/4small.png b/libopie2/examples/opieui/oversatileviewdemo/4small.png
deleted file mode 100644
index 7f1cc01..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/4small.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/5.png b/libopie2/examples/opieui/oversatileviewdemo/5.png
deleted file mode 100644
index ee7344a..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/5.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/5small.png b/libopie2/examples/opieui/oversatileviewdemo/5small.png
deleted file mode 100644
index 105b038..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/5small.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/6.png b/libopie2/examples/opieui/oversatileviewdemo/6.png
deleted file mode 100644
index 72c3692..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/6.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/6small.png b/libopie2/examples/opieui/oversatileviewdemo/6small.png
deleted file mode 100644
index 1db2a30..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/6small.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/folder_closed.png b/libopie2/examples/opieui/oversatileviewdemo/folder_closed.png
deleted file mode 100644
index 4157333..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/folder_closed.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/folder_closed32.png b/libopie2/examples/opieui/oversatileviewdemo/folder_closed32.png
deleted file mode 100644
index acc992c..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/folder_closed32.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/folder_opened.png b/libopie2/examples/opieui/oversatileviewdemo/folder_opened.png
deleted file mode 100644
index 5e7e37e..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/folder_opened.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/folder_opened32.png b/libopie2/examples/opieui/oversatileviewdemo/folder_opened32.png
deleted file mode 100644
index acd3265..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/folder_opened32.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/leaf.png b/libopie2/examples/opieui/oversatileviewdemo/leaf.png
deleted file mode 100644
index c8435ec..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/leaf.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/leaf32.png b/libopie2/examples/opieui/oversatileviewdemo/leaf32.png
deleted file mode 100644
index 5e90ead..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/leaf32.png
+++ b/dev/null
Binary files differ
diff --git a/libopie2/examples/opieui/oversatileviewdemo/main.cpp b/libopie2/examples/opieui/oversatileviewdemo/main.cpp
deleted file mode 100644
index e48395a..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/main.cpp
+++ b/dev/null
@@ -1,32 +0,0 @@
-/**********************************************************************
-** Copyright (C) 2002 Michael 'Mickey' Lauer. All rights reserved.
-**
-** This file is part of Opie Environment.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-**********************************************************************/
-
-#include "opieuidemo.h"
-
-#include <opie2/oapplication.h>
-
-using namespace Opie::Core;
-using namespace Opie::Ui;
-
-int main( int argc, char **argv )
-{
- OApplication a( argc, argv, "Opie UI Demo" );
- odebug << "." << oendl;
- OpieUIDemo e;
- odebug << "." << oendl;
- a.showMainWidget(&e);
- odebug << "." << oendl;
- return a.exec();
-}
diff --git a/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp b/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp
deleted file mode 100644
index a2cdd5a..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp
+++ b/dev/null
@@ -1,203 +0,0 @@
-/**********************************************************************
-** Copyright (C) 2002 Michael 'Mickey' Lauer. All rights reserved.
-**
-** This file is part of Opie Environment.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-***********************************************************************/
-
-// Qt
-
-#include <qcolor.h>
-#include <qpopupmenu.h>
-#include <qmenubar.h>
-#include <qmessagebox.h>
-#include <qvbox.h>
-#include <qstring.h>
-#include <qstringlist.h>
-
-// Qtopia
-
-#include <qpe/qpeapplication.h>
-#include <qpe/global.h>
-
-// Opie
-
-#include <opie2/odevice.h>
-
-#include <opie2/ocompletionbox.h>
-#include <opie2/olineedit.h>
-#include <opie2/ocombobox.h>
-#include <opie2/oeditlistbox.h>
-#include <opie2/oselector.h>
-#include <opie2/opopupmenu.h>
-
-#include <qtabwidget.h>
-#include "oversatileviewdemo.h"
-
-// Local
-
-#include "opieuidemo.h"
-
-using namespace Opie::Core;
-using namespace Opie::Ui;
-
-enum Demos { ocompletionbox, olineedit, ocombobox, oeditlistbox, oselector };
-
-OpieUIDemo::OpieUIDemo( QWidget* parent, const char* name, WFlags fl )
- : QMainWindow( parent, name, fl )
-{
-
- QMenuBar* mbar = this->menuBar();
- OPopupMenu* demo = new OPopupMenu( this );
- demo->setTitle( "Title" );
- demo->setItemParameter( demo->insertItem( "OCompletionBox", this, SLOT( demo(int) ) ), ocompletionbox );
- demo->setItemParameter( demo->insertItem( "OLineEdit", this, SLOT( demo(int) ) ), olineedit );
- demo->setItemParameter( demo->insertItem( "OComboBox", this, SLOT( demo(int) ) ), ocombobox );
- demo->setItemParameter( demo->insertItem( "OEditListBox", this, SLOT( demo(int) ) ), oeditlistbox );
- demo->setItemParameter( demo->insertItem( "OSelector", this, SLOT( demo(int) ) ), oselector );
- mbar->insertItem( "Demonstrate", demo );
-
- build();
-
-}
-
-OpieUIDemo::~OpieUIDemo()
-{
-}
-
-void OpieUIDemo::build()
-{
- main = new QTabWidget( this, "tabwidget" );
- setCentralWidget( main );
- main->show();
-
- main->addTab( new OVersatileViewDemo( main ), "VersatileView" );
-}
-
-
-void OpieUIDemo::demo( int d )
-{
- switch (d)
- {
- case ocompletionbox: demoOCompletionBox(); break;
- case olineedit: demoOLineEdit(); break;
- case ocombobox: demoOComboBox(); break;
- case oeditlistbox: demoOEditListBox(); break;
- case oselector: demoOSelector(); break;
-
- }
-
-}
-
-void OpieUIDemo::demoOCompletionBox()
-{
- odebug << "ocompletionbox" << oendl;
-
- OCompletionBox* box = new OCompletionBox( 0 );
- box->insertItem( "This CompletionBox" );
- box->insertItem( "Says 'Hello World'" );
- box->insertItem( "Here are some" );
- box->insertItem( "Additional Items" );
- box->insertItem( "Complete Completion Box" );
-
- connect( box, SIGNAL( activated(const QString&) ), this, SLOT( messageBox(const QString&) ) );
- box->popup();
-
-}
-
-void OpieUIDemo::demoOLineEdit()
-{
- odebug << "olineedit" << oendl;
-
- OLineEdit *edit = new OLineEdit( 0, "lineedit" );
-
- edit->setCompletionMode( OGlobalSettings::CompletionPopup );
- OCompletion* comp = edit->completionObject();
-
- QStringList list;
- list << "mickeyl@handhelds.org";
- list << "mickey@tm.informatik.uni-frankfurt.de";
- list << "mickey@vanille.de";
-
- comp->setItems( list );
-
- edit->show();
-
-}
-
-void OpieUIDemo::demoOComboBox()
-{
- odebug << "ocombobox" << oendl;
-
- OComboBox *combo = new OComboBox( true, 0, "combobox" );
-
- combo->setCompletionMode( OGlobalSettings::CompletionPopup );
- OCompletion* comp = combo->completionObject();
-
- QStringList ilist;
- ilist << "kergoth@handhelds.org";
- ilist << "harlekin@handhelds.org";
- ilist << "groucho@handhelds.org";
- combo->insertStringList( ilist );
-
- QStringList clist;
- clist << "mickeyl@handhelds.org";
- clist << "mickey@tm.informatik.uni-frankfurt.de";
- clist << "mickey@vanille.de";
- comp->setItems( clist );
-
- combo->show();
-
-}
-
-void OpieUIDemo::demoOEditListBox()
-{
- odebug << "oeditlistbox" << oendl;
-
- OEditListBox* edit = new OEditListBox( "OEditListBox", 0, "editlistbox" );
-
- edit->lineEdit()->setCompletionMode( OGlobalSettings::CompletionPopup );
- OCompletion* comp = edit->lineEdit()->completionObject();
- QStringList clist;
- clist << "Completion everywhere";
- clist << "Cool Completion everywhere";
- clist << "History History History";
- comp->setItems( clist );
-
- QStringList list;
- list << "kergoth@handhelds.org";
- list << "harlekin@handhelds.org";
- list << "groucho@handhelds.org";
- list << "mickeyl@handhelds.org";
- edit->insertStringList( list );
-
- edit->show();
-
-}
-
-void OpieUIDemo::demoOSelector()
-{
- odebug << "oselector" << oendl;
-
- OHSSelector* sel = new OHSSelector( 0, "gradientselector" );
- //#sel->resize( QSize( 200, 30 ) );
- //#sel->setColors( QColor( 90, 190, 60 ), QColor( 200, 55, 255 ) );
- //#sel->setText( "Dark", "Light" );
-
- sel->show();
-}
-
-void OpieUIDemo::messageBox( const QString& text )
-{
- QString info;
- info = "You have selected '" + text + "'";
- QMessageBox::information( this, "OpieUIDemo", info );
-}
diff --git a/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.h b/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.h
deleted file mode 100644
index 382885f..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.h
+++ b/dev/null
@@ -1,60 +0,0 @@
-/**********************************************************************
-** Copyright (C) 2002 Michael 'Mickey' Lauer. All rights reserved.
-**
-** This file is part of Opie Environment.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-**********************************************************************/
-
-#ifndef OPIEUIDEMO_H
-#define OPIEUIDEMO_H
-
-#include <qmainwindow.h>
-
-namespace Opie {
-namespace Ui {
-class OVersatileView;
-}
-}
-class QTabWidget;
-class QVBox;
-
-class OpieUIDemo : public QMainWindow {
- Q_OBJECT
-
-public:
-
- OpieUIDemo( QWidget* parent = 0, const char* name = 0, WFlags fl = WType_TopLevel );
- ~OpieUIDemo();
-
- void demoOCompletionBox();
- void demoOLineEdit();
- void demoOComboBox();
- void demoOEditListBox();
- void demoOSelector();
-
-public slots:
- void demo( int );
- void messageBox( const QString& text );
-
-protected:
- void build();
- void buildVV( QVBox* b );
-
-private:
- QTabWidget* main;
-
- Opie::Ui::OVersatileView* vv;
-
-};
-
-
-
-#endif
diff --git a/libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.cpp b/libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.cpp
deleted file mode 100644
index e8bbdb1..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.cpp
+++ b/dev/null
@@ -1,160 +0,0 @@
-/*
-                 This file is part of the Opie Project
-
-              Copyright (C) 2003 Michael 'Mickey' Lauer
- <mickey@tm.informatik.uni-frankfurt.de>
- =.
- .=l.
-           .>+-=
- _;:,     .>    :=|. This program is free software; you can
-.> <`_,   >  .   <= redistribute it and/or modify it under
-:`=1 )Y*s>-.--   : the terms of the GNU Library General Public
-.="- .-=="i,     .._ License as published by the Free Software
- - .   .-<_>     .<> Foundation; either version 2 of the License,
-     ._= =}       : or (at your option) any later version.
-    .%`+i>       _;_.
-    .i_,=:_.      -<s. This program is distributed in the hope that
-     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
-    : ..    .:,     . . . without even the implied warranty of
-    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
-  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
-..}^=.=       =       ; Library General Public License for more
-++=   -.     .`     .: details.
- :     =  ...= . :.=-
- -.   .:....=;==+<; You should have received a copy of the GNU
-  -_. . .   )=.  = Library General Public License along with
-    --        :-=` this library; see the file COPYING.LIB.
- If not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
-
-*/
-
-#include "oversatileviewdemo.h"
-#include <opie2/oversatileview.h>
-#include <opie2/oversatileviewitem.h>
-
-#include <qstring.h>
-#include <qpixmap.h>
-#include <qlistview.h>
-
-using namespace Opie::Ui;
-
-OVersatileViewDemo::OVersatileViewDemo( QWidget* parent, const char* name, WFlags f )
- :QVBox( parent, name, f )
-{
- vv = new OVersatileView( this );
-
- vv->addColumn( "First" );
- vv->addColumn( "2nd" );
- vv->addColumn( "IIIrd" );
-
- QString counter;
-
- QPixmap leaf( "leaf.png" );
- QPixmap opened( "folder_opened.png" );
- QPixmap closed( "folder_closed.png" );
-
- QPixmap leaf32( "leaf32.png" );
- QPixmap opened32( "folder_opened32.png" );
- QPixmap closed32( "folder_closed32.png" );
-
- vv->setDefaultPixmaps( OVersatileView::Tree, leaf, opened, closed );
- vv->setDefaultPixmaps( OVersatileView::Icons, leaf32, opened32, closed32 );
-
- OVersatileViewItem* item;
- OVersatileViewItem* item2;
-
- for ( int i = 0; i < 5; ++i )
- {
- counter.sprintf( "%d", i );
- item = new OVersatileViewItem( vv, "Item", "Text", "Some more", counter );
- item->setRenameEnabled( true );
- item2 = new OVersatileViewItem( item, "OSubitem", "123", "...", counter );
- item2->setRenameEnabled( true );
-
- }
-
- connect( vv, SIGNAL( selectionChanged() ), this, SLOT( selectionChanged() ) );
- connect( vv, SIGNAL( selectionChanged(OVersatileViewItem*) ), this, SLOT( selectionChanged(OVersatileViewItem*) ) );
- connect( vv, SIGNAL( currentChanged(OVersatileViewItem*) ), this, SLOT( currentChanged(OVersatileViewItem*) ) );
- connect( vv, SIGNAL( clicked(OVersatileViewItem*) ), this, SLOT( clicked(OVersatileViewItem*) ) );
- connect( vv, SIGNAL( pressed(OVersatileViewItem*) ), this, SLOT( pressed(OVersatileViewItem*) ) );
-
- connect( vv, SIGNAL( doubleClicked(OVersatileViewItem*) ), this, SLOT( doubleClicked(OVersatileViewItem*) ) );
- connect( vv, SIGNAL( returnPressed(OVersatileViewItem*) ), this, SLOT( returnPressed(OVersatileViewItem*) ) );
-
- connect( vv, SIGNAL( onItem(OVersatileViewItem*) ), this, SLOT( onItem(OVersatileViewItem*) ) );
- connect( vv, SIGNAL( onViewport() ), this, SLOT( onViewport() ) );
-
- connect( vv, SIGNAL( expanded(OVersatileViewItem*) ), this, SLOT( expanded(OVersatileViewItem*) ) );
- connect( vv, SIGNAL( collapsed(OVersatileViewItem*) ), this, SLOT( collapsed(OVersatileViewItem*) ) );
-
- connect( vv, SIGNAL( moved() ), this, SLOT( moved() ) );
-
- connect( vv, SIGNAL( contextMenuRequested(OVersatileViewItem*,const QPoint&,int) ), this, SLOT( contextMenuRequested(OVersatileViewItem*,const QPoint&,int) ) );
-
-}
-
-OVersatileViewDemo::~OVersatileViewDemo()
-{
-}
-
-void OVersatileViewDemo::selectionChanged()
-{
- odebug << "received signal selectionChanged()" << oendl;
-}
-void OVersatileViewDemo::selectionChanged( OVersatileViewItem * item )
-{
- odebug << "received signal selectionChanged(OVersatileViewItem*)" << oendl;
-}
-void OVersatileViewDemo::currentChanged( OVersatileViewItem * item )
-{
- odebug << "received signal currentChanged( OVersatileViewItem * )" << oendl;
-}
-void OVersatileViewDemo::clicked( OVersatileViewItem * item )
-{
- odebug << "received signal clicked( OVersatileViewItem * )" << oendl;
-}
-void OVersatileViewDemo::pressed( OVersatileViewItem * item )
-{
- odebug << "received signal pressed( OVersatileViewItem * )" << oendl;
-}
-
-void OVersatileViewDemo::doubleClicked( OVersatileViewItem *item )
-{
- odebug << "received signal doubleClicked( OVersatileViewItem *item )" << oendl;
-}
-void OVersatileViewDemo::returnPressed( OVersatileViewItem *item )
-{
- odebug << "received signal returnPressed( OVersatileViewItem *item )" << oendl;
-}
-
-void OVersatileViewDemo::onItem( OVersatileViewItem *item )
-{
- odebug << "received signal onItem( OVersatileViewItem *item )" << oendl;
-}
-void OVersatileViewDemo::onViewport()
-{
- odebug << "received signal onViewport()" << oendl;
-}
-
-void OVersatileViewDemo::expanded( OVersatileViewItem *item )
-{
- odebug << "received signal expanded( OVersatileViewItem *item )" << oendl;
-}
-
-void OVersatileViewDemo::collapsed( OVersatileViewItem *item )
-{
- odebug << "received signal collapsed( OVersatileViewItem *item )" << oendl;
-}
-
-void OVersatileViewDemo::moved()
-{
- odebug << "received signal moved( OVersatileViewItem *item )" << oendl;
-}
-
-void OVersatileViewDemo::contextMenuRequested( OVersatileViewItem *item, const QPoint& pos, int col )
-{
- odebug << "received signal contextMenuRequested( OVersatileViewItem *item )" << oendl;
-}
diff --git a/libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.h b/libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.h
deleted file mode 100644
index 35e2c3c..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.h
+++ b/dev/null
@@ -1,77 +0,0 @@
-/*
-                 This file is part of the Opie Project
-
-              Copyright (C) 2003 Michael 'Mickey' Lauer <mickey@tm.informatik.uni-frankfurt.de>
- =.
- .=l.
-           .>+-=
- _;:,     .>    :=|. This program is free software; you can
-.> <`_,   >  .   <= redistribute it and/or modify it under
-:`=1 )Y*s>-.--   : the terms of the GNU Library General Public
-.="- .-=="i,     .._ License as published by the Free Software
- - .   .-<_>     .<> Foundation; either version 2 of the License,
-     ._= =}       : or (at your option) any later version.
-    .%`+i>       _;_.
-    .i_,=:_.      -<s. This program is distributed in the hope that
-     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
-    : ..    .:,     . . . without even the implied warranty of
-    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
-  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
-..}^=.=       =       ; Library General Public License for more
-++=   -.     .`     .: details.
- :     =  ...= . :.=-
- -.   .:....=;==+<; You should have received a copy of the GNU
-  -_. . .   )=.  = Library General Public License along with
-    --        :-=` this library; see the file COPYING.LIB.
- If not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
-
-*/
-
-#ifndef OVERSATILEVIEWDEMO_H
-#define OVERSATILEVIEWDEMO_H
-
-#include <qvbox.h>
-
-namespace Opie {
-namespace Ui {
-class OVersatileView;
-class OVersatileViewItem;
-}
-}
-
-class OVersatileViewDemo: public QVBox
-{
- Q_OBJECT
-
- public:
- OVersatileViewDemo( QWidget* parent=0, const char* name=0, WFlags f=0 );
- virtual ~OVersatileViewDemo();
-
- public slots:
- void selectionChanged();
- void selectionChanged( Opie::Ui::OVersatileViewItem * );
- void currentChanged( Opie::Ui::OVersatileViewItem * );
- void clicked( Opie::Ui::OVersatileViewItem * );
- void pressed( OPie::Ui::OVersatileViewItem * );
-
- void doubleClicked( Opie::Ui::OVersatileViewItem *item );
- void returnPressed( Opie::Ui::OVersatileViewItem *item );
-
- void onItem( Opie::Ui::OVersatileViewItem *item );
- void onViewport();
-
- void expanded( Opie::Ui::OVersatileViewItem *item );
- void collapsed( Opie::Ui::OVersatileViewItem *item );
-
- void moved();
-
- void contextMenuRequested( Opie::Ui::OVersatileViewItem *item, const QPoint&, int col );
-
- private:
- Opie::Ui::OVersatileView* vv;
-
-};
-
-#endif
diff --git a/libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.pro b/libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.pro
deleted file mode 100644
index ff78095..0000000
--- a/libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.pro
+++ b/dev/null
@@ -1,17 +0,0 @@
-TEMPLATE = app
-CONFIG = qt warn_on
-HEADERS = opieuidemo.h \
- oversatileviewdemo.h
-SOURCES = opieuidemo.cpp \
- oversatileviewdemo.cpp \
- main.cpp
-INCLUDEPATH += $(OPIEDIR)/include
-DEPENDPATH += $(OPIEDIR)/include
-LIBS += -lopieui2 -lopiecore2
-TARGET = opieuidemo
-MOC_DIR = moc
-OBJECTS_DIR = obj
-
-include( $(OPIEDIR)/include.pro )
-
-