summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KDirOperator.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KDirOperator.java')
-rw-r--r--kdejava/koala/org/kde/koala/KDirOperator.java48
1 files changed, 24 insertions, 24 deletions
diff --git a/kdejava/koala/org/kde/koala/KDirOperator.java b/kdejava/koala/org/kde/koala/KDirOperator.java
index 337ebec2..51adf411 100644
--- a/kdejava/koala/org/kde/koala/KDirOperator.java
+++ b/kdejava/koala/org/kde/koala/KDirOperator.java
@@ -2,14 +2,14 @@
package org.kde.koala;
import org.kde.qt.Qt;
-import org.kde.qt.QMetaObject;
+import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
-import org.kde.qt.QPoint;
+import org.kde.qt.TQPoint;
import java.util.ArrayList;
-import org.kde.qt.QDropEvent;
-import org.kde.qt.QWidget;
-import org.kde.qt.QResizeEvent;
-import org.kde.qt.QWidget;
+import org.kde.qt.TQDropEvent;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQResizeEvent;
+import org.kde.qt.TQWidget;
/**
@@ -55,7 +55,7 @@ import org.kde.qt.QWidget;
@short A widget for displaying files and browsing directories.
*/
-public class KDirOperator extends QWidget {
+public class KDirOperator extends TQWidget {
protected KDirOperator(Class dummy){super((Class) null);}
/**
The various action types. These values can be or'd together
@@ -67,7 +67,7 @@ public class KDirOperator extends QWidget {
public static final int FileActions = 8;
public static final int AllActions = 15;
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
/**
Constructs the KDirOperator with no initial view. As the views are
@@ -76,16 +76,16 @@ public class KDirOperator extends QWidget {
This constructor doesn't start loading the url, setView will do it.
@short Constructs the KDirOperator with no initial view.
*/
- public KDirOperator(KURL urlName, QWidget parent, String name) {
+ public KDirOperator(KURL urlName, TQWidget parent, String name) {
super((Class) null);
newKDirOperator(urlName,parent,name);
}
- private native void newKDirOperator(KURL urlName, QWidget parent, String name);
- public KDirOperator(KURL urlName, QWidget parent) {
+ private native void newKDirOperator(KURL urlName, TQWidget parent, String name);
+ public KDirOperator(KURL urlName, TQWidget parent) {
super((Class) null);
newKDirOperator(urlName,parent);
}
- private native void newKDirOperator(KURL urlName, QWidget parent);
+ private native void newKDirOperator(KURL urlName, TQWidget parent);
public KDirOperator(KURL urlName) {
super((Class) null);
newKDirOperator(urlName);
@@ -200,7 +200,7 @@ public class KDirOperator extends QWidget {
(KFileView itself is not a widget.)
@short Returns the widget of the current view.
*/
- public native QWidget viewWidget();
+ public native TQWidget viewWidget();
/**
Sets one of the predefined fileviews
@short Sets one of the predefined fileviews
@@ -276,7 +276,7 @@ public class KDirOperator extends QWidget {
delete it yourself!
@short Sets a preview-widget to be shown next to the file-view.
*/
- public native void setPreviewWidget(QWidget w);
+ public native void setPreviewWidget(TQWidget w);
/**
@return a list of all currently selected items. If there is no view,
then 0L is returned.
@@ -545,9 +545,9 @@ public class KDirOperator extends QWidget {
@param showProgress passed to the DeleteJob to show a progress dialog
@short Starts and returns a KIO.DeleteJob to delete the given <code>items.</code>
*/
- public native DeleteJob del(ArrayList items, QWidget parent, boolean ask, boolean showProgress);
- public native DeleteJob del(ArrayList items, QWidget parent, boolean ask);
- public native DeleteJob del(ArrayList items, QWidget parent);
+ public native DeleteJob del(ArrayList items, TQWidget parent, boolean ask, boolean showProgress);
+ public native DeleteJob del(ArrayList items, TQWidget parent, boolean ask);
+ public native DeleteJob del(ArrayList items, TQWidget parent);
/**
Clears the forward and backward history.
@short Clears the forward and backward history.
@@ -603,9 +603,9 @@ public class KDirOperator extends QWidget {
@param showProgress passed to the CopyJob to show a progress dialog
@short Starts and returns a KIO.CopyJob to trash the given <code>items.</code>
*/
- public native CopyJob trash(ArrayList items, QWidget parent, boolean ask, boolean showProgress);
- public native CopyJob trash(ArrayList items, QWidget parent, boolean ask);
- public native CopyJob trash(ArrayList items, QWidget parent);
+ public native CopyJob trash(ArrayList items, TQWidget parent, boolean ask, boolean showProgress);
+ public native CopyJob trash(ArrayList items, TQWidget parent, boolean ask);
+ public native CopyJob trash(ArrayList items, TQWidget parent);
/**
Goes one step back in the history and opens that url.
@short Goes one step back in the history and opens that url.
@@ -672,7 +672,7 @@ public class KDirOperator extends QWidget {
/**
A view factory for creating predefined fileviews. Called internally by setView
, but you can also call it directly. Reimplement this if you depend on self defined fileviews.
- @param parent is the QWidget to be set as parent
+ @param parent is the TQWidget to be set as parent
@param view is the predefined view to be set, note: this can be several ones OR:ed together.
@return the created KFileView
@@ -685,13 +685,13 @@ public class KDirOperator extends QWidget {
@see KFile#FileView
@see #setView
*/
- protected native KFileViewInterface createView(QWidget parent, int view);
+ protected native KFileViewInterface createView(TQWidget parent, int view);
/**
Sets a custom KDirLister to list directories.
@short Sets a custom KDirLister to list directories.
*/
protected native void setDirLister(KDirLister lister);
- protected native void resizeEvent(QResizeEvent arg1);
+ protected native void resizeEvent(TQResizeEvent arg1);
/**
Sets up all the actions. Called from the constructor, you usually
better not call this.
@@ -774,7 +774,7 @@ public class KDirOperator extends QWidget {
Called upon right-click to activate the popupmenu.
@short Called upon right-click to activate the popupmenu.
*/
- protected native void activatedMenu(KFileItem arg1, QPoint pos);
+ protected native void activatedMenu(KFileItem arg1, TQPoint pos);
/**
Changes sorting to sort by name
@short Changes sorting to sort by name