summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QMainWindow.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QMainWindow.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QMainWindow.java138
1 files changed, 69 insertions, 69 deletions
diff --git a/qtjava/javalib/org/kde/qt/QMainWindow.java b/qtjava/javalib/org/kde/qt/QMainWindow.java
index 7969ac6b..1fcd636f 100644
--- a/qtjava/javalib/org/kde/qt/QMainWindow.java
+++ b/qtjava/javalib/org/kde/qt/QMainWindow.java
@@ -4,99 +4,99 @@ package org.kde.qt;
import org.kde.qt.Qt;
/**
- See {@link QMainWindowSignals} for signals emitted by QMainWindow
+ See {@link TQMainWindowSignals} for signals emitted by TQMainWindow
*/
-public class QMainWindow extends QWidget {
- protected QMainWindow(Class dummy){super((Class) null);}
+public class TQMainWindow extends TQWidget {
+ protected TQMainWindow(Class dummy){super((Class) null);}
public static final int OnlyToolBars = 0;
public static final int NoToolBars = 1;
public static final int AllDockWindows = 2;
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
- public QMainWindow(QWidget parent, String name, int f) {
+ public TQMainWindow(TQWidget parent, String name, int f) {
super((Class) null);
- newQMainWindow(parent,name,f);
+ newTQMainWindow(parent,name,f);
}
- private native void newQMainWindow(QWidget parent, String name, int f);
- public QMainWindow(QWidget parent, String name) {
+ private native void newTQMainWindow(TQWidget parent, String name, int f);
+ public TQMainWindow(TQWidget parent, String name) {
super((Class) null);
- newQMainWindow(parent,name);
+ newTQMainWindow(parent,name);
}
- private native void newQMainWindow(QWidget parent, String name);
- public QMainWindow(QWidget parent) {
+ private native void newTQMainWindow(TQWidget parent, String name);
+ public TQMainWindow(TQWidget parent) {
super((Class) null);
- newQMainWindow(parent);
+ newTQMainWindow(parent);
}
- private native void newQMainWindow(QWidget parent);
- public QMainWindow() {
+ private native void newTQMainWindow(TQWidget parent);
+ public TQMainWindow() {
super((Class) null);
- newQMainWindow();
+ newTQMainWindow();
}
- private native void newQMainWindow();
- public native QMenuBar menuBar();
- public native QStatusBar statusBar();
- public native QToolTipGroup toolTipGroup();
- public native void setCentralWidget(QWidget arg1);
- public native QWidget centralWidget();
+ private native void newTQMainWindow();
+ public native TQMenuBar menuBar();
+ public native TQStatusBar statusBar();
+ public native TQToolTipGroup toolTipGroup();
+ public native void setCentralWidget(TQWidget arg1);
+ public native TQWidget centralWidget();
public native void setDockEnabled(int dock, boolean enable);
public native boolean isDockEnabled(int dock);
- public native boolean isDockEnabled(QDockArea area);
- public native void setDockEnabled(QDockWindow tb, int dock, boolean enable);
- public native boolean isDockEnabled(QDockWindow tb, int dock);
- public native boolean isDockEnabled(QDockWindow tb, QDockArea area);
- public native void addDockWindow(QDockWindow arg1, int arg2, boolean newLine);
- public native void addDockWindow(QDockWindow arg1, int arg2);
- public native void addDockWindow(QDockWindow arg1);
- public native void addDockWindow(QDockWindow arg1, String label, int arg3, boolean newLine);
- public native void addDockWindow(QDockWindow arg1, String label, int arg3);
- public native void addDockWindow(QDockWindow arg1, String label);
- public native void moveDockWindow(QDockWindow arg1, int arg2);
- public native void moveDockWindow(QDockWindow arg1);
- public native void moveDockWindow(QDockWindow arg1, int arg2, boolean nl, int index, int extraOffset);
- public native void moveDockWindow(QDockWindow arg1, int arg2, boolean nl, int index);
- public native void removeDockWindow(QDockWindow arg1);
+ public native boolean isDockEnabled(TQDockArea area);
+ public native void setDockEnabled(TQDockWindow tb, int dock, boolean enable);
+ public native boolean isDockEnabled(TQDockWindow tb, int dock);
+ public native boolean isDockEnabled(TQDockWindow tb, TQDockArea area);
+ public native void addDockWindow(TQDockWindow arg1, int arg2, boolean newLine);
+ public native void addDockWindow(TQDockWindow arg1, int arg2);
+ public native void addDockWindow(TQDockWindow arg1);
+ public native void addDockWindow(TQDockWindow arg1, String label, int arg3, boolean newLine);
+ public native void addDockWindow(TQDockWindow arg1, String label, int arg3);
+ public native void addDockWindow(TQDockWindow arg1, String label);
+ public native void moveDockWindow(TQDockWindow arg1, int arg2);
+ public native void moveDockWindow(TQDockWindow arg1);
+ public native void moveDockWindow(TQDockWindow arg1, int arg2, boolean nl, int index, int extraOffset);
+ public native void moveDockWindow(TQDockWindow arg1, int arg2, boolean nl, int index);
+ public native void removeDockWindow(TQDockWindow arg1);
public native void show();
public native void hide();
- public native QSize sizeHint();
- public native QSize minimumSizeHint();
+ public native TQSize sizeHint();
+ public native TQSize minimumSizeHint();
public native boolean rightJustification();
public native boolean usesBigPixmaps();
public native boolean usesTextLabel();
public native boolean dockWindowsMovable();
public native boolean opaqueMoving();
- public native boolean eventFilter(QObject arg1, QEvent arg2);
- public native boolean getLocation(QDockWindow tb, int dock, int[] index, boolean nl, int[] extraOffset);
- // QPtrList<QDockWindow> dockWindows(Qt::Dock arg1); >>>> NOT CONVERTED
- // QPtrList<QDockWindow> dockWindows(); >>>> NOT CONVERTED
+ public native boolean eventFilter(TQObject arg1, TQEvent arg2);
+ public native boolean getLocation(TQDockWindow tb, int dock, int[] index, boolean nl, int[] extraOffset);
+ // TQPtrList<TQDockWindow> dockWindows(TQt::Dock arg1); >>>> NOT CONVERTED
+ // TQPtrList<TQDockWindow> dockWindows(); >>>> NOT CONVERTED
public native void lineUpDockWindows(boolean keepNewLines);
public native void lineUpDockWindows();
public native boolean isDockMenuEnabled();
- public native boolean hasDockWindow(QDockWindow dw);
- public native void addToolBar(QDockWindow arg1, int arg2, boolean newLine);
- public native void addToolBar(QDockWindow arg1, int arg2);
- public native void addToolBar(QDockWindow arg1);
- public native void addToolBar(QDockWindow arg1, String label, int arg3, boolean newLine);
- public native void addToolBar(QDockWindow arg1, String label, int arg3);
- public native void addToolBar(QDockWindow arg1, String label);
- public native void moveToolBar(QDockWindow arg1, int arg2);
- public native void moveToolBar(QDockWindow arg1);
- public native void moveToolBar(QDockWindow arg1, int arg2, boolean nl, int index, int extraOffset);
- public native void moveToolBar(QDockWindow arg1, int arg2, boolean nl, int index);
- public native void removeToolBar(QDockWindow arg1);
+ public native boolean hasDockWindow(TQDockWindow dw);
+ public native void addToolBar(TQDockWindow arg1, int arg2, boolean newLine);
+ public native void addToolBar(TQDockWindow arg1, int arg2);
+ public native void addToolBar(TQDockWindow arg1);
+ public native void addToolBar(TQDockWindow arg1, String label, int arg3, boolean newLine);
+ public native void addToolBar(TQDockWindow arg1, String label, int arg3);
+ public native void addToolBar(TQDockWindow arg1, String label);
+ public native void moveToolBar(TQDockWindow arg1, int arg2);
+ public native void moveToolBar(TQDockWindow arg1);
+ public native void moveToolBar(TQDockWindow arg1, int arg2, boolean nl, int index, int extraOffset);
+ public native void moveToolBar(TQDockWindow arg1, int arg2, boolean nl, int index);
+ public native void removeToolBar(TQDockWindow arg1);
public native boolean toolBarsMovable();
- // QPtrList<QToolBar> toolBars(Qt::Dock arg1); >>>> NOT CONVERTED
+ // TQPtrList<TQToolBar> toolBars(TQt::Dock arg1); >>>> NOT CONVERTED
public native void lineUpToolBars(boolean keepNewLines);
public native void lineUpToolBars();
- public native QDockArea dockingArea(QPoint p);
- public native QDockArea leftDock();
- public native QDockArea rightDock();
- public native QDockArea topDock();
- public native QDockArea bottomDock();
+ public native TQDockArea dockingArea(TQPoint p);
+ public native TQDockArea leftDock();
+ public native TQDockArea rightDock();
+ public native TQDockArea topDock();
+ public native TQDockArea bottomDock();
public native boolean isCustomizable();
- public native boolean appropriate(QDockWindow dw);
- public native QPopupMenu createDockWindowMenu(int dockWindows);
- public native QPopupMenu createDockWindowMenu();
+ public native boolean appropriate(TQDockWindow dw);
+ public native TQPopupMenu createDockWindowMenu(int dockWindows);
+ public native TQPopupMenu createDockWindowMenu();
public native void setRightJustification(boolean arg1);
public native void setUsesBigPixmaps(boolean arg1);
public native void setUsesTextLabel(boolean arg1);
@@ -104,17 +104,17 @@ public class QMainWindow extends QWidget {
public native void setOpaqueMoving(boolean arg1);
public native void setDockMenuEnabled(boolean arg1);
public native void whatsThis();
- public native void setAppropriate(QDockWindow dw, boolean a);
+ public native void setAppropriate(TQDockWindow dw, boolean a);
public native void customize();
public native void setToolBarsMovable(boolean arg1);
public static native String tr(String arg1, String arg2);
public static native String tr(String arg1);
- protected native void paintEvent(QPaintEvent arg1);
- protected native void childEvent(QChildEvent arg1);
- public native boolean event(QEvent arg1);
- public native void styleChange(QStyle arg1);
+ protected native void paintEvent(TQPaintEvent arg1);
+ protected native void childEvent(TQChildEvent arg1);
+ public native boolean event(TQEvent arg1);
+ public native void styleChange(TQStyle arg1);
protected native void setUpLayout();
- protected native boolean showDockMenu(QPoint globalPos);
+ protected native boolean showDockMenu(TQPoint globalPos);
protected native void menuAboutToShow();
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;