summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/showimg/ImageIconProvider.java
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/examples/showimg/ImageIconProvider.java
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
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 ) {