From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- interfaces/khexedit/byteseditinterface.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'interfaces/khexedit/byteseditinterface.h') diff --git a/interfaces/khexedit/byteseditinterface.h b/interfaces/khexedit/byteseditinterface.h index dbc4c96bd..dc0a9dca5 100644 --- a/interfaces/khexedit/byteseditinterface.h +++ b/interfaces/khexedit/byteseditinterface.h @@ -21,7 +21,7 @@ // kde specific #include -#include +#include /** * @short KHE (short for KHexEdit) is KDE's namespace for all things related @@ -64,7 +64,7 @@ namespace KHE * \code * BytesEdit->setMaxDataSize( MaxDataSize ); * ... - * QByteArray BA; + * TQByteArray BA; * BA.setRawData( BytesEdit->data(), BytesEdit->dataSize() ); * \endcode * @@ -173,7 +173,7 @@ inline BytesEditInterface *bytesEditInterface( T *t ) * #include * ... * - * QWidget *BytesEditWidget = KHE::createBytesEditWidget( this, "BytesEditWidget" ); + * TQWidget *BytesEditWidget = KHE::createBytesEditWidget( this, "BytesEditWidget" ); * // is e.g. kdeutils (incl. khexedit2) installed, so a widget could be found and created? * if( BytesEditWidget ) * { @@ -205,8 +205,8 @@ inline BytesEditInterface *bytesEditInterface( T *t ) *   KHE::ClipboardInterface *Clipboard = KHE::clipboardInterface( BytesEditWidget ); *   if( Clipboard ) *   { - *     // Yes, use BytesEditWidget, not Clipboard, because that's the QObject, indeed hacky... - *     connect( BytesEditWidget, SIGNAL(copyAvailable(bool)), this, SLOT(offerCopy(bool)) ); + *     // Yes, use BytesEditWidget, not Clipboard, because that's the TQObject, indeed hacky... + *     connect( BytesEditWidget, TQT_SIGNAL(copyAvailable(bool)), this, TQT_SLOT(offerCopy(bool)) ); *   } * } * \endcode @@ -218,10 +218,10 @@ inline BytesEditInterface *bytesEditInterface( T *t ) * @see BytesEditInterface, ValueColumnInterface, CharColumnInterface, ZoomInterface, ClipboardInterface * @since 3.2 */ -inline QWidget *createBytesEditWidget( QWidget *Parent = 0, const char *Name = 0 ) +inline TQWidget *createBytesEditWidget( TQWidget *Parent = 0, const char *Name = 0 ) { - return KParts::ComponentFactory::createInstanceFromQuery - ( QString::fromLatin1("KHexEdit/KBytesEdit"), QString::null, Parent, Name ); + return KParts::ComponentFactory::createInstanceFromQuery + ( TQString::fromLatin1("KHexEdit/KBytesEdit"), TQString::null, Parent, Name ); } } -- cgit v1.2.3