summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KFileTreeView.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KFileTreeView.java')
-rw-r--r--kdejava/koala/org/kde/koala/KFileTreeView.java52
1 files changed, 26 insertions, 26 deletions
diff --git a/kdejava/koala/org/kde/koala/KFileTreeView.java b/kdejava/koala/org/kde/koala/KFileTreeView.java
index 6d697ec7..a0a8002c 100644
--- a/kdejava/koala/org/kde/koala/KFileTreeView.java
+++ b/kdejava/koala/org/kde/koala/KFileTreeView.java
@@ -2,22 +2,22 @@
package org.kde.koala;
import org.kde.qt.Qt;
-import org.kde.qt.QListViewItem;
-import org.kde.qt.QMetaObject;
+import org.kde.qt.TQListViewItem;
+import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
-import org.kde.qt.QPixmap;
-import org.kde.qt.QDragMoveEvent;
-import org.kde.qt.QDragEnterEvent;
-import org.kde.qt.QDragLeaveEvent;
+import org.kde.qt.TQPixmap;
+import org.kde.qt.TQDragMoveEvent;
+import org.kde.qt.TQDragEnterEvent;
+import org.kde.qt.TQDragLeaveEvent;
import java.util.ArrayList;
-import org.kde.qt.QDropEvent;
-import org.kde.qt.QWidget;
-import org.kde.qt.QDragObject;
+import org.kde.qt.TQDropEvent;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQDragObject;
/**
The filetreeview offers a treeview on the file system which behaves like
- a QTreeView showing files and/or directories in the file system.
+ a TQTreeView showing files and/or directories in the file system.
KFileTreeView is able to handle more than one URL, represented by
KFileTreeBranch.
Typical usage:
@@ -26,23 +26,23 @@ import org.kde.qt.QDragObject;
3. retrieve the root item with KFileTreeBranch.root() and set it open
if desired. That starts the listing.
See {@link KFileTreeViewSignals} for signals emitted by KFileTreeView
- @short The filetreeview offers a treeview on the file system which behaves like a QTreeView showing files and/or directories in the file system.
+ @short The filetreeview offers a treeview on the file system which behaves like a TQTreeView showing files and/or directories in the file system.
*/
public class KFileTreeView extends KListView {
protected KFileTreeView(Class dummy){super((Class) null);}
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
- public KFileTreeView(QWidget parent, String name) {
+ public KFileTreeView(TQWidget parent, String name) {
super((Class) null);
newKFileTreeView(parent,name);
}
- private native void newKFileTreeView(QWidget parent, String name);
- public KFileTreeView(QWidget parent) {
+ private native void newKFileTreeView(TQWidget parent, String name);
+ public KFileTreeView(TQWidget parent) {
super((Class) null);
newKFileTreeView(parent);
}
- private native void newKFileTreeView(QWidget parent);
+ private native void newKFileTreeView(TQWidget parent);
/**
@return the current (i.e. selected) item
@@ -74,8 +74,8 @@ public class KFileTreeView extends KListView {
same as the function above but with a pixmap to set for the branch.
@short same as the function above but with a pixmap to set for the branch.
*/
- public native KFileTreeBranch addBranch(KURL path, String name, QPixmap pix, boolean showHidden);
- public native KFileTreeBranch addBranch(KURL path, String name, QPixmap pix);
+ public native KFileTreeBranch addBranch(KURL path, String name, TQPixmap pix, boolean showHidden);
+ public native KFileTreeBranch addBranch(KURL path, String name, TQPixmap pix);
/**
same as the function above but letting the user create the branch.
@short same as the function above but letting the user create the branch.
@@ -145,20 +145,20 @@ public class KFileTreeView extends KListView {
@short
*/
- protected native boolean acceptDrag(QDropEvent event);
- protected native QDragObject dragObject();
+ protected native boolean acceptDrag(TQDropEvent event);
+ protected native TQDragObject dragObject();
protected native void startAnimation(KFileTreeViewItem item, String iconBaseName, int iconCount);
protected native void startAnimation(KFileTreeViewItem item, String iconBaseName);
protected native void startAnimation(KFileTreeViewItem item);
protected native void stopAnimation(KFileTreeViewItem item);
- protected native void contentsDragEnterEvent(QDragEnterEvent e);
- protected native void contentsDragMoveEvent(QDragMoveEvent e);
- protected native void contentsDragLeaveEvent(QDragLeaveEvent e);
- protected native void contentsDropEvent(QDropEvent ev);
+ protected native void contentsDragEnterEvent(TQDragEnterEvent e);
+ protected native void contentsDragMoveEvent(TQDragMoveEvent e);
+ protected native void contentsDragLeaveEvent(TQDragLeaveEvent e);
+ protected native void contentsDropEvent(TQDropEvent ev);
// void slotNewTreeViewItems(KFileTreeBranch* arg1,const KFileTreeViewItemList& arg2); >>>> NOT CONVERTED
protected native void slotSetNextUrlToSelect(KURL url);
- protected native QPixmap itemIcon(KFileTreeViewItem arg1, int gap);
- protected native QPixmap itemIcon(KFileTreeViewItem arg1);
+ protected native TQPixmap itemIcon(KFileTreeViewItem arg1, int gap);
+ protected native TQPixmap itemIcon(KFileTreeViewItem arg1);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */