diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kparts/browserinterface.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kparts/browserinterface.cpp')
-rw-r--r-- | kparts/browserinterface.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kparts/browserinterface.cpp b/kparts/browserinterface.cpp index 77e12e2b8..fc9909a9f 100644 --- a/kparts/browserinterface.cpp +++ b/kparts/browserinterface.cpp @@ -1,15 +1,15 @@ #include "browserinterface.h" -#include <qmetaobject.h> +#include <tqmetaobject.h> #include <config.h> #include <private/qucomextra_p.h> using namespace KParts; -BrowserInterface::BrowserInterface( QObject *parent, const char *name ) - : QObject( parent, name ) +BrowserInterface::BrowserInterface( TQObject *parent, const char *name ) + : TQObject( parent, name ) { } @@ -17,7 +17,7 @@ BrowserInterface::~BrowserInterface() { } -void BrowserInterface::callMethod( const char *name, const QVariant &argument ) +void BrowserInterface::callMethod( const char *name, const TQVariant &argument ) { int slot = metaObject()->findSlot( name ); @@ -25,28 +25,28 @@ void BrowserInterface::callMethod( const char *name, const QVariant &argument ) return; QUObject o[ 2 ]; - QStringList strLst; + TQStringList strLst; uint i; switch ( argument.type() ) { - case QVariant::Invalid: + case TQVariant::Invalid: break; - case QVariant::String: + case TQVariant::String: static_QUType_QString.set( o + 1, argument.toString() ); break; - case QVariant::StringList: + case TQVariant::StringList: strLst = argument.toStringList(); static_QUType_ptr.set( o + 1, &strLst ); break; - case QVariant::Int: + case TQVariant::Int: static_QUType_int.set( o + 1, argument.toInt() ); break; - case QVariant::UInt: + case TQVariant::UInt: i = argument.toUInt(); static_QUType_ptr.set( o + 1, &i ); break; - case QVariant::Bool: + case TQVariant::Bool: static_QUType_bool.set( o + 1, argument.toBool() ); break; default: return; |