diff options
Diffstat (limited to 'sip/kio/kdatatool.sip')
-rw-r--r-- | sip/kio/kdatatool.sip | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/sip/kio/kdatatool.sip b/sip/kio/kdatatool.sip index 3473e4d..8395429 100644 --- a/sip/kio/kdatatool.sip +++ b/sip/kio/kdatatool.sip @@ -35,19 +35,19 @@ public: KDataToolInfo (); KDataToolInfo (const KService::Ptr&, KInstance*); KDataToolInfo (const KDataToolInfo&); - QString dataType () const; - QStringList mimeTypes () const; + TQString dataType () const; + TQStringList mimeTypes () const; bool isReadOnly () const; - QPixmap icon () const; - QPixmap miniIcon () const; - QString iconName () const; - QStringList userCommands () const; - QStringList commands () const; - KDataTool* createTool (QObject* /Transfer/ = 0, const char* = 0) const; + TQPixmap icon () const; + TQPixmap miniIcon () const; + TQString iconName () const; + TQStringList userCommands () const; + TQStringList commands () const; + KDataTool* createTool (TQObject* /Transfer/ = 0, const char* = 0) const; KService::Ptr service () const; KInstance* instance () const; bool isValid () const; - static QValueList<KDataToolInfo> query (const QString&, const QString&, KInstance*); + static TQValueList<KDataToolInfo> query (const TQString&, const TQString&, KInstance*); }; // class KDataToolInfo @@ -60,11 +60,11 @@ class KDataToolAction : KAction public: - KDataToolAction (const QString&, const KDataToolInfo&, const QString&, QObject* /TransferThis/ = 0, const char* = 0); - static QPtrList<KAction> dataToolActionList (const QValueList<KDataToolInfo>&, const QObject*, const char*); + KDataToolAction (const TQString&, const KDataToolInfo&, const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); + static TQPtrList<KAction> dataToolActionList (const TQValueList<KDataToolInfo>&, const TQObject*, const char*); signals: - void toolActivated (const KDataToolInfo&, const QString&); + void toolActivated (const KDataToolInfo&, const TQString&); protected: virtual void slotActivated (); @@ -75,7 +75,7 @@ protected: }; // class KDataToolAction -class KDataTool : QObject +class KDataTool : TQObject { %TypeHeaderCode #include <kdatatool.h> @@ -83,10 +83,10 @@ class KDataTool : QObject public: - KDataTool (QObject* /TransferThis/ = 0, const char* = 0); + KDataTool (TQObject* /TransferThis/ = 0, const char* = 0); void setInstance (KInstance*); KInstance* instance () const; - virtual bool run (const QString&, void*, const QString&, const QString&) = 0; + virtual bool run (const TQString&, void*, const TQString&, const TQString&) = 0; protected: //igx virtual void virtual_hook (int, void*); @@ -95,7 +95,7 @@ protected: -%MappedType QValueList<KDataToolInfo> +%MappedType TQValueList<KDataToolInfo> //converts a Python list of KDataToolInfo { %TypeHeaderCode @@ -117,11 +117,11 @@ protected: // Get it. - QValueList<KDataToolInfo> *dlist = (QValueList<KDataToolInfo> *)sipCpp; + TQValueList<KDataToolInfo> *dlist = (TQValueList<KDataToolInfo> *)sipCpp; PyObject *inst; - QValueList<KDataToolInfo>::Iterator it; + TQValueList<KDataToolInfo>::Iterator it; for( it = dlist->begin(); it != dlist->end(); ++it ) { if ((inst = sipConvertFromNewType(new KDataToolInfo(*it), sipType_KDataToolInfo, NULL)) == NULL @@ -142,7 +142,7 @@ protected: if (sipIsErr == NULL) return PyList_Check(sipPy); - QValueList<KDataToolInfo> *dList = new QValueList<KDataToolInfo>; + TQValueList<KDataToolInfo> *dList = new TQValueList<KDataToolInfo>; PyObject *elem; KDataToolInfo *d; |