From 90825e2392b2d70e43c7a25b8a3752299a933894 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdejava/koala/org/kde/koala/DefaultProgress.java | 109 +++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 kdejava/koala/org/kde/koala/DefaultProgress.java (limited to 'kdejava/koala/org/kde/koala/DefaultProgress.java') diff --git a/kdejava/koala/org/kde/koala/DefaultProgress.java b/kdejava/koala/org/kde/koala/DefaultProgress.java new file mode 100644 index 00000000..1cd00645 --- /dev/null +++ b/kdejava/koala/org/kde/koala/DefaultProgress.java @@ -0,0 +1,109 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.QMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.QWidget; + +/** + + +*/ +public class DefaultProgress extends ProgressBase { + protected DefaultProgress(Class dummy){super((Class) null);} + public native QMetaObject metaObject(); + public native String className(); + /** + Creates a new default progress dialog. + @param showNow true to show immediately, false to show when + needed + @short Creates a new default progress dialog. + */ + public DefaultProgress(boolean showNow) { + super((Class) null); + newDefaultProgress(showNow); + } + private native void newDefaultProgress(boolean showNow); + public DefaultProgress() { + super((Class) null); + newDefaultProgress(); + } + private native void newDefaultProgress(); + /** + Creates a new default progress dialog. + @param parent the parent of the dialog (or 0 for top-level) + @param the name of the dialog, can be 0 + @short Creates a new default progress dialog. + */ + public DefaultProgress(QWidget parent, String name) { + super((Class) null); + newDefaultProgress(parent,name); + } + private native void newDefaultProgress(QWidget parent, String name); + public DefaultProgress(QWidget parent) { + super((Class) null); + newDefaultProgress(parent); + } + private native void newDefaultProgress(QWidget parent); + public native boolean keepOpen(); + public native void slotTotalSize(Job arg1, long size); + public native void slotTotalFiles(Job arg1, long files); + public native void slotTotalDirs(Job arg1, long dirs); + public native void slotProcessedSize(Job arg1, long bytes); + public native void slotProcessedFiles(Job arg1, long files); + public native void slotProcessedDirs(Job arg1, long dirs); + public native void slotSpeed(Job arg1, long speed); + public native void slotPercent(Job arg1, long percent); + /** + Called to set an information message. + @param job the KIO.Job + @param msg the message to set + @short Called to set an information message. + */ + public native void slotInfoMessage(Job job, String msg); + public native void slotCopying(Job arg1, KURL src, KURL dest); + public native void slotMoving(Job arg1, KURL src, KURL dest); + public native void slotDeleting(Job arg1, KURL url); + /** + Called when the job is transferring. + @param job the KIO.Job + @param url the url to transfer + @short Called when the job is transferring. + */ + public native void slotTransferring(Job arg1, KURL url); + public native void slotCreatingDir(Job arg1, KURL dir); + /** + Called when the job is requesting a stat. + @param job the KIO.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 dev the device to mount + @param point the mount point + @short Called when the job is mounting. + */ + public native void slotMounting(Job arg1, String dev, String point); + /** + Called when the job is unmounting. + @param job the KIO.Job + @param point the mount point + @short Called when the job is unmounting. + */ + public native void slotUnmounting(Job arg1, String point); + public native void slotCanResume(Job arg1, long arg2); + /** + Called when the job is cleaned. + @short Called when the job is cleaned. + */ + public native void slotClean(); + public static native String makePercentString(long percent, long totalSize, long totalFiles); + protected native void init(); + protected native void showTotals(); + protected native void setDestVisible(boolean visible); + protected native void checkDestination(KURL dest); +} -- cgit v1.2.3