diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KService.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KService.java | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/kdejava/koala/org/kde/koala/KService.java b/kdejava/koala/org/kde/koala/KService.java index 002b78c2..4575e383 100644 --- a/kdejava/koala/org/kde/koala/KService.java +++ b/kdejava/koala/org/kde/koala/KService.java @@ -3,11 +3,11 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; -import org.kde.qt.QPixmap; +import org.kde.qt.TQDataStream; +import org.kde.qt.TQPixmap; import java.util.ArrayList; -import org.kde.qt.QVariant; -import org.kde.qt.QWidget; +import org.kde.qt.TQVariant; +import org.kde.qt.TQWidget; /** @@ -92,11 +92,11 @@ public class KService extends KSycocaEntry { The stream must already be positionned at the correct offset. @short */ - public KService(QDataStream _str, int offset) { + public KService(TQDataStream _str, int offset) { super((Class) null); newKService(_str,offset); } - private native void newKService(QDataStream _str, int offset); + private native void newKService(TQDataStream _str, int offset); /** Returns the type of the service. @return the type of the service ("Application" or "Service") @@ -154,10 +154,10 @@ public class KService extends KSycocaEntry { @short Returns the pixmap that represents the icon. @see #icon */ - public native QPixmap pixmap(int _group, int _force_size, int _state, StringBuffer _path); - public native QPixmap pixmap(int _group, int _force_size, int _state); - public native QPixmap pixmap(int _group, int _force_size); - public native QPixmap pixmap(int _group); + public native TQPixmap pixmap(int _group, int _force_size, int _state, StringBuffer _path); + public native TQPixmap pixmap(int _group, int _force_size, int _state); + public native TQPixmap pixmap(int _group, int _force_size); + public native TQPixmap pixmap(int _group); /** Checks whethe the service should be run in a terminal. @return true if the service is to be run in a terminal. @@ -167,12 +167,12 @@ public class KService extends KSycocaEntry { public native boolean terminal(); /** Returns any options associated with the terminal the service - runs in, if it requires a terminal. + runs in, if it retquires a terminal. The service must be a tty-oriented program. @return the terminal options, or null if not set - @short Returns any options associated with the terminal the service runs in, if it requires a terminal. + @short Returns any options associated with the terminal the service runs in, if it retquires a terminal. */ public native String terminalOptions(); /** @@ -375,7 +375,7 @@ public class KService extends KSycocaEntry { @short Returns the requested property. @see KServiceType */ - public native QVariant property(String _name); + public native TQVariant property(String _name); /** Returns the requested property. @param _name the name of the property @@ -385,7 +385,7 @@ public class KService extends KSycocaEntry { @short Returns the requested property. @see KServiceType */ - public native QVariant property(String _name, int t); + public native TQVariant property(String _name, int t); /** Returns the list of all properties that this service can have. That means, that some of these properties may be empty. @@ -413,12 +413,12 @@ public class KService extends KSycocaEntry { Load the service from a stream. @short */ - public native void load(QDataStream arg1); + public native void load(TQDataStream arg1); /** Save the service to a stream. @short */ - public native void save(QDataStream arg1); + public native void save(TQDataStream arg1); /** Set the menu id @short @@ -444,7 +444,7 @@ public class KService extends KSycocaEntry { @short Find a service by name, i. */ - // KService::Ptr serviceByName(const QString& arg1); >>>> NOT CONVERTED + // KService::Ptr serviceByName(const TQString& arg1); >>>> NOT CONVERTED /** Find a service based on its path as returned by desktopEntryPath(). It's usually better to use serviceByStorageId() instead. @@ -455,7 +455,7 @@ public class KService extends KSycocaEntry { @short Find a service based on its path as returned by desktopEntryPath(). */ - // KService::Ptr serviceByDesktopPath(const QString& arg1); >>>> NOT CONVERTED + // KService::Ptr serviceByDesktopPath(const TQString& arg1); >>>> NOT CONVERTED /** Find a service by the name of its desktop file, not depending on its actual location (as long as it's under the applnk or service @@ -470,7 +470,7 @@ public class KService extends KSycocaEntry { @short Find a service by the name of its desktop file, not depending on its actual location (as long as it's under the applnk or service directories). */ - // KService::Ptr serviceByDesktopName(const QString& arg1); >>>> NOT CONVERTED + // KService::Ptr serviceByDesktopName(const TQString& arg1); >>>> NOT CONVERTED /** Find a service by its menu-id @param _menuId the menu id of the service @@ -480,7 +480,7 @@ public class KService extends KSycocaEntry { @short Find a service by its menu-id */ - // KService::Ptr serviceByMenuId(const QString& arg1); >>>> NOT CONVERTED + // KService::Ptr serviceByMenuId(const TQString& arg1); >>>> NOT CONVERTED /** Find a service by its storage-id or desktop-file path. This function will try very hard to find a matching service. @@ -491,7 +491,7 @@ public class KService extends KSycocaEntry { @short Find a service by its storage-id or desktop-file path. */ - // KService::Ptr serviceByStorageId(const QString& arg1); >>>> NOT CONVERTED + // KService::Ptr serviceByStorageId(const TQString& arg1); >>>> NOT CONVERTED /** Returns the whole list of services. Useful for being able to @@ -504,11 +504,11 @@ public class KService extends KSycocaEntry { */ // KService::List allServices(); >>>> NOT CONVERTED /** - Returns all services that require initialisation. + Returns all services that retquire initialisation. Only needed by "kcminit" @return the list of all services that need to be initialized - @short Returns all services that require initialisation. + @short Returns all services that retquire initialisation. */ // KService::List allInitServices(); >>>> NOT CONVERTED /** @@ -535,7 +535,7 @@ public class KService extends KSycocaEntry { @param parent Parent widget for the progress dialog @short Rebuild KSycoca and show a progress dialog while doing so. */ - public static native void rebuildKSycoca(QWidget parent); + public static native void rebuildKSycoca(TQWidget parent); protected native void init(KDesktopFile config); protected native ArrayList accessServiceTypes(); /** Deletes the wrapped C++ instance */ |