diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /kdejava/koala/org/kde/koala/KProgress.java | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'kdejava/koala/org/kde/koala/KProgress.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KProgress.java | 134 |
1 files changed, 0 insertions, 134 deletions
diff --git a/kdejava/koala/org/kde/koala/KProgress.java b/kdejava/koala/org/kde/koala/KProgress.java deleted file mode 100644 index 1bfc338f..00000000 --- a/kdejava/koala/org/kde/koala/KProgress.java +++ /dev/null @@ -1,134 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQProgressBar; - -/** - - KProgress is derived from TQProgressBar, so - you can use all the methods from that class. The only real difference - is that a signal is emitted on changes to the value and you do not need - to subclass KProgress just to change the format of the indicator text. - <li><b>Details </b></li> - \image html kprogress.png "KDE Progress Widget" - See {@link KProgressSignals} for signals emitted by KProgress - @author Aaron Seigo - - @short A progress indicator widget. - -*/ -public class KProgress extends TQProgressBar { - protected KProgress(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a progress bar. - @short Construct a progress bar. - */ - public KProgress(TQWidget parent, String name, int f) { - super((Class) null); - newKProgress(parent,name,f); - } - private native void newKProgress(TQWidget parent, String name, int f); - public KProgress(TQWidget parent, String name) { - super((Class) null); - newKProgress(parent,name); - } - private native void newKProgress(TQWidget parent, String name); - public KProgress(TQWidget parent) { - super((Class) null); - newKProgress(parent); - } - private native void newKProgress(TQWidget parent); - public KProgress() { - super((Class) null); - newKProgress(); - } - private native void newKProgress(); - /** - Construct a progress bar with a total number of steps. - The totalSteps is the total number of steps that need to be completed for the operation which this progress - bar represents. For example, if the operation is to examine 50 files, this value would be 50. Before examining - the first file, call setProgress(0); call setProgress(50) after examining the last file. - @short Construct a progress bar with a total number of steps. - */ - public KProgress(int totalSteps, TQWidget parent, String name, int f) { - super((Class) null); - newKProgress(totalSteps,parent,name,f); - } - private native void newKProgress(int totalSteps, TQWidget parent, String name, int f); - public KProgress(int totalSteps, TQWidget parent, String name) { - super((Class) null); - newKProgress(totalSteps,parent,name); - } - private native void newKProgress(int totalSteps, TQWidget parent, String name); - public KProgress(int totalSteps, TQWidget parent) { - super((Class) null); - newKProgress(totalSteps,parent); - } - private native void newKProgress(int totalSteps, TQWidget parent); - public KProgress(int totalSteps) { - super((Class) null); - newKProgress(totalSteps); - } - private native void newKProgress(int totalSteps); - /** - If this is set to <code>true</code>, the progress text will be displayed. - @short If this is set to <code>true</code>, the progress text will be displayed. - */ - public native void setTextEnabled(boolean arg1); - /** - Returns <code>true</code> if progress text will be displayed, - <code>false</code> otherwise. - @short Returns <code>true</code> if progress text will be displayed, <code>false</code> otherwise. - @see #setFormat - */ - public native boolean textEnabled(); - /** - Retrieve the current format for printing status text. - @short Retrieve the current format for printing status text. - @see #setFormat - */ - public native String format(); - /** - Set the format of the text to use to display status. - The default format is "%p%" (which looks like "42%".) - Note: Setting the format to anything other then "%p%" will force centerIndicator to true, - since it's often impossible to layout a progressbar with a more general format with the - indicator string anywhere else. - @param format "%p" is replaced by percentage done, "%v" is replaced by actual - value, "%m" is replaced by the maximum value. - @short Set the format of the text to use to display status. - */ - public native void setFormat(String format); - /** - Set the current total number of steps in the action tat the progress bar - is representing. - @short Set the current total number of steps in the action tat the progress bar is representing. - */ - public native void setTotalSteps(int totalSteps); - /** - Set the current value of the progress bar to <code>progress.</code> - @short Set the current value of the progress bar to <code>progress.</code> - */ - public native void setProgress(int progress); - /** - Advance the progress bar by <code>offset.</code> - This method is - provided for convenience and is equivalent with - setProgress(progress()+offset). - @short Advance the progress bar by <code>offset.</code> - */ - public native void advance(int offset); - protected native boolean setIndicator(StringBuffer indicator, int progress, int totalSteps); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} |