summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/showimg/ImageIconProvider.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/examples/showimg/ImageIconProvider.java')
-rw-r--r--qtjava/javalib/examples/showimg/ImageIconProvider.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/qtjava/javalib/examples/showimg/ImageIconProvider.java b/qtjava/javalib/examples/showimg/ImageIconProvider.java
index 5d3dba76..0a73a6b7 100644
--- a/qtjava/javalib/examples/showimg/ImageIconProvider.java
+++ b/qtjava/javalib/examples/showimg/ImageIconProvider.java
@@ -12,10 +12,10 @@ import org.kde.qt.*;
import java.util.ArrayList;
-class ImageIconProvider extends QFileIconProvider
+class ImageIconProvider extends TQFileIconProvider
{
ArrayList fmts;
- QPixmap imagepm;
+ TQPixmap imagepm;
@@ -53,15 +53,15 @@ ImageIconProvider( )
this(null, null);
}
-ImageIconProvider( QWidget parent, String name )
+ImageIconProvider( TQWidget parent, String name )
{
super( parent, name );
- imagepm = new QPixmap(image_xpm);
- fmts = QImage.inputFormats();
+ imagepm = new TQPixmap(image_xpm);
+ fmts = TQImage.inputFormats();
}
-public QPixmap pixmap( QFileInfo fi )
+public TQPixmap pixmap( TQFileInfo fi )
{
String ext = fi.extension().toUpperCase();
if ( fmts.indexOf(ext) != -1 ) {