summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KFilterDev.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KFilterDev.java')
-rw-r--r--kdejava/koala/org/kde/koala/KFilterDev.java46
1 files changed, 23 insertions, 23 deletions
diff --git a/kdejava/koala/org/kde/koala/KFilterDev.java b/kdejava/koala/org/kde/koala/KFilterDev.java
index a20c7244..beb1e1d8 100644
--- a/kdejava/koala/org/kde/koala/KFilterDev.java
+++ b/kdejava/koala/org/kde/koala/KFilterDev.java
@@ -3,9 +3,9 @@ package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
-import org.kde.qt.QIODevice;
-import org.kde.qt.QIODeviceInterface;
-import org.kde.qt.QIODevice;
+import org.kde.qt.TQIODevice;
+import org.kde.qt.TQIODeviceInterface;
+import org.kde.qt.TQIODevice;
/**
@@ -17,7 +17,7 @@ import org.kde.qt.QIODevice;
@short A class for reading and writing compressed data onto a device (e.
*/
-public class KFilterDev extends QIODevice {
+public class KFilterDev extends TQIODevice {
protected KFilterDev(Class dummy){super((Class) null);}
/**
Constructs a KFilterDev for a given filter (e.g. gzip, bzip2 etc.).
@@ -84,27 +84,27 @@ public class KFilterDev extends QIODevice {
if <code>mimetype</code> is empty. Pass "application/x-gzip" or "application/x-bzip2"
to force the corresponding decompression filter, if available.
Warning: application/x-bzip2 may not be available.
- In that case a QFile opened on the compressed data will be returned !
+ In that case a TQFile opened on the compressed data will be returned !
Use KFilterBase.findFilterByMimeType and code similar to what
deviceForFile is doing, to better control what's happening.
- The returned QIODevice has to be deleted after using.
+ The returned TQIODevice has to be deleted after using.
@param fileName the name of the file to filter
@param mimetype the mime type of the file to filter, or null if unknown
@param forceFilter if true, the function will either find a compression filter, or return 0.
- If false, it will always return a QIODevice. If no
- filter is available it will return a simple QFile.
+ If false, it will always return a TQIODevice. If no
+ filter is available it will return a simple TQFile.
This can be useful if the file is usable without a filter.
- @return if a filter has been found, the QIODevice for the filter. If the
+ @return if a filter has been found, the TQIODevice for the filter. If the
filter does not exist, the return value depends on <code>forceFilter.</code>
- The returned QIODevice has to be deleted after using.
+ The returned TQIODevice has to be deleted after using.
@short Creates an i/o device that is able to read from <code>fileName</code>, whether it's compressed or not.
*/
- public static native QIODeviceInterface deviceForFile(String fileName, String mimetype, boolean forceFilter);
- public static native QIODeviceInterface deviceForFile(String fileName, String mimetype);
- public static native QIODeviceInterface deviceForFile(String fileName);
+ public static native TQIODeviceInterface deviceForFile(String fileName, String mimetype, boolean forceFilter);
+ public static native TQIODeviceInterface deviceForFile(String fileName, String mimetype);
+ public static native TQIODeviceInterface deviceForFile(String fileName);
/**
- Creates an i/o device that is able to read from the QIODevice <code>inDevice</code>,
+ Creates an i/o device that is able to read from the TQIODevice <code>inDevice</code>,
whether the data is compressed or not. Available compression filters
(gzip/bzip2 etc.) will automatically be used.
The compression filter to be used is determined <code>mimetype</code> .
@@ -112,17 +112,17 @@ public class KFilterDev extends QIODevice {
to use the corresponding decompression filter.
Warning: application/x-bzip2 may not be available.
In that case 0 will be returned !
- The returned QIODevice has to be deleted after using.
+ The returned TQIODevice has to be deleted after using.
@param inDevice input device, becomes owned by this device! Automatically deleted!
@param mimetype the mime type for the filter
- @return a QIODevice that filters the original stream. Must be deleted after
+ @return a TQIODevice that filters the original stream. Must be deleted after
using
- @short Creates an i/o device that is able to read from the QIODevice <code>inDevice</code>, whether the data is compressed or not.
+ @short Creates an i/o device that is able to read from the TQIODevice <code>inDevice</code>, whether the data is compressed or not.
*/
- public static native QIODeviceInterface device(QIODeviceInterface inDevice, String mimetype);
+ public static native TQIODeviceInterface device(TQIODeviceInterface inDevice, String mimetype);
/**
- Creates an i/o device that is able to read from the QIODevice <code>inDevice</code>,
+ Creates an i/o device that is able to read from the TQIODevice <code>inDevice</code>,
whether the data is compressed or not. Available compression filters
(gzip/bzip2 etc.) will automatically be used.
The compression filter to be used is determined <code>mimetype</code> .
@@ -130,16 +130,16 @@ public class KFilterDev extends QIODevice {
to use the corresponding decompression filter.
Warning: application/x-bzip2 may not be available.
In that case 0 will be returned !
- The returned QIODevice has to be deleted after using.
+ The returned TQIODevice has to be deleted after using.
@param inDevice input device. Won't be deleted if <code>autoDeleteInDevice</code> = false
@param mimetype the mime type for the filter
@param autoDeleteInDevice if true, <code>inDevice</code> will be deleted automatically
- @return a QIODevice that filters the original stream. Must be deleted after
+ @return a TQIODevice that filters the original stream. Must be deleted after
using
- @short Creates an i/o device that is able to read from the QIODevice <code>inDevice</code>, whether the data is compressed or not.
+ @short Creates an i/o device that is able to read from the TQIODevice <code>inDevice</code>, whether the data is compressed or not.
*/
- public static native QIODeviceInterface device(QIODeviceInterface inDevice, String mimetype, boolean autoDeleteInDevice);
+ public static native TQIODeviceInterface device(TQIODeviceInterface inDevice, String mimetype, boolean autoDeleteInDevice);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */