summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KFileView.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KFileView.java')
-rw-r--r--kdejava/koala/org/kde/koala/KFileView.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/kdejava/koala/org/kde/koala/KFileView.java b/kdejava/koala/org/kde/koala/KFileView.java
index 23c1254a..fa504c7d 100644
--- a/kdejava/koala/org/kde/koala/KFileView.java
+++ b/kdejava/koala/org/kde/koala/KFileView.java
@@ -4,7 +4,7 @@ package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
import java.util.ArrayList;
-import org.kde.qt.QWidget;
+import org.kde.qt.TQWidget;
/**
@@ -49,12 +49,12 @@ public class KFileView implements QtSupport, KFileViewInterface {
*/
public native void addItemList(ArrayList list);
/**
- a pure function to get a QWidget, that can be added to
+ a pure function to get a TQWidget, that can be added to
other widgets. This function is needed to make it possible for
derived classes to derive from other widgets.
- @short a pure virtual function to get a QWidget, that can be added to other widgets.
+ @short a pure virtual function to get a TQWidget, that can be added to other widgets.
*/
- public native QWidget widget();
+ public native TQWidget widget();
/**
Sets <code>filename</code> the current item in the view, if available.
@short Sets <code>filename</code> the current item in the view, if available.
@@ -111,21 +111,21 @@ public class KFileView implements QtSupport, KFileViewInterface {
public native int sorting();
/**
Sets the sorting order of the view.
- Default is QDir.Name | QDir.IgnoreCase | QDir.DirsFirst
+ Default is TQDir.Name | TQDir.IgnoreCase | TQDir.DirsFirst
Override this in your subclass and sort accordingly (usually by
- setting the sorting-key for every item and telling QIconView
- or QListView to sort.
- A view may choose to use a different sorting than QDir.Name, Time
+ setting the sorting-key for every item and telling TQIconView
+ or TQListView to sort.
+ A view may choose to use a different sorting than TQDir.Name, Time
or Size. E.g. to sort by mimetype or any possible string. Set the
- sorting to QDir.Unsorted for that and do the rest internally.
+ sorting to TQDir.Unsorted for that and do the rest internally.
@short Sets the sorting order of the view.
@see #sortingKey
*/
public native void setSorting(int sort);
/**
Tells whether the current items are in reversed order (shortcut to
- sorting() & QDir.Reversed).
- @short Tells whether the current items are in reversed order (shortcut to sorting() & QDir.Reversed).
+ sorting() & TQDir.Reversed).
+ @short Tells whether the current items are in reversed order (shortcut to sorting() & TQDir.Reversed).
*/
public native boolean isReversed();
public native void sortReversed();
@@ -284,13 +284,13 @@ public class KFileView implements QtSupport, KFileViewInterface {
public native int dropOptions();
/**
This method calculates a String from the given parameters, that is
- suitable for sorting with e.g. QIconView or QListView. Their
+ suitable for sorting with e.g. TQIconView or TQListView. Their
Item-classes usually have a setKey( String ) method or a virtual
method String key() that is used for sorting.
@param value Any string that should be used as sort criterion
@param isDir Tells whether the key is computed for an item representing
a directory (directories are usually sorted before files)
- @param sortSpec An ORed combination of QDir.SortSpec flags.
+ @param sortSpec An ORed combination of TQDir.SortSpec flags.
Currently, the values IgnoreCase, Reversed and
DirsFirst are taken into account.
@short This method calculates a String from the given parameters, that is suitable for sorting with e.