diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QApplication.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QApplication.java | 120 |
1 files changed, 60 insertions, 60 deletions
diff --git a/qtjava/javalib/org/kde/qt/QApplication.java b/qtjava/javalib/org/kde/qt/QApplication.java index b86bffcb..1a3e6736 100644 --- a/qtjava/javalib/org/kde/qt/QApplication.java +++ b/qtjava/javalib/org/kde/qt/QApplication.java @@ -5,10 +5,10 @@ import org.kde.qt.Qt; import java.util.ArrayList; /** - See {@link QApplicationSignals} for signals emitted by QApplication + See {@link TQApplicationSignals} for signals emitted by TQApplication */ -public class QApplication extends QObject { - protected QApplication(Class dummy){super((Class) null);} +public class TQApplication extends TQObject { + protected TQApplication(Class dummy){super((Class) null);} public static final int Tty = 0; public static final int GuiClient = 1; public static final int GuiServer = 2; @@ -23,29 +23,29 @@ public class QApplication extends QObject { public static final int DefaultCodec = 0; public static final int UnicodeUTF8 = 1; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QApplication(String[] argv) { + public TQApplication(String[] argv) { super((Class) null); - newQApplication(argv); + newTQApplication(argv); } - private native void newQApplication(String[] argv); - public QApplication(String[] argv, boolean GUIenabled) { + private native void newTQApplication(String[] argv); + public TQApplication(String[] argv, boolean GUIenabled) { super((Class) null); - newQApplication(argv,GUIenabled); + newTQApplication(argv,GUIenabled); } - private native void newQApplication(String[] argv, boolean GUIenabled); - public QApplication(String[] argv, int arg3) { + private native void newTQApplication(String[] argv, boolean GUIenabled); + public TQApplication(String[] argv, int arg3) { super((Class) null); - newQApplication(argv,arg3); + newTQApplication(argv,arg3); } - private native void newQApplication(String[] argv, int arg3); + private native void newTQApplication(String[] argv, int arg3); public native int type(); - public native QWidget mainWidget(); - public native void setMainWidget(QWidget arg1); - public native void polish(QWidget arg1); - public native QWidget focusWidget(); - public native QWidget activeWindow(); + public native TQWidget mainWidget(); + public native void setMainWidget(TQWidget arg1); + public native void polish(TQWidget arg1); + public native TQWidget focusWidget(); + public native TQWidget activeWindow(); public native int exec(); public native void processEvents(); public native void processEvents(int maxtime); @@ -54,11 +54,11 @@ public class QApplication extends QObject { public native int enter_loop(); public native void exit_loop(); public native int loopLevel(); - public native boolean notify(QObject arg1, QEvent arg2); - public native void setDefaultCodec(QTextCodec arg1); - public native QTextCodec defaultCodec(); - public native void installTranslator(QTranslator arg1); - public native void removeTranslator(QTranslator arg1); + 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); 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); @@ -67,64 +67,64 @@ public class QApplication extends QObject { public native boolean isSessionRestored(); public native String sessionId(); public native String sessionKey(); - public native void commitData(QSessionManager sm); - public native void saveState(QSessionManager sm); + public native void commitData(TQSessionManager sm); + public native void saveState(TQSessionManager sm); public native void wakeUpGuiThread(); public native void quit(); public native void closeAllWindows(); public native void aboutQt(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - public static native QStyle style(); - public static native void setStyle(QStyle arg1); - public static native QStyle setStyle(String arg1); + public static native TQStyle style(); + public static native void setStyle(TQStyle arg1); + public static native TQStyle setStyle(String arg1); public static native int colorMode(); public static native void setColorMode(int arg1); public static native int colorSpec(); public static native void setColorSpec(int arg1); - public static native QCursor overrideCursor(); - public static native void setOverrideCursor(QCursor arg1, boolean replace); - public static native void setOverrideCursor(QCursor arg1); + public static native TQCursor overrideCursor(); + public static native void setOverrideCursor(TQCursor arg1, boolean replace); + public static native void setOverrideCursor(TQCursor arg1); public static native void restoreOverrideCursor(); public static native boolean hasGlobalMouseTracking(); public static native void setGlobalMouseTracking(boolean enable); - public static native QPalette palette(QWidget arg1); - public static native QPalette palette(); - public static native void setPalette(QPalette arg1, boolean informWidgets, String className); - public static native void setPalette(QPalette arg1, boolean informWidgets); - public static native void setPalette(QPalette arg1); - public static native QFont font(QWidget arg1); - public static native QFont font(); - public static native void setFont(QFont arg1, boolean informWidgets, String className); - public static native void setFont(QFont arg1, boolean informWidgets); - public static native void setFont(QFont arg1); - public static native QFontMetrics fontMetrics(); + 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(); public static native ArrayList allWidgets(); public static native ArrayList topLevelWidgets(); - public static native QDesktopWidget desktop(); - public static native QWidget activePopupWidget(); - public static native QWidget activeModalWidget(); - public static native QClipboard clipboard(); - public static native QWidget widgetAt(int x, int y, boolean child); - public static native QWidget widgetAt(int x, int y); - public static native QWidget widgetAt(QPoint arg1, boolean child); - public static native QWidget widgetAt(QPoint arg1); - public static native QEventLoop eventLoop(); + 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(); public static native void exit(int retcode); public static native void exit(); - public static native boolean sendEvent(QObject receiver, QEvent event); - public static native void postEvent(QObject receiver, QEvent event); - public static native void sendPostedEvents(QObject receiver, int event_type); + 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); public static native void sendPostedEvents(); - public static native void removePostedEvents(QObject receiver); + public static native void removePostedEvents(TQObject receiver); 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(); - public static native void setWinStyleHighlightColor(QColor c); - public static native QColor winStyleHighlightColor(); + public static native void setWinStyleHighlightColor(TQColor c); + public static native TQColor winStyleHighlightColor(); public static native void setDesktopSettingsAware(boolean arg1); public static native boolean desktopSettingsAware(); public static native void setCursorFlashTime(int arg1); @@ -133,8 +133,8 @@ public class QApplication extends QObject { public static native int doubleClickInterval(); public static native void setWheelScrollLines(int arg1); public static native int wheelScrollLines(); - public static native void setGlobalStrut(QSize arg1); - public static native QSize globalStrut(); + public static native void setGlobalStrut(TQSize arg1); + public static native TQSize globalStrut(); public static native void setLibraryPaths(String[] arg1); public static native ArrayList libraryPaths(); public static native void addLibraryPath(String arg1); @@ -149,7 +149,7 @@ public class QApplication extends QObject { public static native boolean isEffectEnabled(int arg1); public static native void setEffectEnabled(int arg1, boolean enable); public static native void setEffectEnabled(int arg1); - public native boolean event(QEvent arg1); + public native boolean event(TQEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ |