diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KBufferedIO.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KBufferedIO.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kdejava/koala/org/kde/koala/KBufferedIO.java b/kdejava/koala/org/kde/koala/KBufferedIO.java index a952a639..ce43f24d 100644 --- a/kdejava/koala/org/kde/koala/KBufferedIO.java +++ b/kdejava/koala/org/kde/koala/KBufferedIO.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -12,14 +12,14 @@ import org.kde.qt.QtSupport; Through the available methods, you can find out how many bytes are available for reading, how many are still unsent and you can peek at the buffered data. - This class was intentionally written to resemble QSocket, because + This class was intentionally written to resemble TQSocket, because KExtendedSocket is a subclass of this one. This is so that applications - written using QSocket's buffering characteristics will be more easily + written using TQSocket's buffering characteristics will be more easily ported to the more powerful KExtendedSocket class. KBufferedIO already provides a powerful internal buffering algorithm. However, this does not include the I/O itself, which must be implemented in derived classes. Thus, to implement a class that does some I/O, you must - override, in addition to the pure QIODevice methods, these two: + override, in addition to the pure TQIODevice methods, these two: <li> closeNow() @@ -49,14 +49,14 @@ public class KBufferedIO extends KAsyncIO { public static final int delayed = 0x20; public static final int closedNow = 0x40; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Closes the stream now, discarding the contents of the write buffer. That is, we won't try to flush that buffer before closing. If you want that buffer to be - flushed, you can call QIODevice.flush(), which is blocking, and - then closeNow, or you can call QIODevice.close() for a delayed + flushed, you can call TQIODevice.flush(), which is blocking, and + then closeNow, or you can call TQIODevice.close() for a delayed close. @short Closes the stream now, discarding the contents of the write buffer. */ |