summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kfileplugin
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kfileplugin')
-rw-r--r--languages/cpp/app_templates/kfileplugin/kfile_plugin.cpp4
-rw-r--r--languages/cpp/app_templates/kfileplugin/kfile_plugin.h3
-rw-r--r--languages/cpp/app_templates/kfileplugin/src-Makefile.am4
3 files changed, 6 insertions, 5 deletions
diff --git a/languages/cpp/app_templates/kfileplugin/kfile_plugin.cpp b/languages/cpp/app_templates/kfileplugin/kfile_plugin.cpp
index db259cb3..5ccbec50 100644
--- a/languages/cpp/app_templates/kfileplugin/kfile_plugin.cpp
+++ b/languages/cpp/app_templates/kfileplugin/kfile_plugin.cpp
@@ -13,9 +13,9 @@ typedef KGenericFactory<%{APPNAME}Plugin> %{APPNAME}Factory;
K_EXPORT_COMPONENT_FACTORY(kfile_%{APPNAME}, %{APPNAME}Factory( "kfile_%{APPNAMELC}" ))
-%{APPNAME}Plugin::%{APPNAME}Plugin(TQObject *parent, const char *name,
+%{APPNAME}Plugin::%{APPNAME}Plugin(TQObject *tqparent, const char *name,
const TQStringList &args)
- : KFilePlugin(parent, name, args)
+ : KFilePlugin(tqparent, name, args)
{
//add the mimetype here - example:
//KFileMimeTypeInfo* info = addMimeTypeInfo( "text/html" );
diff --git a/languages/cpp/app_templates/kfileplugin/kfile_plugin.h b/languages/cpp/app_templates/kfileplugin/kfile_plugin.h
index 94776938..93303359 100644
--- a/languages/cpp/app_templates/kfileplugin/kfile_plugin.h
+++ b/languages/cpp/app_templates/kfileplugin/kfile_plugin.h
@@ -13,9 +13,10 @@ class TQStringList;
class %{APPNAME}Plugin: public KFilePlugin
{
Q_OBJECT
+ TQ_OBJECT
public:
- %{APPNAME}Plugin( TQObject *parent, const char *name, const TQStringList& args );
+ %{APPNAME}Plugin( TQObject *tqparent, const char *name, const TQStringList& args );
virtual bool readInfo( KFileMetaInfo& info, uint what);
};
diff --git a/languages/cpp/app_templates/kfileplugin/src-Makefile.am b/languages/cpp/app_templates/kfileplugin/src-Makefile.am
index 48ac1c66..4bfee32a 100644
--- a/languages/cpp/app_templates/kfileplugin/src-Makefile.am
+++ b/languages/cpp/app_templates/kfileplugin/src-Makefile.am
@@ -11,12 +11,12 @@ kfile_%{APPNAMELC}_la_SOURCES = kfile_%{APPNAMELC}.cpp
kfile_%{APPNAMELC}_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kfile_%{APPNAMELC}_la_LIBADD = $(LIB_KIO)
-# let automoc handle all of the meta source files (moc)
+# let autotqmoc handle all of the meta source files (tqmoc)
METASOURCES = AUTO
services_DATA = kfile_%{APPNAMELC}.desktop
servicesdir = $(kde_servicesdir)
messages: rc.cpp
- $(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
+ $(EXTRACTRC) `tqfind . -name \*.ui -o -name \*.rc` > rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/kfile_%{APPNAMELC}.pot