diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /sip/kio/ktrader.sip | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'sip/kio/ktrader.sip')
-rw-r--r-- | sip/kio/ktrader.sip | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sip/kio/ktrader.sip b/sip/kio/ktrader.sip index 1a2e358..19de25a 100644 --- a/sip/kio/ktrader.sip +++ b/sip/kio/ktrader.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KTrader : QObject +class KTrader : TQObject { %TypeHeaderCode #include <ktrader.h> @@ -32,14 +32,14 @@ class KTrader : QObject public: -//ig typedef QValueList<KService::Ptr> OfferList; +//ig typedef TQValueList<KService::Ptr> OfferList; %If ( KDE_3_1_0 - ) -//ig typedef QValueListIterator<KService::Ptr> OfferListIterator; +//ig typedef TQValueListIterator<KService::Ptr> OfferListIterator; %End - virtual KTrader::OfferList query (const QString&, const QString& = QString ::null , const QString& = QString ::null ) const; - KTrader::OfferList query (const QString&, const QString&, const QString&, const QString&) const; + virtual KTrader::OfferList query (const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null ) const; + KTrader::OfferList query (const TQString&, const TQString&, const TQString&, const TQString&) const; static KTrader* self (); protected: @@ -69,11 +69,11 @@ protected: if ((pylist = PyList_New(0)) == NULL) return NULL; - QValueList<KService::Ptr> *cpplist = (QValueList<KService::Ptr> *)sipCpp; + TQValueList<KService::Ptr> *cpplist = (TQValueList<KService::Ptr> *)sipCpp; PyObject *inst; // Get it. - QValueList<KService::Ptr>::Iterator it; + TQValueList<KService::Ptr>::Iterator it; for( it = cpplist->begin(); it != cpplist->end(); ++it ) { KService::Ptr cpp = *it; @@ -94,7 +94,7 @@ protected: if (sipIsErr == NULL) return PyList_Check(sipPy); - QValueList<KService::Ptr> *cpplist = new QValueList<KService::Ptr>; + TQValueList<KService::Ptr> *cpplist = new TQValueList<KService::Ptr>; PyObject *elem; KService::Ptr *cpp; |