summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/test/DirTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/test/DirTest.java')
-rw-r--r--qtjava/javalib/test/DirTest.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/qtjava/javalib/test/DirTest.java b/qtjava/javalib/test/DirTest.java
index 1a694ed0..9a00962a 100644
--- a/qtjava/javalib/test/DirTest.java
+++ b/qtjava/javalib/test/DirTest.java
@@ -1,13 +1,13 @@
-//import org.kde.qt.QApplication;
-//import org.kde.qt.QDir;
+//import org.kde.qt.TQApplication;
+//import org.kde.qt.TQDir;
import org.kde.qt.*;
public class DirTest {
public static void main(String[] args)
{
- QApplication myapp = new QApplication(args);
+ TQApplication myapp = new TQApplication(args);
- QDir mydir = new QDir("/tmp");
+ TQDir mydir = new TQDir("/tmp");
if ( mydir.match(new String [] {"*.bmp", "*.h"}, "foobar.bmp") ) {
System.out.println("foobar matches");
}
@@ -16,10 +16,10 @@ public class DirTest {
System.out.println("baz doesn't match");
}
- QFile myobj = new QFile();
+ TQFile myobj = new TQFile();
Object mytest;
System.out.println("myobj: " + myobj.toString());
- mytest = (QDir) Qt.dynamicCast("QDir", myobj);
+ mytest = (TQDir) Qt.dynamicCast("TQDir", myobj);
System.out.println("mytest: " + mytest.toString());
return;
}