diff --git a/kdejava/koala/org/kde/koala/BrowserExtensionSignals.java b/kdejava/koala/org/kde/koala/BrowserExtensionSignals.java
index 9a7f993d..590e664d 100644
--- a/kdejava/koala/org/kde/koala/BrowserExtensionSignals.java
+++ b/kdejava/koala/org/kde/koala/BrowserExtensionSignals.java
@@ -100,7 +100,7 @@ public interface BrowserExtensionSignals {
/**
Since the part emits the jobid in the started() signal,
progress information is automatically displayed.
- However, if you don't use a KIO.Job in the part,
+ However, if you don't use a TDEIO.Job in the part,
you can use loadingProgress() and speedProgress()
to display progress information.
@short Since the part emits the jobid in the started() signal, progress information is automatically displayed.
diff --git a/kdejava/koala/org/kde/koala/BrowserRun.java b/kdejava/koala/org/kde/koala/BrowserRun.java
index f08dc0b8..2cee4873 100644
--- a/kdejava/koala/org/kde/koala/BrowserRun.java
+++ b/kdejava/koala/org/kde/koala/BrowserRun.java
@@ -31,7 +31,7 @@ public class BrowserRun extends KRun {
@param url the URL we're probing
@param args URL args - includes data for a HTTP POST, etc.
@param part the part going to open this URL - can be null if not created yet
- @param window the mainwindow - passed to KIO.Job.setWindow()
+ @param window the mainwindow - passed to TDEIO.Job.setWindow()
@param removeReferrer if true, the "referrer" metadata from args
isn't passed on
@param trustedSource if false, a warning will be shown before launching an executable
Always pass false for trustedSource
, except for local directory views.
@@ -46,7 +46,7 @@ public class BrowserRun extends KRun {
@param url the URL we're probing
@param args URL args - includes data for a HTTP POST, etc.
@param part the part going to open this URL - can be null if not created yet
- @param window the mainwindow - passed to KIO.Job.setWindow()
+ @param window the mainwindow - passed to TDEIO.Job.setWindow()
@param removeReferrer if true, the "referrer" metadata from args
isn't passed on
@param trustedSource if false, a warning will be shown before launching an executable
@param hideErrorDialog if true, no dialog will be shown in case of errors.
diff --git a/kdejava/koala/org/kde/koala/CopyJob.java b/kdejava/koala/org/kde/koala/CopyJob.java
index 1b89d2da..5e142da5 100644
--- a/kdejava/koala/org/kde/koala/CopyJob.java
+++ b/kdejava/koala/org/kde/koala/CopyJob.java
@@ -9,8 +9,8 @@ import java.util.ArrayList;
/**
CopyJob is used to move, copy or symlink files and directories.
- Don't create the job directly, but use KIO.copy(),
- KIO.move(), KIO.link() and friends.
+ Don't create the job directly, but use TDEIO.copy(),
+ TDEIO.move(), TDEIO.link() and friends.
See {@link CopyJobSignals} for signals emitted by CopyJob
@short CopyJob is used to move, copy or symlink files and directories.
@see #copy
@@ -26,13 +26,13 @@ public class CopyJob extends Job {
public native TQMetaObject metaObject();
public native String className();
/**
- Do not create a CopyJob directly. Use KIO.copy(),
- KIO.move(), KIO.link() and friends instead.
+ Do not create a CopyJob directly. Use TDEIO.copy(),
+ TDEIO.move(), TDEIO.link() and friends instead.
@param src the list of source URLs
@param dest the destination URL
@param mode specifies whether the job should copy, move or link
- @param asMethod if true, behaves like KIO.copyAs(),
- KIO.moveAs() or KIO.linkAs()
+ @param asMethod if true, behaves like TDEIO.copyAs(),
+ TDEIO.moveAs() or TDEIO.linkAs()
@param showProgressInfo true to show progress information to the user
@short Do not create a CopyJob directly.
@see #copy
diff --git a/kdejava/koala/org/kde/koala/DavJob.java b/kdejava/koala/org/kde/koala/DavJob.java
index bf1f70b2..c1227fa1 100644
--- a/kdejava/koala/org/kde/koala/DavJob.java
+++ b/kdejava/koala/org/kde/koala/DavJob.java
@@ -23,9 +23,9 @@ public class DavJob extends TransferJob {
public native TQMetaObject metaObject();
public native String className();
/**
- Use KIO.davPropFind(), KIO.davPropPatch() and
- KIO.davSearch() to create a new DavJob.
- @short Use KIO.davPropFind(), KIO.davPropPatch() and KIO.davSearch() to create a new DavJob.
+ Use TDEIO.davPropFind(), TDEIO.davPropPatch() and
+ TDEIO.davSearch() to create a new DavJob.
+ @short Use TDEIO.davPropFind(), TDEIO.davPropPatch() and TDEIO.davSearch() to create a new DavJob.
*/
public DavJob(KURL url, int method, String request, boolean showProgressInfo) {
super((Class) null);
diff --git a/kdejava/koala/org/kde/koala/DefaultProgress.java b/kdejava/koala/org/kde/koala/DefaultProgress.java
index 7ca67791..69e48afc 100644
--- a/kdejava/koala/org/kde/koala/DefaultProgress.java
+++ b/kdejava/koala/org/kde/koala/DefaultProgress.java
@@ -57,7 +57,7 @@ public class DefaultProgress extends ProgressBase {
public native void slotPercent(Job arg1, long percent);
/**
Called to set an information message.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param msg the message to set
@short Called to set an information message.
*/
@@ -67,7 +67,7 @@ public class DefaultProgress extends ProgressBase {
public native void slotDeleting(Job arg1, KURL url);
/**
Called when the job is transferring.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param url the url to transfer
@short Called when the job is transferring.
*/
@@ -75,14 +75,14 @@ public class DefaultProgress extends ProgressBase {
public native void slotCreatingDir(Job arg1, KURL dir);
/**
Called when the job is requesting a stat.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param dir the dir to stat
@short Called when the job is requesting a stat.
*/
public native void slotStating(Job arg1, KURL dir);
/**
Called when the job is mounting.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param dev the device to mount
@param point the mount point
@short Called when the job is mounting.
@@ -90,7 +90,7 @@ public class DefaultProgress extends ProgressBase {
public native void slotMounting(Job arg1, String dev, String point);
/**
Called when the job is unmounting.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param point the mount point
@short Called when the job is unmounting.
*/
diff --git a/kdejava/koala/org/kde/koala/DeleteJob.java b/kdejava/koala/org/kde/koala/DeleteJob.java
index 80dc5232..5ccea98a 100644
--- a/kdejava/koala/org/kde/koala/DeleteJob.java
+++ b/kdejava/koala/org/kde/koala/DeleteJob.java
@@ -9,7 +9,7 @@ import java.util.ArrayList;
/**
A more complex Job to delete files and directories.
- Don't create the job directly, but use KIO.del() instead.
+ Don't create the job directly, but use TDEIO.del() instead.
See {@link DeleteJobSignals} for signals emitted by DeleteJob
@short A more complex Job to delete files and directories.
@see #del
@@ -20,7 +20,7 @@ public class DeleteJob extends Job {
public native TQMetaObject metaObject();
public native String className();
/**
- Do not create a DeleteJob directly. Use KIO.del()
+ Do not create a DeleteJob directly. Use TDEIO.del()
instead.
@param src the list of URLs to delete
@param shred true to shred (make sure that data is not recoverable)a
diff --git a/kdejava/koala/org/kde/koala/FileCopyJob.java b/kdejava/koala/org/kde/koala/FileCopyJob.java
index b96fc5f2..cc964c6c 100644
--- a/kdejava/koala/org/kde/koala/FileCopyJob.java
+++ b/kdejava/koala/org/kde/koala/FileCopyJob.java
@@ -18,8 +18,8 @@ public class FileCopyJob extends Job {
public native TQMetaObject metaObject();
public native String className();
/**
- Do not create a FileCopyJob directly. Use KIO.file_move()
- or KIO.file_copy() instead.
+ Do not create a FileCopyJob directly. Use TDEIO.file_move()
+ or TDEIO.file_copy() instead.
@param src the source URL
@param dest the destination URL
@param permissions the permissions of the resulting resource
diff --git a/kdejava/koala/org/kde/koala/Job.java b/kdejava/koala/org/kde/koala/Job.java
index 697570d5..c0b4a0c5 100644
--- a/kdejava/koala/org/kde/koala/Job.java
+++ b/kdejava/koala/org/kde/koala/Job.java
@@ -13,9 +13,9 @@ import org.kde.qt.TQObject;
The base class for all jobs.
For all jobs created in an application, the code looks like
- KIO.Job job = KIO.someoperation( some parameters ); - connect( job, SIGNAL("result( KIO.Job )"), - this, SLOT("slotResult( KIO.Job )") ); + TDEIO.Job job = TDEIO.someoperation( some parameters ); + connect( job, SIGNAL("result( TDEIO.Job )"), + this, SLOT("slotResult( TDEIO.Job )") );(other connects, specific to the job) And slotResult is usually at least: @@ -49,7 +49,7 @@ public class Job extends TQObject { Returns the error code, if there has been an error. Only call this method from the slot connected to result(). @return the error code for this job, 0 if no error. - Error codes are defined in KIO.Error. + Error codes are defined in TDEIO.Error. @short Returns the error code, if there has been an error. */ diff --git a/kdejava/koala/org/kde/koala/KCombiView.java b/kdejava/koala/org/kde/koala/KCombiView.java index 5157f371..81b0e318 100644 --- a/kdejava/koala/org/kde/koala/KCombiView.java +++ b/kdejava/koala/org/kde/koala/KCombiView.java @@ -205,7 +205,7 @@ public class KCombiView extends TQSplitter implements KFileViewInterface { /** An overloaded method that takes not a String, but a number as sort criterion. You can use this for file-sizes or dates/times for example. - If you use a time_t, you need to cast that to KIO.filesize_t because + If you use a time_t, you need to cast that to TDEIO.filesize_t because of ambiguity problems. @short An overloaded method that takes not a String, but a number as sort criterion. */ diff --git a/kdejava/koala/org/kde/koala/KDirOperator.java b/kdejava/koala/org/kde/koala/KDirOperator.java index 711ad491..c422056c 100644 --- a/kdejava/koala/org/kde/koala/KDirOperator.java +++ b/kdejava/koala/org/kde/koala/KDirOperator.java @@ -24,7 +24,7 @@ import org.kde.qt.TQWidget; show either a simple or detailed view and additionally a preview widget (see setPreviewWidget()). KImageFilePreview is one implementation of a preview widget, that displays previews for all supported filetypes - utilizing KIO.PreviewJob. + utilizing TDEIO.PreviewJob. Currently, those classes don't support Drag&Drop out of the box -- there you have to use your own view-classes. You can use some DnD-aware views from Bj�n Sahlstr�
items.
+ Starts and returns a TDEIO.DeleteJob to delete the given items.
@param items the list of items to be deleted
@param ask specifies whether a confirmation dialog should be shown
@param showProgress passed to the DeleteJob to show a progress dialog
- @short Starts and returns a KIO.DeleteJob to delete the given items.
+ @short Starts and returns a TDEIO.DeleteJob to delete the given items.
*/
public native DeleteJob del(ArrayList items, boolean ask, boolean showProgress);
public native DeleteJob del(ArrayList items, boolean ask);
public native DeleteJob del(ArrayList items);
/**
- Starts and returns a KIO.DeleteJob to delete the given items.
+ Starts and returns a TDEIO.DeleteJob to delete the given items.
@param items the list of items to be deleted
@param parent the parent widget used for the confirmation dialog
@param ask specifies whether a confirmation dialog should be shown
@param showProgress passed to the DeleteJob to show a progress dialog
- @short Starts and returns a KIO.DeleteJob to delete the given items.
+ @short Starts and returns a TDEIO.DeleteJob to delete the given items.
*/
public native DeleteJob del(ArrayList items, TQWidget parent, boolean ask, boolean showProgress);
public native DeleteJob del(ArrayList items, TQWidget parent, boolean ask);
@@ -596,12 +596,12 @@ public class KDirOperator extends TQWidget {
*/
public native void setDropOptions(int options);
/**
- Starts and returns a KIO.CopyJob to trash the given items.
+ Starts and returns a TDEIO.CopyJob to trash the given items.
@param items the list of items to be trashed
@param parent the parent widget used for the confirmation dialog
@param ask specifies whether a confirmation dialog should be shown
@param showProgress passed to the CopyJob to show a progress dialog
- @short Starts and returns a KIO.CopyJob to trash the given items.
+ @short Starts and returns a TDEIO.CopyJob to trash the given items.
*/
public native CopyJob trash(ArrayList items, TQWidget parent, boolean ask, boolean showProgress);
public native CopyJob trash(ArrayList items, TQWidget parent, boolean ask);
@@ -725,10 +725,10 @@ public class KDirOperator extends TQWidget {
*/
protected native void prepareCompletionObjects();
/**
- Checks if there support from KIO.PreviewJob for the currently
+ Checks if there support from TDEIO.PreviewJob for the currently
shown files, taking mimeFilter() and nameFilter() into account
Enables/disables the preview-action accordingly.
- @short Checks if there support from KIO.PreviewJob for the currently shown files, taking mimeFilter() and nameFilter() into account Enables/disables the preview-action accordingly.
+ @short Checks if there support from TDEIO.PreviewJob for the currently shown files, taking mimeFilter() and nameFilter() into account Enables/disables the preview-action accordingly.
*/
protected native boolean checkPreviewSupport();
/**
diff --git a/kdejava/koala/org/kde/koala/KFileDetailView.java b/kdejava/koala/org/kde/koala/KFileDetailView.java
index 1e955b35..3a07436c 100644
--- a/kdejava/koala/org/kde/koala/KFileDetailView.java
+++ b/kdejava/koala/org/kde/koala/KFileDetailView.java
@@ -215,7 +215,7 @@ public class KFileDetailView extends TDEListView implements KFileViewInterface {
/**
An overloaded method that takes not a String, but a number as sort
criterion. You can use this for file-sizes or dates/times for example.
- If you use a time_t, you need to cast that to KIO.filesize_t because
+ If you use a time_t, you need to cast that to TDEIO.filesize_t because
of ambiguity problems.
@short An overloaded method that takes not a String, but a number as sort criterion.
*/
diff --git a/kdejava/koala/org/kde/koala/KFileIconView.java b/kdejava/koala/org/kde/koala/KFileIconView.java
index 7ee7d476..c0737ed2 100644
--- a/kdejava/koala/org/kde/koala/KFileIconView.java
+++ b/kdejava/koala/org/kde/koala/KFileIconView.java
@@ -268,7 +268,7 @@ public class KFileIconView extends TDEIconView implements KFileViewInterface {
/**
An overloaded method that takes not a String, but a number as sort
criterion. You can use this for file-sizes or dates/times for example.
- If you use a time_t, you need to cast that to KIO.filesize_t because
+ If you use a time_t, you need to cast that to TDEIO.filesize_t because
of ambiguity problems.
@short An overloaded method that takes not a String, but a number as sort criterion.
*/
diff --git a/kdejava/koala/org/kde/koala/KFileItem.java b/kdejava/koala/org/kde/koala/KFileItem.java
index e31e4d72..5326f280 100644
--- a/kdejava/koala/org/kde/koala/KFileItem.java
+++ b/kdejava/koala/org/kde/koala/KFileItem.java
@@ -8,7 +8,7 @@ import org.kde.qt.TQPixmap;
/**
A KFileItem is a generic class to handle a file, local or remote.
- In particular, it makes it easier to handle the result of KIO.listDir
+ In particular, it makes it easier to handle the result of TDEIO.listDir
(UDSEntry isn't very friendly to use).
It includes many file attributes such as mimetype, icon, text, mode, link...
@short A KFileItem is a generic class to handle a file, local or remote.
@@ -28,7 +28,7 @@ public class KFileItem implements QtSupport {
/**
Creates an item representing a file, from a UDSEntry.
- This is the preferred constructor when using KIO.listDir().
+ This is the preferred constructor when using TDEIO.listDir().
@param _entry the KIO entry used to get the file, contains info about it
@param _url the file url
@param _determineMimeTypeOnDemand specifies if the mimetype of the given
diff --git a/kdejava/koala/org/kde/koala/KFilePreview.java b/kdejava/koala/org/kde/koala/KFilePreview.java
index fd05195f..17c74195 100644
--- a/kdejava/koala/org/kde/koala/KFilePreview.java
+++ b/kdejava/koala/org/kde/koala/KFilePreview.java
@@ -204,7 +204,7 @@ public class KFilePreview extends TQSplitter implements KFileViewInterface {
/**
An overloaded method that takes not a String, but a number as sort
criterion. You can use this for file-sizes or dates/times for example.
- If you use a time_t, you need to cast that to KIO.filesize_t because
+ If you use a time_t, you need to cast that to TDEIO.filesize_t because
of ambiguity problems.
@short An overloaded method that takes not a String, but a number as sort criterion.
*/
diff --git a/kdejava/koala/org/kde/koala/KFileView.java b/kdejava/koala/org/kde/koala/KFileView.java
index d88bec4a..52b444f7 100644
--- a/kdejava/koala/org/kde/koala/KFileView.java
+++ b/kdejava/koala/org/kde/koala/KFileView.java
@@ -299,7 +299,7 @@ public class KFileView implements QtSupport, KFileViewInterface {
/**
An overloaded method that takes not a String, but a number as sort
criterion. You can use this for file-sizes or dates/times for example.
- If you use a time_t, you need to cast that to KIO.filesize_t because
+ If you use a time_t, you need to cast that to TDEIO.filesize_t because
of ambiguity problems.
@short An overloaded method that takes not a String, but a number as sort criterion.
*/
diff --git a/kdejava/koala/org/kde/koala/KNotifyClient.java b/kdejava/koala/org/kde/koala/KNotifyClient.java
index 34fdbe86..60eff4eb 100644
--- a/kdejava/koala/org/kde/koala/KNotifyClient.java
+++ b/kdejava/koala/org/kde/koala/KNotifyClient.java
@@ -45,7 +45,7 @@ import org.kde.qt.QtSupport;
String tmpFile; - if( KIO.NetAccess.download( u, tmpFile, window ) ) + if( TDEIO.NetAccess.download( u, tmpFile, window ) ) { loadFile( tmpFile ); - KIO.NetAccess.removeTempFile( tmpFile ); + TDEIO.NetAccess.removeTempFile( tmpFile ); } else { - KMessageBox.error(this, KIO.NetAccess.lastErrorString() ); + KMessageBox.error(this, TDEIO.NetAccess.lastErrorString() ); }Of course, your user interface will still process exposure/repaint @@ -79,13 +79,13 @@ public class NetAccess extends TQObject { public static native boolean download(KURL src, StringBuffer target, TQWidget window); /** Removes the specified file if and only if it was created - by KIO.NetAccess as a temporary file for a former download. + by TDEIO.NetAccess as a temporary file for a former download. Note: This means that if you created your temporary with KTempFile, use KTempFile.unlink() or KTempFile.setAutoDelete() to have it removed. @param name Path to temporary file to remove. May not be empty. - @short Removes the specified file if and only if it was created by KIO.NetAccess as a temporary file for a former download. + @short Removes the specified file if and only if it was created by TDEIO.NetAccess as a temporary file for a former download. */ public static native void removeTempFile(String name); /** @@ -110,7 +110,7 @@ public class NetAccess extends TQObject { Alternative to upload for copying over the network. Overwrite is false, so this will fail if
target
exists.
This one takes two URLs and is a direct equivalent
- of KIO.file_copy (not KIO.copy!).
+ of TDEIO.file_copy (not TDEIO.copy!).
It will be renamed file_copy in KDE4, so better use file_copy.
@param src URL Referencing the file to upload.
@param target URL containing the final location of the file.
@@ -125,8 +125,8 @@ public class NetAccess extends TQObject {
*/
public static native boolean copy(KURL src, KURL target, TQWidget window);
/**
- Full-fledged equivalent of KIO.file_copy
- @short Full-fledged equivalent of KIO.file_copy
+ Full-fledged equivalent of TDEIO.file_copy
+ @short Full-fledged equivalent of TDEIO.file_copy
*/
public static native boolean file_copy(KURL src, KURL dest, int permissions, boolean overwrite, boolean resume, TQWidget window);
public static native boolean file_copy(KURL src, KURL dest, int permissions, boolean overwrite, boolean resume);
@@ -134,9 +134,9 @@ public class NetAccess extends TQObject {
public static native boolean file_copy(KURL src, KURL dest, int permissions);
public static native boolean file_copy(KURL src, KURL dest);
/**
- Full-fledged equivalent of KIO.file_move.
+ Full-fledged equivalent of TDEIO.file_move.
Moves or renames one file.
- @short Full-fledged equivalent of KIO.file_move.
+ @short Full-fledged equivalent of TDEIO.file_move.
*/
public static native boolean file_move(KURL src, KURL target, int permissions, boolean overwrite, boolean resume, TQWidget window);
public static native boolean file_move(KURL src, KURL target, int permissions, boolean overwrite, boolean resume);
@@ -147,7 +147,7 @@ public class NetAccess extends TQObject {
Alternative method for copying over the network.
Overwrite is false, so this will fail if target
exists.
This one takes two URLs and is a direct equivalent
- of KIO.copy!.
+ of TDEIO.copy!.
This means that it can copy files and directories alike
(it should have been named copy()).
@param src URL Referencing the file to upload.
@@ -170,16 +170,16 @@ public class NetAccess extends TQObject {
public static native boolean dircopy(ArrayList src, KURL target, TQWidget window);
public static native boolean dircopy(ArrayList src, KURL target);
/**
- Full-fledged equivalent of KIO.move.
+ Full-fledged equivalent of TDEIO.move.
Moves or renames one file or directory.
- @short Full-fledged equivalent of KIO.move.
+ @short Full-fledged equivalent of TDEIO.move.
*/
public static native boolean move(KURL src, KURL target, TQWidget window);
public static native boolean move(KURL src, KURL target);
/**
- Full-fledged equivalent of KIO.move.
+ Full-fledged equivalent of TDEIO.move.
Moves or renames a list of files or directories.
- @short Full-fledged equivalent of KIO.move.
+ @short Full-fledged equivalent of TDEIO.move.
*/
public static native boolean move(ArrayList src, KURL target, TQWidget window);
public static native boolean move(ArrayList src, KURL target);
@@ -188,7 +188,7 @@ public class NetAccess extends TQObject {
@param url the URL we are testing
@param source if true, we want to read from that URL.
If false, we want to write to it.
- IMPORTANT: see documentation for KIO.stat for more details about this.
+ IMPORTANT: see documentation for TDEIO.stat for more details about this.
@param window main window associated with this job. This is used to
automatically cache and discard authentication information
as needed. If NULL, authentication information will be
@@ -202,7 +202,7 @@ public class NetAccess extends TQObject {
public static native boolean exists(KURL url, boolean source, TQWidget window);
/**
Tests whether a URL exists and return information on it.
- This is a convenience function for KIO.stat
+ This is a convenience function for TDEIO.stat
(it saves creating a slot and testing for the job result).
@param url The URL we are testing.
@param entry The result of the stat. Iterate over the list
@@ -219,7 +219,7 @@ public class NetAccess extends TQObject {
// bool stat(const KURL& arg1,TDEIO::UDSEntry& arg2,TQWidget* arg3); >>>> NOT CONVERTED
/**
Tries to map a local URL for the given URL.
- This is a convenience function for KIO.stat + parsing the
+ This is a convenience function for TDEIO.stat + parsing the
resulting UDSEntry.
@param url The URL we are testing.
@param window main window associated with this job. This is used to
@@ -235,7 +235,7 @@ public class NetAccess extends TQObject {
public static native KURL mostLocalURL(KURL url, TQWidget window);
/**
Deletes a file or a directory in a synchronous way.
- This is a convenience function for KIO.del
+ This is a convenience function for TDEIO.del
(it saves creating a slot and testing for the job result).
@param url The file or directory to delete.
@param window main window associated with this job. This is used to
@@ -290,7 +290,7 @@ public class NetAccess extends TQObject {
If a job fetches some data, pass a byte[] pointer as data parameter to this function
and after the function returns it will contain all the data fetched by this job.
- KIO.Job job = KIO.get( url, false, false );
+ TDEIO.Job job = TDEIO.get( url, false, false );
TQMap metaData;
metaData.insert( "PropagateHttpHeader", "true" );
if ( NetAccess.synchronousRun( job, 0, &data, &url, &metaData ) ) {
@@ -324,7 +324,7 @@ public class NetAccess extends TQObject {
This function is not implemented!?
(only mimetypeInternal)
Determines the mimetype of a given URL.
- This is a convenience function for KIO.mimetype. You
+ This is a convenience function for TDEIO.mimetype. You
should call this only when really necessary.
KMimeType.findByURL can determine extension a lot faster, but
less reliably for remote files. Only when findByURL() returns
diff --git a/kdejava/koala/org/kde/koala/Observer.java b/kdejava/koala/org/kde/koala/Observer.java
index 951008c7..3d14e798 100644
--- a/kdejava/koala/org/kde/koala/Observer.java
+++ b/kdejava/koala/org/kde/koala/Observer.java
@@ -10,17 +10,17 @@ import org.kde.qt.TQObject;
/**
- Observer for KIO.Job progress information.
+ Observer for TDEIO.Job progress information.
This class, of which there is always only one instance,
"observes" what jobs do and forwards this information
to the progress-info server.
It is a DCOP object so that the UI server can call the
kill method when the user presses Cancel.
Usually jobs are automatically registered by the
- KIO.Scheduler, so you do not have to care about that.
+ TDEIO.Scheduler, so you do not have to care about that.
@author David Faure
- @short Observer for KIO.Job progress information.
+ @short Observer for TDEIO.Job progress information.
*/
public class Observer extends TQObject implements DCOPObjectInterface {
@@ -106,7 +106,7 @@ public class Observer extends TQObject implements DCOPObjectInterface {
*/
public static native Observer self();
/**
- Popup a message box. See KIO.SlaveBase.
+ Popup a message box. See TDEIO.SlaveBase.
This doesn't use DCOP anymore, it shows the dialog in the application's process.
Otherwise, other apps would block when trying to communicate with UIServer.
@param progressId the progress ID of the job, as returned by newJob()
@@ -119,7 +119,7 @@ public class Observer extends TQObject implements DCOPObjectInterface {
*/
public static native int messageBox(int progressId, int type, String text, String caption, String buttonYes, String buttonNo);
/**
- Popup a message box. See KIO.SlaveBase.
+ Popup a message box. See TDEIO.SlaveBase.
This doesn't use DCOP anymore, it shows the dialog in the application's process.
Otherwise, other apps would block when trying to communicate with UIServer.
@param progressId the progress ID of the job, as returned by newJob()
diff --git a/kdejava/koala/org/kde/koala/ProgressBase.java b/kdejava/koala/org/kde/koala/ProgressBase.java
index 476c2287..c661280c 100644
--- a/kdejava/koala/org/kde/koala/ProgressBase.java
+++ b/kdejava/koala/org/kde/koala/ProgressBase.java
@@ -21,7 +21,7 @@ import org.kde.qt.TQWidget;
Custom progress dialog will be used like this :
// create job
- CopyJob job = KIO.copy(...);
+ CopyJob job = TDEIO.copy(...);
// create a dialog
MyCustomProgress customProgress;
customProgress = new MyCustomProgress();
@@ -52,33 +52,33 @@ public class ProgressBase extends TQWidget {
}
private native void newProgressBase(TQWidget parent);
/**
- Assign a KIO.Job to this progress dialog.
+ Assign a TDEIO.Job to this progress dialog.
@param job the job to assign
- @short Assign a KIO.Job to this progress dialog.
+ @short Assign a TDEIO.Job to this progress dialog.
*/
public native void setJob(Job job);
/**
- Assign a KIO.Job to this progress dialog.
+ Assign a TDEIO.Job to this progress dialog.
@param job the job to assign
- @short Assign a KIO.Job to this progress dialog.
+ @short Assign a TDEIO.Job to this progress dialog.
*/
public native void setJob(CopyJob job);
/**
- Assign a KIO.Job to this progress dialog.
+ Assign a TDEIO.Job to this progress dialog.
@param job the job to assign
- @short Assign a KIO.Job to this progress dialog.
+ @short Assign a TDEIO.Job to this progress dialog.
*/
public native void setJob(DeleteJob job);
public native void setStopOnClose(boolean stopOnClose);
public native boolean stopOnClose();
/**
This controls whether the dialog should be deleted or only cleaned when
- the KIO.Job is finished (or canceled).
+ the TDEIO.Job is finished (or canceled).
If your dialog is an embedded widget and not a separate window, you should
setOnlyClean(true) in the constructor of your custom dialog.
@param onlyClean If true the dialog will only call method slotClean.
If false the dialog will be deleted.
- @short This controls whether the dialog should be deleted or only cleaned when the KIO.Job is finished (or canceled).
+ @short This controls whether the dialog should be deleted or only cleaned when the TDEIO.Job is finished (or canceled).
@see #onlyClean
*/
public native void setOnlyClean(boolean onlyClean);
@@ -110,63 +110,63 @@ public class ProgressBase extends TQWidget {
public native void slotClean();
/**
Called to set the total size.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param size the total size in bytes
@short Called to set the total size.
*/
public native void slotTotalSize(Job job, long size);
/**
Called to set the total number of files.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param files the number of files
@short Called to set the total number of files.
*/
public native void slotTotalFiles(Job job, long files);
/**
Called to set the total number of directories.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param dirs the number of directories
@short Called to set the total number of directories.
*/
public native void slotTotalDirs(Job job, long dirs);
/**
Called to set the processed size.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param bytes the processed size in bytes
@short Called to set the processed size.
*/
public native void slotProcessedSize(Job job, long bytes);
/**
Called to set the number of processed files.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param files the number of files
@short Called to set the number of processed files.
*/
public native void slotProcessedFiles(Job job, long files);
/**
Called to set the number of processed directories.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param dirs the number of directories
@short Called to set the number of processed directories.
*/
public native void slotProcessedDirs(Job job, long dirs);
/**
Called to set the speed.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param speed the speed in bytes/second
@short Called to set the speed.
*/
public native void slotSpeed(Job job, long speed);
/**
Called to set the percentage.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param percent the percentage
@short Called to set the percentage.
*/
public native void slotPercent(Job job, long percent);
/**
Called when the job is copying.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param src the source of the operation
@param dest the destination of the operation
@short Called when the job is copying.
@@ -174,7 +174,7 @@ public class ProgressBase extends TQWidget {
public native void slotCopying(Job job, KURL src, KURL dest);
/**
Called when the job is moving.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param src the source of the operation
@param dest the destination of the operation
@short Called when the job is moving.
@@ -182,21 +182,21 @@ public class ProgressBase extends TQWidget {
public native void slotMoving(Job job, KURL src, KURL dest);
/**
Called when the job is deleting.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param url the URL to delete
@short Called when the job is deleting.
*/
public native void slotDeleting(Job job, KURL url);
/**
Called when the job is creating a directory.
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param dir the URL of the directory to create
@short Called when the job is creating a directory.
*/
public native void slotCreatingDir(Job job, KURL dir);
/**
Called when the job is resuming..
- @param job the KIO.Job
+ @param job the TDEIO.Job
@param from the position to resume from in bytes
@short Called when the job is resuming.
*/
diff --git a/kdejava/koala/org/kde/koala/ReadOnlyPartSignals.java b/kdejava/koala/org/kde/koala/ReadOnlyPartSignals.java
index 8c3c73cc..81276254 100644
--- a/kdejava/koala/org/kde/koala/ReadOnlyPartSignals.java
+++ b/kdejava/koala/org/kde/koala/ReadOnlyPartSignals.java
@@ -8,7 +8,7 @@ import org.kde.qt.TQObject;
public interface ReadOnlyPartSignals {
/**
The part emits this when starting data.
- If using a KIO.Job, it sets the job in the signal, so that
+ If using a TDEIO.Job, it sets the job in the signal, so that
progress information can be shown. Otherwise, job is 0.
@short The part emits this when starting data.
*/
diff --git a/kdejava/koala/org/kde/koala/Scheduler.java b/kdejava/koala/org/kde/koala/Scheduler.java
index 68094974..1493b2d0 100644
--- a/kdejava/koala/org/kde/koala/Scheduler.java
+++ b/kdejava/koala/org/kde/koala/Scheduler.java
@@ -11,17 +11,17 @@ import org.kde.qt.TQObject;
/**
- The KIO.Scheduler manages io-slaves for the application.
+ The TDEIO.Scheduler manages io-slaves for the application.
It also queues jobs and assigns the job to a slave when one
becomes available.
There are 3 possible ways for a job to get a slave:
1. Direct
This is the default. When you create a job the
- KIO.Scheduler will be notified and will find either an existing
+ TDEIO.Scheduler will be notified and will find either an existing
slave that is idle or it will create a new slave for the job.
Example:
- TransferJob job = KIO.get(KURL("http://www.kde.org"));
+ TransferJob job = TDEIO.get(KURL("http://www.kde.org"));
2. Scheduled
If you create a lot of jobs, you might want not want to have a
@@ -31,8 +31,8 @@ import org.kde.qt.TQObject;
a job from the queue.
Example:
- TransferJob job = KIO.get(KURL("http://www.kde.org"));
- KIO.Scheduler.scheduleJob(job);
+ TransferJob job = TDEIO.get(KURL("http://www.kde.org"));
+ TDEIO.Scheduler.scheduleJob(job);
3. Connection Oriented
For some operations it is important that multiple jobs use
@@ -44,28 +44,28 @@ import org.kde.qt.TQObject;
one after the other.
Example:
- Slave slave = KIO.Scheduler.getConnectedSlave(
+ Slave slave = TDEIO.Scheduler.getConnectedSlave(
KURL("pop3://bastian:password@mail.kde.org"));
- TransferJob job1 = KIO.get(
+ TransferJob job1 = TDEIO.get(
KURL("pop3://bastian:password@mail.kde.org/msg1"));
- KIO.Scheduler.assignJobToSlave(slave, job1);
- TransferJob job2 = KIO.get(
+ TDEIO.Scheduler.assignJobToSlave(slave, job1);
+ TransferJob job2 = TDEIO.get(
KURL("pop3://bastian:password@mail.kde.org/msg2"));
- KIO.Scheduler.assignJobToSlave(slave, job2);
- TransferJob job3 = KIO.get(
+ TDEIO.Scheduler.assignJobToSlave(slave, job2);
+ TransferJob job3 = TDEIO.get(
KURL("pop3://bastian:password@mail.kde.org/msg3"));
- KIO.Scheduler.assignJobToSlave(slave, job3);
+ TDEIO.Scheduler.assignJobToSlave(slave, job3);
// ... Wait for jobs to finish...
- KIO.Scheduler.disconnectSlave(slave);
+ TDEIO.Scheduler.disconnectSlave(slave);
Note that you need to explicitly disconnect the slave when the
connection goes down, so your error handler should contain:
- if (error == KIO.ERR_CONNECTION_BROKEN)
- KIO.Scheduler.disconnectSlave(slave);
+ if (error == TDEIO.ERR_CONNECTION_BROKEN)
+ TDEIO.Scheduler.disconnectSlave(slave);
See {@link SchedulerSignals} for signals emitted by Scheduler
- @short The KIO.Scheduler manages io-slaves for the application.
+ @short The TDEIO.Scheduler manages io-slaves for the application.
@see Slave
@see Job
@@ -155,7 +155,7 @@ public class Scheduler extends TQObject implements DCOPObjectInterface {
the that was started.
Register the mainwindow wid
with the KIO subsystem
Do not call this, it is called automatically from
- void KIO.Job.setWindow(TQWidget).
+ void TDEIO.Job.setWindow(TQWidget).
@param wid the window to register
@short Send the slave that was put on hold back to TDELauncher.
*/
diff --git a/kdejava/koala/org/kde/koala/Slave.java b/kdejava/koala/org/kde/koala/Slave.java
index f576294b..5d57bcab 100644
--- a/kdejava/koala/org/kde/koala/Slave.java
+++ b/kdejava/koala/org/kde/koala/Slave.java
@@ -6,11 +6,11 @@ import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
/**
- Attention developers: If you change the implementation of KIO.Slave,
- do not use connection() or slaveconn but the respective KIO.Slave
+ Attention developers: If you change the implementation of TDEIO.Slave,
+ do not use connection() or slaveconn but the respective TDEIO.Slave
accessor methods. Otherwise classes derived from Slave might break. (LS)
See {@link SlaveSignals} for signals emitted by Slave
- @short Attention developers: If you change the implementation of KIO.Slave, do not use connection() or slaveconn but the respective KIO.Slave accessor methods.
+ @short Attention developers: If you change the implementation of TDEIO.Slave, do not use connection() or slaveconn but the respective TDEIO.Slave accessor methods.
*/
public class Slave extends SlaveInterface {
diff --git a/kdejava/koala/org/kde/koala/SlaveBase.java b/kdejava/koala/org/kde/koala/SlaveBase.java
index 238b1641..1aa6c8cb 100644
--- a/kdejava/koala/org/kde/koala/SlaveBase.java
+++ b/kdejava/koala/org/kde/koala/SlaveBase.java
@@ -53,14 +53,14 @@ public class SlaveBase implements QtSupport {
/**
Call to signal an error.
This also finishes the job, no need to call finished.
- If the Error code is KIO.ERR_SLAVE_DEFINED then the
+ If the Error code is TDEIO.ERR_SLAVE_DEFINED then the
_text should contain the complete translated text of
of the error message. This message will be displayed
in an KTextBrowser which allows rich text complete
with hyper links. Email links will call the default
mailer, "exec:/command arg1 arg2" will be forked and
all other links will call the default browser.
- @param _errid the error code from KIO.Error
+ @param _errid the error code from TDEIO.Error
@param _text the rich text error message
@short Call to signal an error.
@see Error
@@ -495,7 +495,7 @@ public class SlaveBase implements QtSupport {
why a previous authorization attempt failed. Here is a very
simple example:
- KIO.AuthInfo authInfo;
+ TDEIO.AuthInfo authInfo;
if ( openPassDlg( authInfo ) )
{
kdDebug() << String.fromLatin1("User: ")
@@ -507,7 +507,7 @@ public class SlaveBase implements QtSupport {
You can also preset some values like the username, caption or
comment as follows:
- KIO.AuthInfo authInfo;
+ TDEIO.AuthInfo authInfo;
authInfo.caption= "Acme Password Dialog";
authInfo.username= "Wile E. Coyote";
String errorMsg = "You entered an incorrect password.";
diff --git a/kdejava/koala/org/kde/koala/SlaveInterface.java b/kdejava/koala/org/kde/koala/SlaveInterface.java
index 7c2d14a4..fe639fba 100644
--- a/kdejava/koala/org/kde/koala/SlaveInterface.java
+++ b/kdejava/koala/org/kde/koala/SlaveInterface.java
@@ -9,11 +9,11 @@ import org.kde.qt.TQObject;
/**
There are two classes that specifies the protocol between application
- (KIO.Job) and tdeioslave. SlaveInterface is the class to use on the application
+ (TDEIO.Job) and tdeioslave. SlaveInterface is the class to use on the application
end, SlaveBase is the one to use on the slave end.
A call to foo() results in a call to slotFoo() on the other end.
See {@link SlaveInterfaceSignals} for signals emitted by SlaveInterface
- @short There are two classes that specifies the protocol between application (KIO.Job) and tdeioslave.
+ @short There are two classes that specifies the protocol between application (TDEIO.Job) and tdeioslave.
*/
public class SlaveInterface extends TQObject {
diff --git a/kdejava/koala/org/kde/koala/StatJob.java b/kdejava/koala/org/kde/koala/StatJob.java
index f3706896..98223846 100644
--- a/kdejava/koala/org/kde/koala/StatJob.java
+++ b/kdejava/koala/org/kde/koala/StatJob.java
@@ -18,12 +18,12 @@ public class StatJob extends SimpleJob {
public native TQMetaObject metaObject();
public native String className();
/**
- Do not use this constructor to create a StatJob, use KIO.stat() instead.
+ Do not use this constructor to create a StatJob, use TDEIO.stat() instead.
@param url the url of the file or directory to check
@param command the command to issue
@param packedArgs the arguments
@param showProgressInfo true to show progress information to the user
- @short Do not use this constructor to create a StatJob, use KIO.stat() instead.
+ @short Do not use this constructor to create a StatJob, use TDEIO.stat() instead.
*/
public StatJob(KURL url, int command, byte[] packedArgs, boolean showProgressInfo) {
super((Class) null);
diff --git a/kdejava/koala/org/kde/koala/StatusbarProgress.java b/kdejava/koala/org/kde/koala/StatusbarProgress.java
index a7d44369..68076170 100644
--- a/kdejava/koala/org/kde/koala/StatusbarProgress.java
+++ b/kdejava/koala/org/kde/koala/StatusbarProgress.java
@@ -24,7 +24,7 @@ import org.kde.qt.TQWidget;
statusBar().insertWidget( statusProgress, statusProgress.width() , 0 );
...
// create job and connect it to the progress
- CopyJob job = KIO.copy(...);
+ CopyJob job = TDEIO.copy(...);
statusProgress.setJob( job );
...
diff --git a/kdejava/koala/org/kde/koala/StoredTransferJob.java b/kdejava/koala/org/kde/koala/StoredTransferJob.java
index 6a4248e6..c62500cf 100644
--- a/kdejava/koala/org/kde/koala/StoredTransferJob.java
+++ b/kdejava/koala/org/kde/koala/StoredTransferJob.java
@@ -10,13 +10,13 @@ import org.kde.qt.QtSupport;
StoredTransferJob is a TransferJob (for downloading or uploading data) that
also stores a byte[] with the data, making it simpler to use than the
standard TransferJob.
- For KIO.storedGet it puts the data into the member byte[], so the user
+ For TDEIO.storedGet it puts the data into the member byte[], so the user
of this class can get hold of the whole data at once by calling data()
when the result signal is emitted.
You should only use StoredTransferJob to download data if you cannot
process the data by chunks while it's being downloaded, since storing
everything in a byte[] can potentially require a lot of memory.
- For KIO.storedPut the user of this class simply provides the bytearray from
+ For TDEIO.storedPut the user of this class simply provides the bytearray from
the start, and the job takes care of uploading it.
You should only use StoredTransferJob to upload data if you cannot
provide the in chunks while it's being uploaded, since storing
@@ -45,7 +45,7 @@ public class StoredTransferJob extends TransferJob {
private native void newStoredTransferJob(KURL url, int command, byte[] packedArgs, byte[] _staticData, boolean showProgressInfo);
/**
Set data to be uploaded. This is for put jobs.
- Automatically called by KIO.storedPut(const byte[] &, ...),
+ Automatically called by TDEIO.storedPut(const byte[] &, ...),
do not call this yourself.
@short Set data to be uploaded.
*/
diff --git a/kdejava/koala/org/kde/koala/TDEGlobalSettings.java b/kdejava/koala/org/kde/koala/TDEGlobalSettings.java
index f7130aac..697a031a 100644
--- a/kdejava/koala/org/kde/koala/TDEGlobalSettings.java
+++ b/kdejava/koala/org/kde/koala/TDEGlobalSettings.java
@@ -184,7 +184,7 @@ public class TDEGlobalSettings implements QtSupport {
/**
DEPRECATED (starting from kde-3.4).
This isn't where the trash contents is, anymore.
- Use KIO.trash() to trash files, "trash:/" to list the trash contents.
+ Use TDEIO.trash() to trash files, "trash:/" to list the trash contents.
@short DEPRECATED (starting from kde-3.
*/
public static native String trashPath();
diff --git a/kdejava/koala/org/kde/koala/TDEHTMLPart.java b/kdejava/koala/org/kde/koala/TDEHTMLPart.java
index da363978..abcb40d9 100644
--- a/kdejava/koala/org/kde/koala/TDEHTMLPart.java
+++ b/kdejava/koala/org/kde/koala/TDEHTMLPart.java
@@ -923,7 +923,7 @@ public class TDEHTMLPart extends ReadOnlyPart {
protected native KURL completeURL(String url);
/**
presents a detailed error message to the user.
- errorCode
tdeio error code, eg KIO.ERR_SERVER_TIMEOUT.
+ errorCode
tdeio error code, eg TDEIO.ERR_SERVER_TIMEOUT.
text
tdeio additional information text.
url
the url that triggered the error.
@short presents a detailed error message to the user.
diff --git a/kdejava/koala/org/kde/koala/TDEIO.java b/kdejava/koala/org/kde/koala/TDEIO.java
index 58956636..69a17a95 100644
--- a/kdejava/koala/org/kde/koala/TDEIO.java
+++ b/kdejava/koala/org/kde/koala/TDEIO.java
@@ -75,8 +75,8 @@ public class KIO {
public static final int CMD_MULTI_GET = 'V';
/**
- Error codes that can be emitted by KIO.
- @short Error codes that can be emitted by KIO.
+ Error codes that can be emitted by TDEIO.
+ @short Error codes that can be emitted by TDEIO.
*/
public static final int ERR_CANNOT_OPEN_FOR_READING = 1;
public static final int ERR_CANNOT_OPEN_FOR_WRITING = 2;
@@ -347,11 +347,11 @@ public class KIO {
/**
Encodes (from the text displayed to the real filename)
This translates % into %% and / into %2f
- Used by KIO.link, for instance.
+ Used by TDEIO.link, for instance.
@param str the file name to encode
@return the encoded file name
- @short Encodes (from the text displayed to the real filename) This translates % into %% and / into %2f Used by KIO.link, for instance.
+ @short Encodes (from the text displayed to the real filename) This translates % into %% and / into %2f Used by TDEIO.link, for instance.
*/
public static native String encodeFileName(String str);
/**
@@ -632,7 +632,7 @@ public class KIO {
Create or move a symlink.
This is the lowlevel operation, similar to file_copy and file_move.
It doesn't do any check (other than those the slave does)
- and it doesn't show rename and skip dialogs - use KIO.link for that.
+ and it doesn't show rename and skip dialogs - use TDEIO.link for that.
@param target The string that will become the "target" of the link (can be relative)
@param dest The symlink to create.
@param overwrite whether to automatically overwrite if the dest exists
@@ -770,7 +770,7 @@ public class KIO {
HTTP POST (for form data).
Example:
- job = KIO.http_post( url, postData, false );
+ job = TDEIO.http_post( url, postData, false );
job.addMetaData("content-type", contentType );
job.addMetaData("referrer", referrerURL);
diff --git a/kdejava/koala/org/kde/koala/TransferJob.java b/kdejava/koala/org/kde/koala/TransferJob.java
index fa97727c..e6076eb7 100644
--- a/kdejava/koala/org/kde/koala/TransferJob.java
+++ b/kdejava/koala/org/kde/koala/TransferJob.java
@@ -20,7 +20,7 @@ public class TransferJob extends SimpleJob {
public native TQMetaObject metaObject();
public native String className();
/**
- Do not create a TransferJob. Use KIO.get() or KIO.put()
+ Do not create a TransferJob. Use TDEIO.get() or TDEIO.put()
instead.
@param url the url to get or put
@param command the command to issue
diff --git a/kdejava/koala/test/tdeioslave/KioslaveTest.java b/kdejava/koala/test/tdeioslave/KioslaveTest.java
index e4e88c8c..0176f9c2 100644
--- a/kdejava/koala/test/tdeioslave/KioslaveTest.java
+++ b/kdejava/koala/test/tdeioslave/KioslaveTest.java
@@ -303,56 +303,56 @@ void startJob() {
switch ( selectedOperation ) {
case List:
- myJob = KIO.listDir( src );
-// connect(myJob, SIGNAL(" entries( Job, const KIO.UDSEntryList&)"),
-// SLOT(" slotEntries( KIO.Job, const KIO.UDSEntryList&)"));
+ myJob = TDEIO.listDir( src );
+// connect(myJob, SIGNAL(" entries( Job, const TDEIO.UDSEntryList&)"),
+// SLOT(" slotEntries( TDEIO.Job, const TDEIO.UDSEntryList&)"));
break;
case ListRecursive:
- myJob = KIO.listRecursive( src );
-// connect(myJob, SIGNAL(" entries( KIO.Job, const KIO.UDSEntryList&)"),
- // SLOT(" slotEntries( KIO.Job, const KIO.UDSEntryList&)"));
+ myJob = TDEIO.listRecursive( src );
+// connect(myJob, SIGNAL(" entries( TDEIO.Job, const TDEIO.UDSEntryList&)"),
+ // SLOT(" slotEntries( TDEIO.Job, const TDEIO.UDSEntryList&)"));
break;
case Stat:
- myJob = KIO.stat( src );
+ myJob = TDEIO.stat( src );
break;
case Get:
- myJob = KIO.get( src, true );
+ myJob = TDEIO.get( src, true );
connect(myJob, SIGNAL("data( Job, byte[])"),
SLOT("slotData( Job, byte[])"));
break;
case Put:
putBuffer = 0;
- myJob = KIO.put( src, -1, true, false);
+ myJob = TDEIO.put( src, -1, true, false);
connect(myJob, SIGNAL("dataReq( Job, ByteArrayOutputStream)"),
SLOT("slotDataReq( Job, ByteArrayOutputStream)"));
break;
case Copy:
- job = KIO.copy( src, dest, observe );
+ job = TDEIO.copy( src, dest, observe );
break;
case Move:
- job = KIO.move( src, dest, observe );
+ job = TDEIO.move( src, dest, observe );
break;
case Delete:
- job = KIO.del( src, false, observe );
+ job = TDEIO.del( src, false, observe );
break;
case Shred:
- job = KIO.del(src, true, observe);
+ job = TDEIO.del(src, true, observe);
break;
case Mkdir:
- myJob = KIO.mkdir( src );
+ myJob = TDEIO.mkdir( src );
break;
case Mimetype:
- myJob = KIO.mimetype( src );
+ myJob = TDEIO.mimetype( src );
break;
}
if (myJob != null)
@@ -384,7 +384,7 @@ void slotResult(Job _job )
}
else if ( selectedOperation == Stat )
{
-// UDSEntry entry = ((KIO.StatJob)_job).statResult();
+// UDSEntry entry = ((TDEIO.StatJob)_job).statResult();
// printUDSEntry( entry );
}
else if ( selectedOperation == Mimetype )
@@ -412,36 +412,36 @@ void slotSlaveError()
/*
void UDSEntry & entry )
{
- KIO.UDSEntry.ConstIterator it = entry.begin();
+ TDEIO.UDSEntry.ConstIterator it = entry.begin();
for( ; it != entry.end(); it++ ) {
switch ((it).m_uds) {
- case KIO.UDS_FILE_TYPE:
+ case TDEIO.UDS_FILE_TYPE:
kdDebug() << "File Type : " << (mode_t)((it).m_long) << endl;
if ( S_ISDIR( (mode_t)((it).m_long) ) )
{
kdDebug() << "is a dir" << endl;
}
break;
- case KIO.UDS_ACCESS:
+ case TDEIO.UDS_ACCESS:
kdDebug() << "Access permissions : " << (mode_t)((it).m_long) << endl;
break;
- case KIO.UDS_USER:
+ case TDEIO.UDS_USER:
kdDebug() << "User : " << ((it).m_str.ascii() ) << endl;
break;
- case KIO.UDS_GROUP:
+ case TDEIO.UDS_GROUP:
kdDebug() << "Group : " << ((it).m_str.ascii() ) << endl;
break;
- case KIO.UDS_NAME:
+ case TDEIO.UDS_NAME:
kdDebug() << "Name : " << ((it).m_str.ascii() ) << endl;
//m_strText = decodeFileName( (it).m_str );
break;
- case KIO.UDS_URL:
+ case TDEIO.UDS_URL:
kdDebug() << "URL : " << ((it).m_str.ascii() ) << endl;
break;
- case KIO.UDS_MIME_TYPE:
+ case TDEIO.UDS_MIME_TYPE:
kdDebug() << "MimeType : " << ((it).m_str.ascii() ) << endl;
break;
- case KIO.UDS_LINK_DEST:
+ case TDEIO.UDS_LINK_DEST:
kdDebug() << "LinkDest : " << ((it).m_str.ascii() ) << endl;
break;
}
diff --git a/qtruby/ChangeLog b/qtruby/ChangeLog
index 1b276ab5..3c3f94bc 100644
--- a/qtruby/ChangeLog
+++ b/qtruby/ChangeLog
@@ -515,7 +515,7 @@
2005-01-20 Richard Dale
- * Fixed bug reported by Ian Monroe where the KIO.copy() method wasn't being found in
+ * Fixed bug reported by Ian Monroe where the TDEIO.copy() method wasn't being found in
the Smoke runtime. Modules methods are now trapped with method_missing and
despatched to call Smoke methods correctly
* Added support for the KDE::ConfigSkeleton and subclasses. Constructors for nested