From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kview/modules/template/kviewtemplate.cpp | 8 ++++---- kview/modules/template/kviewtemplate.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kview/modules/template') diff --git a/kview/modules/template/kviewtemplate.cpp b/kview/modules/template/kviewtemplate.cpp index c8c6dc9d..f8277162 100644 --- a/kview/modules/template/kviewtemplate.cpp +++ b/kview/modules/template/kviewtemplate.cpp @@ -4,7 +4,7 @@ #include "kviewtemplate.h" -#include +#include #include /*#include */ @@ -15,16 +15,16 @@ typedef KGenericFactory KViewTemplateFactory; K_EXPORT_COMPONENT_FACTORY( kview_templateplugin, KViewTemplateFactory( "kviewtemplateplugin" ) ) -KViewTemplate::KViewTemplate( QObject* parent, const char* name, const QStringList & ) +KViewTemplate::KViewTemplate( TQObject* parent, const char* name, const TQStringList & ) : Plugin( parent, name ) { - QObjectList * viewerList = parent->queryList( 0, "KImageViewer Part", false, false ); + TQObjectList * viewerList = parent->queryList( 0, "KImageViewer Part", false, false ); m_pViewer = static_cast( viewerList->getFirst() ); delete viewerList; if( m_pViewer ) { (void) new KAction( /*i18n(*/ "&Do Something" /*)*/, 0, 0, - this, SLOT( yourSlot() ), + this, TQT_SLOT( yourSlot() ), actionCollection(), "plugin_template" ); } else diff --git a/kview/modules/template/kviewtemplate.h b/kview/modules/template/kviewtemplate.h index 1d158b05..5d49890e 100644 --- a/kview/modules/template/kviewtemplate.h +++ b/kview/modules/template/kviewtemplate.h @@ -13,7 +13,7 @@ class KViewTemplate : public KParts::Plugin { Q_OBJECT public: - KViewTemplate( QObject* parent, const char* name, const QStringList & ); + KViewTemplate( TQObject* parent, const char* name, const TQStringList & ); virtual ~KViewTemplate(); private slots: -- cgit v1.2.1