You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
162 lines
7.1 KiB
162 lines
7.1 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
|
package org.kde.qt;
|
||
|
|
||
|
import org.kde.qt.Qt;
|
||
|
import java.util.ArrayList;
|
||
|
|
||
|
/**
|
||
13 years ago
|
See {@link TQApplicationSignals} for signals emitted by TQApplication
|
||
15 years ago
|
*/
|
||
13 years ago
|
public class TQApplication extends TQObject {
|
||
|
protected TQApplication(Class dummy){super((Class) null);}
|
||
15 years ago
|
public static final int Tty = 0;
|
||
|
public static final int GuiClient = 1;
|
||
|
public static final int GuiServer = 2;
|
||
|
|
||
|
public static final int NormalColors = 0;
|
||
|
public static final int CustomColors = 1;
|
||
|
|
||
|
public static final int NormalColor = 0;
|
||
|
public static final int CustomColor = 1;
|
||
|
public static final int ManyColor = 2;
|
||
|
|
||
|
public static final int DefaultCodec = 0;
|
||
|
public static final int UnicodeUTF8 = 1;
|
||
|
|
||
13 years ago
|
public native TQMetaObject metaObject();
|
||
15 years ago
|
public native String className();
|
||
13 years ago
|
public TQApplication(String[] argv) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQApplication(argv);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQApplication(String[] argv);
|
||
|
public TQApplication(String[] argv, boolean GUIenabled) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQApplication(argv,GUIenabled);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQApplication(String[] argv, boolean GUIenabled);
|
||
|
public TQApplication(String[] argv, int arg3) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQApplication(argv,arg3);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQApplication(String[] argv, int arg3);
|
||
15 years ago
|
public native int type();
|
||
13 years ago
|
public native TQWidget mainWidget();
|
||
|
public native void setMainWidget(TQWidget arg1);
|
||
|
public native void polish(TQWidget arg1);
|
||
|
public native TQWidget focusWidget();
|
||
|
public native TQWidget activeWindow();
|
||
15 years ago
|
public native int exec();
|
||
|
public native void processEvents();
|
||
|
public native void processEvents(int maxtime);
|
||
|
public native void processOneEvent();
|
||
|
public native boolean hasPendingEvents();
|
||
|
public native int enter_loop();
|
||
|
public native void exit_loop();
|
||
|
public native int loopLevel();
|
||
13 years ago
|
public native boolean notify(TQObject arg1, TQEvent arg2);
|
||
|
public native void setDefaultCodec(TQTextCodec arg1);
|
||
|
public native TQTextCodec defaultCodec();
|
||
|
public native void installTranslator(TQTranslator arg1);
|
||
|
public native void removeTranslator(TQTranslator arg1);
|
||
15 years ago
|
public native String translate(String context, String key, String comment, int encoding);
|
||
|
public native String translate(String context, String key, String comment);
|
||
|
public native String translate(String context, String key);
|
||
|
public native String applicationDirPath();
|
||
|
public native String applicationFilePath();
|
||
|
public native boolean isSessionRestored();
|
||
|
public native String sessionId();
|
||
|
public native String sessionKey();
|
||
13 years ago
|
public native void commitData(TQSessionManager sm);
|
||
|
public native void saveState(TQSessionManager sm);
|
||
15 years ago
|
public native void wakeUpGuiThread();
|
||
|
public native void quit();
|
||
|
public native void closeAllWindows();
|
||
13 years ago
|
public native void aboutTQt();
|
||
15 years ago
|
public static native String tr(String arg1, String arg2);
|
||
|
public static native String tr(String arg1);
|
||
13 years ago
|
public static native TQStyle style();
|
||
|
public static native void setStyle(TQStyle arg1);
|
||
|
public static native TQStyle setStyle(String arg1);
|
||
15 years ago
|
public static native int colorMode();
|
||
|
public static native void setColorMode(int arg1);
|
||
|
public static native int colorSpec();
|
||
|
public static native void setColorSpec(int arg1);
|
||
13 years ago
|
public static native TQCursor overrideCursor();
|
||
|
public static native void setOverrideCursor(TQCursor arg1, boolean replace);
|
||
|
public static native void setOverrideCursor(TQCursor arg1);
|
||
15 years ago
|
public static native void restoreOverrideCursor();
|
||
|
public static native boolean hasGlobalMouseTracking();
|
||
|
public static native void setGlobalMouseTracking(boolean enable);
|
||
13 years ago
|
public static native TQPalette palette(TQWidget arg1);
|
||
|
public static native TQPalette palette();
|
||
|
public static native void setPalette(TQPalette arg1, boolean informWidgets, String className);
|
||
|
public static native void setPalette(TQPalette arg1, boolean informWidgets);
|
||
|
public static native void setPalette(TQPalette arg1);
|
||
|
public static native TQFont font(TQWidget arg1);
|
||
|
public static native TQFont font();
|
||
|
public static native void setFont(TQFont arg1, boolean informWidgets, String className);
|
||
|
public static native void setFont(TQFont arg1, boolean informWidgets);
|
||
|
public static native void setFont(TQFont arg1);
|
||
|
public static native TQFontMetrics fontMetrics();
|
||
15 years ago
|
public static native ArrayList allWidgets();
|
||
|
public static native ArrayList topLevelWidgets();
|
||
13 years ago
|
public static native TQDesktopWidget desktop();
|
||
|
public static native TQWidget activePopupWidget();
|
||
|
public static native TQWidget activeModalWidget();
|
||
|
public static native TQClipboard clipboard();
|
||
|
public static native TQWidget widgetAt(int x, int y, boolean child);
|
||
|
public static native TQWidget widgetAt(int x, int y);
|
||
|
public static native TQWidget widgetAt(TQPoint arg1, boolean child);
|
||
|
public static native TQWidget widgetAt(TQPoint arg1);
|
||
|
public static native TQEventLoop eventLoop();
|
||
15 years ago
|
public static native void exit(int retcode);
|
||
|
public static native void exit();
|
||
13 years ago
|
public static native boolean sendEvent(TQObject receiver, TQEvent event);
|
||
|
public static native void postEvent(TQObject receiver, TQEvent event);
|
||
|
public static native void sendPostedEvents(TQObject receiver, int event_type);
|
||
15 years ago
|
public static native void sendPostedEvents();
|
||
13 years ago
|
public static native void removePostedEvents(TQObject receiver);
|
||
15 years ago
|
public static native boolean startingUp();
|
||
|
public static native boolean closingDown();
|
||
|
public static native void flushX();
|
||
|
public static native void flush();
|
||
|
public static native void syncX();
|
||
|
public static native void beep();
|
||
13 years ago
|
public static native void setWinStyleHighlightColor(TQColor c);
|
||
|
public static native TQColor winStyleHighlightColor();
|
||
15 years ago
|
public static native void setDesktopSettingsAware(boolean arg1);
|
||
|
public static native boolean desktopSettingsAware();
|
||
|
public static native void setCursorFlashTime(int arg1);
|
||
|
public static native int cursorFlashTime();
|
||
|
public static native void setDoubleClickInterval(int arg1);
|
||
|
public static native int doubleClickInterval();
|
||
|
public static native void setWheelScrollLines(int arg1);
|
||
|
public static native int wheelScrollLines();
|
||
13 years ago
|
public static native void setGlobalStrut(TQSize arg1);
|
||
|
public static native TQSize globalStrut();
|
||
15 years ago
|
public static native void setLibraryPaths(String[] arg1);
|
||
|
public static native ArrayList libraryPaths();
|
||
|
public static native void addLibraryPath(String arg1);
|
||
|
public static native void removeLibraryPath(String arg1);
|
||
|
public static native void setStartDragTime(int ms);
|
||
|
public static native int startDragTime();
|
||
|
public static native void setStartDragDistance(int l);
|
||
|
public static native int startDragDistance();
|
||
|
public static native void setReverseLayout(boolean b);
|
||
|
public static native boolean reverseLayout();
|
||
|
public static native int horizontalAlignment(int align);
|
||
|
public static native boolean isEffectEnabled(int arg1);
|
||
|
public static native void setEffectEnabled(int arg1, boolean enable);
|
||
|
public static native void setEffectEnabled(int arg1);
|
||
13 years ago
|
public native boolean event(TQEvent arg1);
|
||
15 years ago
|
/** Deletes the wrapped C++ instance */
|
||
|
protected native void finalize() throws InternalError;
|
||
|
/** Delete the wrapped C++ instance ahead of finalize() */
|
||
|
public native void dispose();
|
||
|
/** Has the wrapped C++ instance been deleted? */
|
||
|
public native boolean isDisposed();
|
||
|
public native String[] args();
|
||
|
|
||
|
}
|