summaryrefslogtreecommitdiffstats
path: root/sip/kio/kservice.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/kio/kservice.sip')
-rw-r--r--sip/kio/kservice.sip92
1 files changed, 46 insertions, 46 deletions
diff --git a/sip/kio/kservice.sip b/sip/kio/kservice.sip
index fcb0aaf..cee5e51 100644
--- a/sip/kio/kservice.sip
+++ b/sip/kio/kservice.sip
@@ -33,30 +33,30 @@ class KService : KSycocaEntry
public:
//ig typedef KSharedPtr<KService> Ptr;
-//ig typedef QValueList<KService::Ptr> List;
+//ig typedef TQValueList<KService::Ptr> List;
public:
- KService (const QString&, const QString&, const QString&);
- KService (const QString&);
+ KService (const TQString&, const TQString&, const TQString&);
+ KService (const TQString&);
KService (KDesktopFile*);
- KService (QDataStream&, int);
- virtual QString type () /PyName=type_/;
- virtual QString name () const;
- QString exec () /PyName=exec_/;
- QString library () const;
- QString init () const;
- QString icon () const;
- QPixmap pixmap (KIcon::Group, int = 0, int = 0, QString* = 0) const;
+ KService (TQDataStream&, int);
+ virtual TQString type () /PyName=type_/;
+ virtual TQString name () const;
+ TQString exec () /PyName=exec_/;
+ TQString library () const;
+ TQString init () const;
+ TQString icon () const;
+ TQPixmap pixmap (KIcon::Group, int = 0, int = 0, TQString* = 0) const;
bool terminal () const;
- QString terminalOptions () const;
+ TQString terminalOptions () const;
bool substituteUid () const;
- QString username () const;
- QString desktopEntryPath () const;
- QString desktopEntryName () const;
+ TQString username () const;
+ TQString desktopEntryPath () const;
+ TQString desktopEntryName () const;
%If ( KDE_3_2_0 - )
- QString menuId () const;
- QString storageId () const;
+ TQString menuId () const;
+ TQString storageId () const;
%End
@@ -69,80 +69,80 @@ public:
};
DCOPServiceType_t DCOPServiceType () const;
- QString path () const;
- QString comment () const;
- QString genericName () const;
+ TQString path () const;
+ TQString comment () const;
+ TQString genericName () const;
%If ( KDE_3_2_0 - )
- QString untranslatedGenericName () const;
+ TQString untranslatedGenericName () const;
%End
- QStringList keywords () const;
+ TQStringList keywords () const;
%If ( KDE_3_1_0 - )
- QStringList categories () const;
+ TQStringList categories () const;
%End
- QStringList serviceTypes () const;
- bool hasServiceType (const QString&) const;
+ TQStringList serviceTypes () const;
+ bool hasServiceType (const TQString&) const;
bool allowAsDefault () const;
bool allowMultipleFiles () const;
int initialPreference () const;
%If ( KDE_3_2_0 - )
- int initialPreferenceForMimeType (const QString&) const;
+ int initialPreferenceForMimeType (const TQString&) const;
%End
void setInitialPreference (int);
bool noDisplay () const;
%If ( KDE_3_1_0 - )
- QString parentApp () const;
+ TQString parentApp () const;
%End
- virtual QVariant property (const QString&) const;
+ virtual TQVariant property (const TQString&) const;
%If ( KDE_3_2_0 - )
- QVariant property (const QString&, QVariant::Type) const;
+ TQVariant property (const TQString&, TQVariant::Type) const;
%End
- virtual QStringList propertyNames () const;
+ virtual TQStringList propertyNames () const;
bool isValid () const;
%If ( KDE_3_2_0 - )
- QString locateLocal ();
+ TQString locateLocal ();
%End
- virtual void load (QDataStream&);
- virtual void save (QDataStream&);
+ virtual void load (TQDataStream&);
+ virtual void save (TQDataStream&);
%If ( KDE_3_2_0 - )
- void setMenuId (const QString&);
+ void setMenuId (const TQString&);
void setTerminal (bool);
- void setTerminalOptions (const QString&);
+ void setTerminalOptions (const TQString&);
%End
- static KService::Ptr serviceByName (const QString&);
- static KService::Ptr serviceByDesktopPath (const QString&);
- static KService::Ptr serviceByDesktopName (const QString&);
+ static KService::Ptr serviceByName (const TQString&);
+ static KService::Ptr serviceByDesktopPath (const TQString&);
+ static KService::Ptr serviceByDesktopName (const TQString&);
%If ( KDE_3_2_0 - )
- static KService::Ptr serviceByMenuId (const QString&);
- static KService::Ptr serviceByStorageId (const QString&);
+ static KService::Ptr serviceByMenuId (const TQString&);
+ static KService::Ptr serviceByStorageId (const TQString&);
%End
static KService::List allServices ();
static KService::List allInitServices ();
%If ( KDE_3_2_0 - )
- static QString newServicePath (bool, const QString&, QString* = 0, const QStringList* = 0);
- static void rebuildKSycoca (QWidget* /Transfer/);
+ static TQString newServicePath (bool, const TQString&, TQString* = 0, const TQStringList* = 0);
+ static void rebuildKSycoca (TQWidget* /Transfer/);
%End
protected:
void init (KDesktopFile*);
- QStringList& accessServiceTypes ();
+ TQStringList& accessServiceTypes ();
%If ( KDE_3_1_1 - )
@@ -210,14 +210,14 @@ protected:
#include <qvaluelist.h>
#include <kservice.h>
//typedef KSharedPtr<KService> Ptr;
-//typedef QValueList<Ptr> SvcList;
+//typedef TQValueList<Ptr> SvcList;
//typedef KService::List SvcList;
-typedef QValueList<KService::Ptr> List;
+typedef TQValueList<KService::Ptr> List;
%End
%ConvertFromTypeCode
// Convert to a Python list of Ptr (KService).
-#define QUOTE ""
+#define TQUOTE ""
if (!sipCpp)
return PyList_New (0);