summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/test/DirTest.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/test/DirTest.java
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
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;
}