summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KApplication.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KApplication.java')
-rw-r--r--kdejava/koala/org/kde/koala/KApplication.java72
1 files changed, 36 insertions, 36 deletions
diff --git a/kdejava/koala/org/kde/koala/KApplication.java b/kdejava/koala/org/kde/koala/KApplication.java
index ddd1a5ed..88626454 100644
--- a/kdejava/koala/org/kde/koala/KApplication.java
+++ b/kdejava/koala/org/kde/koala/KApplication.java
@@ -2,16 +2,16 @@
package org.kde.koala;
import org.kde.qt.Qt;
-import org.kde.qt.QMetaObject;
+import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
-import org.kde.qt.QObject;
-import org.kde.qt.QPixmap;
-import org.kde.qt.QSessionManager;
+import org.kde.qt.TQObject;
+import org.kde.qt.TQPixmap;
+import org.kde.qt.TQSessionManager;
import java.util.ArrayList;
-import org.kde.qt.QEvent;
-import org.kde.qt.QWidget;
-import org.kde.qt.QPalette;
-import org.kde.qt.QApplication;
+import org.kde.qt.TQEvent;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQPalette;
+import org.kde.qt.TQApplication;
/**
@@ -22,7 +22,7 @@ import org.kde.qt.QApplication;
This class provides the following services to all KDE applications.
<li>
- It controls the event queue (see QApplication ).
+ It controls the event queue (see TQApplication ).
</li>
<li>
@@ -75,7 +75,7 @@ import org.kde.qt.QApplication;
@short Controls and provides information to all KDE applications.
*/
-public class KApplication extends QApplication implements KInstanceInterface {
+public class KApplication extends TQApplication implements KInstanceInterface {
protected KApplication(Class dummy){super((Class) null);}
public static final int ShiftModifier = 1<<0;
public static final int LockModifier = 1<<1;
@@ -141,7 +141,7 @@ public class KApplication extends QApplication implements KInstanceInterface {
public static final int SETTINGS_QT = 4;
public static final int SETTINGS_SHORTCUTS = 5;
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
/**
This constructor takes aboutData and command line
@@ -241,13 +241,13 @@ public class KApplication extends QApplication implements KInstanceInterface {
handling of session management with KSessionManaged.
@short Reimplemented for internal purposes, mainly the highlevel handling of session management with KSessionManaged.
*/
- public native void commitData(QSessionManager sm);
+ public native void commitData(TQSessionManager sm);
/**
Reimplemented for internal purposes, mainly the highlevel
handling of session management with KSessionManaged.
@short Reimplemented for internal purposes, mainly the highlevel handling of session management with KSessionManaged.
*/
- public native void saveState(QSessionManager sm);
+ public native void saveState(TQSessionManager sm);
/**
Returns true if the application is currently saving its session
data (most probably before KDE logout). This is intended for use
@@ -258,12 +258,12 @@ public class KApplication extends QApplication implements KInstanceInterface {
*/
public native boolean sessionSaving();
/**
- Returns a QPixmap with the application icon.
+ Returns a TQPixmap with the application icon.
@return the application icon
- @short Returns a QPixmap with the application icon.
+ @short Returns a TQPixmap with the application icon.
*/
- public native QPixmap icon();
+ public native TQPixmap icon();
/**
Returns the name of the application icon.
@return the icon's name
@@ -272,12 +272,12 @@ public class KApplication extends QApplication implements KInstanceInterface {
*/
public native String iconName();
/**
- Returns the mini-icon for the application as a QPixmap.
+ Returns the mini-icon for the application as a TQPixmap.
@return the application's mini icon
- @short Returns the mini-icon for the application as a QPixmap.
+ @short Returns the mini-icon for the application as a TQPixmap.
*/
- public native QPixmap miniIcon();
+ public native TQPixmap miniIcon();
/**
Returns the name of the mini-icon for the application.
@return the mini icon's name
@@ -295,7 +295,7 @@ public class KApplication extends QApplication implements KInstanceInterface {
@see #icon
@see #caption
*/
- public native void setTopWidget(QWidget topWidget);
+ public native void setTopWidget(TQWidget topWidget);
/**
Invokes the KHelpCenter HTML help viewer from docbook sources.
@param anchor This has to be a defined anchor in your
@@ -420,18 +420,18 @@ public class KApplication extends QApplication implements KInstanceInterface {
/**
Installs widget filter as global X11 event filter.
The widget
- filter receives XEvents in its standard QWidget.x11Event() function.
+ filter receives XEvents in its standard TQWidget.x11Event() function.
Warning: Only do this when absolutely necessary. An installed X11 filter
can slow things down.
@short Installs widget filter as global X11 event filter.
*/
- public native void installX11EventFilter(QWidget filter);
+ public native void installX11EventFilter(TQWidget filter);
/**
Removes global X11 event filter previously installed by
installX11EventFilter().
@short Removes global X11 event filter previously installed by installX11EventFilter().
*/
- public native void removeX11EventFilter(QWidget filter);
+ public native void removeX11EventFilter(TQWidget filter);
/**
Adds a message type to the KIPC event mask. You can only add "system
messages" to the event mask. These are the messages with id < 32.
@@ -503,8 +503,8 @@ public class KApplication extends QApplication implements KInstanceInterface {
public native String geometryArgument();
/**
Install a Qt SQL property map with entries for all KDE widgets
- Call this in any application using KDE widgets in QSqlForm or QDataView.
- @short Install a Qt SQL property map with entries for all KDE widgets Call this in any application using KDE widgets in QSqlForm or QDataView.
+ Call this in any application using KDE widgets in TQSqlForm or TQDataView.
+ @short Install a Qt SQL property map with entries for all KDE widgets Call this in any application using KDE widgets in TQSqlForm or TQDataView.
*/
public native void installKDEPropertyMap();
/**
@@ -568,7 +568,7 @@ public class KApplication extends QApplication implements KInstanceInterface {
/**
@short
*/
- public native boolean notify(QObject receiver, QEvent event);
+ public native boolean notify(TQObject receiver, TQEvent event);
/**
@short
*/
@@ -639,7 +639,7 @@ public class KApplication extends QApplication implements KInstanceInterface {
behavior:
<pre>
public class MyListView implements KListView {
- public MyListView( QWidget parent = 0, String name = 0, WFlags f = 0 ) {}
+ public MyListView( TQWidget parent = 0, String name = 0, WFlags f = 0 ) {}
public void clear() {}
}
@@ -677,11 +677,11 @@ public class KApplication extends QApplication implements KInstanceInterface {
public static native void addCmdLineOptions();
/**
Returns the current application object.
- This is similar to the global QApplication pointer qApp. It
+ This is similar to the global TQApplication pointer qApp. It
allows access to the single global KApplication object, since
more than one cannot be created in the same application. It
saves you the trouble of having to pass the pointer explicitly
- to every function that may require it.
+ to every function that may retquire it.
@return the current application object
@short Returns the current application object.
@@ -936,8 +936,8 @@ public class KApplication extends QApplication implements KInstanceInterface {
public static native String randomString(int length);
/**
Returns the state of the currently pressed keyboard modifiers (e.g. shift, control, etc.)
- and mouse buttons, similarly to QKeyEvent.state() and QMouseEvent.state().
- You usually should simply use the information provided by QKeyEvent and QMouseEvent,
+ and mouse buttons, similarly to TQKeyEvent.state() and TQMouseEvent.state().
+ You usually should simply use the information provided by TQKeyEvent and TQMouseEvent,
but it can be useful to query for the status of the modifiers at another moment
(e.g. some KDE apps do that upon a drop event).
@return the keyboard modifiers and mouse buttons state
@@ -950,19 +950,19 @@ public class KApplication extends QApplication implements KInstanceInterface {
*/
public static native void startKdeinit();
/**
- Used to obtain the QPalette that will be used to set the application palette.
+ Used to obtain the TQPalette that will be used to set the application palette.
This is only useful for configuration modules such as krdb and should not be
used in normal circumstances.
- @return the QPalette
+ @return the TQPalette
- @short Used to obtain the QPalette that will be used to set the application palette.
+ @short Used to obtain the TQPalette that will be used to set the application palette.
*/
- public static native QPalette createApplicationPalette();
+ public static native TQPalette createApplicationPalette();
/**
Raw access for use by KDM.
@short
*/
- public static native QPalette createApplicationPalette(KConfig config, int contrast);
+ public static native TQPalette createApplicationPalette(KConfig config, int contrast);
/**
Installs a handler for the SIGPIPE signal. It is thrown when you write to
a pipe or socket that has been closed.