From 203ba231d0276943aae36111f9ec1e949f3c6a4c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 3 Dec 2011 22:23:44 -0600 Subject: Initial TQt conversion --- sip/kio/ktrader.sip | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'sip/kio/ktrader.sip') 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 @@ -32,14 +32,14 @@ class KTrader : QObject public: -//ig typedef QValueList OfferList; +//ig typedef TQValueList OfferList; %If ( KDE_3_1_0 - ) -//ig typedef QValueListIterator OfferListIterator; +//ig typedef TQValueListIterator 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 *cpplist = (QValueList *)sipCpp; + TQValueList *cpplist = (TQValueList *)sipCpp; PyObject *inst; // Get it. - QValueList::Iterator it; + TQValueList::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 *cpplist = new QValueList; + TQValueList *cpplist = new TQValueList; PyObject *elem; KService::Ptr *cpp; -- cgit v1.2.1