From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kioslave/man/kmanpart.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kioslave/man/kmanpart.cpp') diff --git a/kioslave/man/kmanpart.cpp b/kioslave/man/kmanpart.cpp index 307a8c6b2..b52085596 100644 --- a/kioslave/man/kmanpart.cpp +++ b/kioslave/man/kmanpart.cpp @@ -18,7 +18,7 @@ */ #include "kmanpart.h" -#include +#include #include #include @@ -39,7 +39,7 @@ extern "C" KInstance* KManPartFactory::s_instance = 0L; KAboutData* KManPartFactory::s_about = 0L; -KManPartFactory::KManPartFactory( QObject* parent, const char* name ) +KManPartFactory::KManPartFactory( TQObject* parent, const char* name ) : KParts::Factory( parent, name ) {} @@ -50,8 +50,8 @@ KManPartFactory::~KManPartFactory() delete s_about; } -KParts::Part* KManPartFactory::createPartObject( QWidget * parentWidget, const char* /*widgetName*/, QObject *, - const char* name, const char* /*className*/,const QStringList & ) +KParts::Part* KManPartFactory::createPartObject( TQWidget * parentWidget, const char* /*widgetName*/, TQObject *, + const char* name, const char* /*className*/,const TQStringList & ) { KManPart* part = new KManPart(parentWidget, name ); return part; @@ -69,7 +69,7 @@ KInstance* KManPartFactory::instance() } -KManPart::KManPart( QWidget * parent, const char * name ) +KManPart::KManPart( TQWidget * parent, const char * name ) : KHTMLPart( parent, name ) ,m_job(0) { @@ -95,12 +95,12 @@ bool KManPart::openFile() url.setPath( m_file ); m_job = KIO::get( url, true, false ); - connect( m_job, SIGNAL( data( KIO::Job *, const QByteArray &) ), SLOT( readData( KIO::Job *, const QByteArray &) ) ); - connect( m_job, SIGNAL( result( KIO::Job * ) ), SLOT( jobDone( KIO::Job * ) ) ); + connect( m_job, TQT_SIGNAL( data( KIO::Job *, const TQByteArray &) ), TQT_SLOT( readData( KIO::Job *, const TQByteArray &) ) ); + connect( m_job, TQT_SIGNAL( result( KIO::Job * ) ), TQT_SLOT( jobDone( KIO::Job * ) ) ); return true; } -void KManPart::readData(KIO::Job * , const QByteArray & data) +void KManPart::readData(KIO::Job * , const TQByteArray & data) { write(data,data.size()); } -- cgit v1.2.1