summaryrefslogtreecommitdiffstats
path: root/kview/modules/template
diff options
context:
space:
mode:
Diffstat (limited to 'kview/modules/template')
-rw-r--r--kview/modules/template/kviewtemplate.cpp8
-rw-r--r--kview/modules/template/kviewtemplate.h2
2 files changed, 5 insertions, 5 deletions
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 <qobjectlist.h>
+#include <tqobjectlist.h>
#include <kaction.h>
/*#include <klocale.h>*/
@@ -15,16 +15,16 @@
typedef KGenericFactory<KViewTemplate> 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<KImageViewer::Viewer *>( 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: