summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KIconView.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KIconView.java')
-rw-r--r--kdejava/koala/org/kde/koala/KIconView.java88
1 files changed, 44 insertions, 44 deletions
diff --git a/kdejava/koala/org/kde/koala/KIconView.java b/kdejava/koala/org/kde/koala/KIconView.java
index 7554b270..d4c83d5f 100644
--- a/kdejava/koala/org/kde/koala/KIconView.java
+++ b/kdejava/koala/org/kde/koala/KIconView.java
@@ -2,39 +2,39 @@
package org.kde.koala;
import org.kde.qt.Qt;
-import org.kde.qt.QIconViewItem;
-import org.kde.qt.QFont;
-import org.kde.qt.QMetaObject;
+import org.kde.qt.TQIconViewItem;
+import org.kde.qt.TQFont;
+import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
-import org.kde.qt.QPoint;
-import org.kde.qt.QDragMoveEvent;
-import org.kde.qt.QDragEnterEvent;
-import org.kde.qt.QDragLeaveEvent;
-import org.kde.qt.QFocusEvent;
-import org.kde.qt.QMouseEvent;
-import org.kde.qt.QDropEvent;
-import org.kde.qt.QEvent;
-import org.kde.qt.QWidget;
-import org.kde.qt.QWheelEvent;
-import org.kde.qt.QIconView;
+import org.kde.qt.TQPoint;
+import org.kde.qt.TQDragMoveEvent;
+import org.kde.qt.TQDragEnterEvent;
+import org.kde.qt.TQDragLeaveEvent;
+import org.kde.qt.TQFocusEvent;
+import org.kde.qt.TQMouseEvent;
+import org.kde.qt.TQDropEvent;
+import org.kde.qt.TQEvent;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQWheelEvent;
+import org.kde.qt.TQIconView;
/**
- This Widget extends the functionality of QIconView to honor the system
+ This Widget extends the functionality of TQIconView to honor the system
wide settings for Single Click/Double Click mode, Auto Selection and
Change Cursor over Link.
There is a new signal executed(). It gets connected to either
- QIconView.clicked() or QIconView.doubleClicked() depending on the KDE
+ TQIconView.clicked() or TQIconView.doubleClicked() depending on the KDE
wide Single Click/Double Click settings. It is strongly recommended that
you use this signal instead of the above mentioned. This way you don't
need to care about the current settings.
If you want to get informed when the user selects something connect to the
- QIconView.selectionChanged() signal.
+ TQIconView.selectionChanged() signal.
See {@link KIconViewSignals} for signals emitted by KIconView
- @short A variant of QIconView that honors KDE's system-wide settings.
+ @short A variant of TQIconView that honors KDE's system-wide settings.
*/
-public class KIconView extends QIconView {
+public class KIconView extends TQIconView {
protected KIconView(Class dummy){super((Class) null);}
/**
KIconView has two different operating modes. Execute mode is depending
@@ -47,23 +47,23 @@ public class KIconView extends QIconView {
public static final int Execute = 0;
public static final int Select = 1;
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
- public KIconView(QWidget parent, String name, int f) {
+ public KIconView(TQWidget parent, String name, int f) {
super((Class) null);
newKIconView(parent,name,f);
}
- private native void newKIconView(QWidget parent, String name, int f);
- public KIconView(QWidget parent, String name) {
+ private native void newKIconView(TQWidget parent, String name, int f);
+ public KIconView(TQWidget parent, String name) {
super((Class) null);
newKIconView(parent,name);
}
- private native void newKIconView(QWidget parent, String name);
- public KIconView(QWidget parent) {
+ private native void newKIconView(TQWidget parent, String name);
+ public KIconView(TQWidget parent) {
super((Class) null);
newKIconView(parent);
}
- private native void newKIconView(QWidget parent);
+ private native void newKIconView(TQWidget parent);
public KIconView() {
super((Class) null);
newKIconView();
@@ -79,7 +79,7 @@ public class KIconView extends QIconView {
<li>
Select mode is
- the normal QIconView mode.
+ the normal TQIconView mode.
</li>
Default is Execute.
@short Sets the mode to Execute or Select.
@@ -95,7 +95,7 @@ public class KIconView extends QIconView {
Reimplemented for internal purposes
@short Reimplemented for internal purposes
*/
- public native void setFont(QFont arg1);
+ public native void setFont(TQFont arg1);
/**
Set the maximum number of lines that will be used to display icon text.
Setting this value will enable word-wrap, too.
@@ -113,28 +113,28 @@ public class KIconView extends QIconView {
Reimplemented for held() signal behavior internal purposes
@short Reimplemented for held() signal behavior internal purposes
*/
- public native void takeItem(QIconViewItem item);
- protected native void emitExecute(QIconViewItem item, QPoint pos);
- protected native void updateDragHoldItem(QDropEvent e);
- protected native void focusOutEvent(QFocusEvent fe);
- protected native void leaveEvent(QEvent e);
- protected native void contentsMousePressEvent(QMouseEvent e);
- protected native void contentsMouseDoubleClickEvent(QMouseEvent e);
- protected native void contentsMouseReleaseEvent(QMouseEvent e);
- protected native void contentsDragEnterEvent(QDragEnterEvent e);
- protected native void contentsDragLeaveEvent(QDragLeaveEvent e);
- protected native void contentsDragMoveEvent(QDragMoveEvent e);
- protected native void contentsDropEvent(QDropEvent e);
- protected native void wheelEvent(QWheelEvent e);
+ public native void takeItem(TQIconViewItem item);
+ protected native void emitExecute(TQIconViewItem item, TQPoint pos);
+ protected native void updateDragHoldItem(TQDropEvent e);
+ protected native void focusOutEvent(TQFocusEvent fe);
+ protected native void leaveEvent(TQEvent e);
+ protected native void contentsMousePressEvent(TQMouseEvent e);
+ protected native void contentsMouseDoubleClickEvent(TQMouseEvent e);
+ protected native void contentsMouseReleaseEvent(TQMouseEvent e);
+ protected native void contentsDragEnterEvent(TQDragEnterEvent e);
+ protected native void contentsDragLeaveEvent(TQDragLeaveEvent e);
+ protected native void contentsDragMoveEvent(TQDragMoveEvent e);
+ protected native void contentsDropEvent(TQDropEvent e);
+ protected native void wheelEvent(TQWheelEvent e);
/**
This method allows to handle correctly cases where a subclass
needs the held() signal to not be triggered without calling
a KIconView.contentsDragEvent() method (which have side effects
- because they forward to QIconView).
- @short This method allows to handle correctly cases where a subclass needs the held() signal to not be triggered without calling a KIconView.contentsDrag Event() method (which have side effects because they forward to QIconView).
+ because they forward to TQIconView).
+ @short This method allows to handle correctly cases where a subclass needs the held() signal to not be triggered without calling a KIconView.contentsDrag Event() method (which have side effects because they forward to TQIconView).
*/
protected native void cancelPendingHeldSignal();
- protected native void slotOnItem(QIconViewItem item);
+ protected native void slotOnItem(TQIconViewItem item);
protected native void slotOnViewport();
protected native void slotSettingsChanged(int arg1);
/**