summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/README9
-rw-r--r--examples/canvas/canvas.cpp8
-rw-r--r--examples/mdi/application.cpp3
-rw-r--r--examples/splitter/splitter.cpp4
4 files changed, 0 insertions, 24 deletions
diff --git a/examples/README b/examples/README
index 5d2715e0e..20171dbce 100644
--- a/examples/README
+++ b/examples/README
@@ -78,9 +78,6 @@ desktop
and also demonstrates how one can treat the desktop as a widget
like any other.
-directpainter [Qt/Embedded-specific]
- Shows the use of QDirectPainter.
-
dirview
This example program demonstrates how to use a QListView and
QListViewItems to build a multi-column hierarchical, memory- and
@@ -161,12 +158,6 @@ iconview
of icon items. It supports Drag'n'Drop and different selection
modes using TQIconView.
-kiosk [Qt/Embedded-specific]
- An MPEG player.
-
-launcher [Qt/Embedded-specific]
- A program launcher.
-
layout [obsolete]
This example shows simple and intermediate use of Qt's layout
classes, QGridLaout, QBoxLayout etc.
diff --git a/examples/canvas/canvas.cpp b/examples/canvas/canvas.cpp
index 3222c8a45..49a18db41 100644
--- a/examples/canvas/canvas.cpp
+++ b/examples/canvas/canvas.cpp
@@ -55,21 +55,13 @@ ImageItem::ImageItem( TQImage img, TQCanvas *canvas )
{
setSize( image.width(), image.height() );
-#if !defined(TQ_WS_QWS)
pixmap.convertFromImage(image, OrderedAlphaDither);
-#endif
}
void ImageItem::drawShape( TQPainter &p )
{
-// On TQt/Embedded, we can paint a TQImage as fast as a TQPixmap,
-// but on other platforms, we need to use a TQPixmap.
-#if defined(TQ_WS_QWS)
- p.drawImage( int(x()), int(y()), image, 0, 0, -1, -1, OrderedAlphaDither );
-#else
p.drawPixmap( int(x()), int(y()), pixmap );
-#endif
}
bool ImageItem::hit( const TQPoint &p ) const
diff --git a/examples/mdi/application.cpp b/examples/mdi/application.cpp
index b7bb67cc6..adf6604c7 100644
--- a/examples/mdi/application.cpp
+++ b/examples/mdi/application.cpp
@@ -337,9 +337,6 @@ void MDIWindow::load( const TQString& fn )
medit->hide();
delete medit;
TQMovie * qm=new TQMovie(fn);
-#ifdef TQ_WS_QWS // temporary speed-test hack
- qm->setDisplayWidget(tmp);
-#endif
tmp->setBackgroundMode(TQWidget::NoBackground);
tmp->show();
mmovie=qm;
diff --git a/examples/splitter/splitter.cpp b/examples/splitter/splitter.cpp
index 7439800c8..fd9f539d8 100644
--- a/examples/splitter/splitter.cpp
+++ b/examples/splitter/splitter.cpp
@@ -83,10 +83,6 @@ int main( int argc, char ** argv )
t5->setMinimumSize( 80, 50 );
t5->setBackgroundColor( TQt::yellow );
-#ifdef TQ_WS_QWS
- // TQt/Embedded XOR drawing not yet implemented.
- s1->setOpaqueResize( TRUE );
-#endif
s2->setOpaqueResize( TRUE );
s3->setOpaqueResize( TRUE );