summaryrefslogtreecommitdiffstats
path: root/kapptemplate
diff options
context:
space:
mode:
Diffstat (limited to 'kapptemplate')
-rw-r--r--kapptemplate/kapp/apppref.cpp8
-rw-r--r--kapptemplate/kapp/apppref.h4
-rw-r--r--kapptemplate/kapp/appview.cpp4
-rw-r--r--kapptemplate/kapp/appview.h2
-rw-r--r--kapptemplate/kpartapp/app_part.cpp6
-rw-r--r--kapptemplate/kpartapp/app_part.h2
-rw-r--r--kapptemplate/kpartplugin/plugin_app.cpp10
-rw-r--r--kapptemplate/kpartplugin/plugin_app.h2
8 files changed, 19 insertions, 19 deletions
diff --git a/kapptemplate/kapp/apppref.cpp b/kapptemplate/kapp/apppref.cpp
index 5ab7d8a6..8716b3e0 100644
--- a/kapptemplate/kapp/apppref.cpp
+++ b/kapptemplate/kapp/apppref.cpp
@@ -22,8 +22,8 @@ ${APP_NAME}Preferences::${APP_NAME}Preferences()
m_pageTwo = new ${APP_NAME}PrefPageTwo(frame);
}
-${APP_NAME}PrefPageOne::${APP_NAME}PrefPageOne(TQWidget *tqparent)
- : TQFrame(tqparent)
+${APP_NAME}PrefPageOne::${APP_NAME}PrefPageOne(TQWidget *parent)
+ : TQFrame(parent)
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
tqlayout->setAutoAdd(true);
@@ -31,8 +31,8 @@ ${APP_NAME}PrefPageOne::${APP_NAME}PrefPageOne(TQWidget *tqparent)
new TQLabel("Add something here", this);
}
-${APP_NAME}PrefPageTwo::${APP_NAME}PrefPageTwo(TQWidget *tqparent)
- : TQFrame(tqparent)
+${APP_NAME}PrefPageTwo::${APP_NAME}PrefPageTwo(TQWidget *parent)
+ : TQFrame(parent)
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
tqlayout->setAutoAdd(true);
diff --git a/kapptemplate/kapp/apppref.h b/kapptemplate/kapp/apppref.h
index c20c8af3..5424df0e 100644
--- a/kapptemplate/kapp/apppref.h
+++ b/kapptemplate/kapp/apppref.h
@@ -26,7 +26,7 @@ class ${APP_NAME}PrefPageOne : public TQFrame
Q_OBJECT
TQ_OBJECT
public:
- ${APP_NAME}PrefPageOne(TQWidget *tqparent = 0);
+ ${APP_NAME}PrefPageOne(TQWidget *parent = 0);
};
class ${APP_NAME}PrefPageTwo : public TQFrame
@@ -34,7 +34,7 @@ class ${APP_NAME}PrefPageTwo : public TQFrame
Q_OBJECT
TQ_OBJECT
public:
- ${APP_NAME}PrefPageTwo(TQWidget *tqparent = 0);
+ ${APP_NAME}PrefPageTwo(TQWidget *parent = 0);
};
#endif // ${APP_NAME_UC}PREF_H
diff --git a/kapptemplate/kapp/appview.cpp b/kapptemplate/kapp/appview.cpp
index 48365348..bc923619 100644
--- a/kapptemplate/kapp/appview.cpp
+++ b/kapptemplate/kapp/appview.cpp
@@ -12,8 +12,8 @@ cat << EOF > $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}view.cpp
#include <kmessagebox.h>
#include <krun.h>
-${APP_NAME}View::${APP_NAME}View(TQWidget *tqparent)
- : TQWidget(tqparent),
+${APP_NAME}View::${APP_NAME}View(TQWidget *parent)
+ : TQWidget(parent),
DCOPObject("${APP_NAME}Iface")
{
// setup our tqlayout manager to automatically add our widgets
diff --git a/kapptemplate/kapp/appview.h b/kapptemplate/kapp/appview.h
index 25dddfd1..1240b280 100644
--- a/kapptemplate/kapp/appview.h
+++ b/kapptemplate/kapp/appview.h
@@ -29,7 +29,7 @@ public:
/**
* Default constructor
*/
- ${APP_NAME}View(TQWidget *tqparent);
+ ${APP_NAME}View(TQWidget *parent);
/**
* Destructor
diff --git a/kapptemplate/kpartapp/app_part.cpp b/kapptemplate/kpartapp/app_part.cpp
index 831e5f95..adbda9db 100644
--- a/kapptemplate/kpartapp/app_part.cpp
+++ b/kapptemplate/kpartapp/app_part.cpp
@@ -18,9 +18,9 @@ typedef KParts::GenericFactory<${APP_NAME}Part> ${APP_NAME}PartFactory;
K_EXPORT_COMPONENT_FACTORY( lib${APP_NAME_LC}part, ${APP_NAME}PartFactory )
${APP_NAME}Part::${APP_NAME}Part( TQWidget *parentWidget, const char *widgetName,
- TQObject *tqparent, const char *name,
+ TQObject *parent, const char *name,
const TQStringList & /*args*/ )
- : KParts::ReadWritePart(tqparent, name)
+ : KParts::ReadWritePart(parent, name)
{
// we need an instance
setInstance( ${APP_NAME}PartFactory::instance() );
@@ -79,7 +79,7 @@ void ${APP_NAME}Part::setModified(bool modified)
else
save->setEnabled(false);
- // in any event, we want our tqparent to do it's thing
+ // in any event, we want our parent to do it's thing
ReadWritePart::setModified(modified);
}
diff --git a/kapptemplate/kpartapp/app_part.h b/kapptemplate/kpartapp/app_part.h
index 72687a6d..89fe4974 100644
--- a/kapptemplate/kpartapp/app_part.h
+++ b/kapptemplate/kpartapp/app_part.h
@@ -28,7 +28,7 @@ public:
* Default constructor
*/
${APP_NAME}Part(TQWidget *parentWidget, const char *widgetName,
- TQObject *tqparent, const char *name, const TQStringList &args);
+ TQObject *parent, const char *name, const TQStringList &args);
/**
* Destructor
diff --git a/kapptemplate/kpartplugin/plugin_app.cpp b/kapptemplate/kpartplugin/plugin_app.cpp
index c6a27fb8..0ec7a273 100644
--- a/kapptemplate/kpartplugin/plugin_app.cpp
+++ b/kapptemplate/kpartplugin/plugin_app.cpp
@@ -13,9 +13,9 @@ typedef KGenericFactory<Plugin${APP_NAME}> ${APP_NAME}Factory;
K_EXPORT_COMPONENT_FACTORY( lib${APP_NAME_LC}plugin,
${APP_NAME}Factory( "${APP_NAME_LC}" ) );
-Plugin${APP_NAME}::Plugin${APP_NAME}( TQObject* tqparent, const char* name,
+Plugin${APP_NAME}::Plugin${APP_NAME}( TQObject* parent, const char* name,
const TQStringList & /*args*/ )
- : Plugin( tqparent, name )
+ : Plugin( parent, name )
{
// Instantiate all of your actions here. These will appear in
// Konqueror's menu and toolbars.
@@ -33,7 +33,7 @@ void Plugin${APP_NAME}::slotAction()
// This plugin assumes KHTMLPart. If your plugin can handle more
// than this or a different Part than this, simply delete or
// change the following block.
- if ( !tqparent()->inherits("KHTMLPart") )
+ if ( !parent()->inherits("KHTMLPart") )
{
TQString title( i18n( "Cannot Translate Source" ) );
TQString text( i18n( "You cannot translate anything except web pages "
@@ -43,9 +43,9 @@ void Plugin${APP_NAME}::slotAction()
return;
}
- // Get a handle on our tqparent so we may get the necessary data for
+ // Get a handle on our parent so we may get the necessary data for
// processing
- KHTMLPart *part = dynamic_cast<KHTMLPart *>(tqparent());
+ KHTMLPart *part = dynamic_cast<KHTMLPart *>(parent());
// This plugin only uses the URL. You may use whatever data you
// need.
diff --git a/kapptemplate/kpartplugin/plugin_app.h b/kapptemplate/kpartplugin/plugin_app.h
index 2d1745f5..2ff1c439 100644
--- a/kapptemplate/kpartplugin/plugin_app.h
+++ b/kapptemplate/kpartplugin/plugin_app.h
@@ -10,7 +10,7 @@ class Plugin${APP_NAME} : public KParts::Plugin
Q_OBJECT
TQ_OBJECT
public:
- Plugin${APP_NAME}( TQObject* tqparent = 0, const char* name = 0,
+ Plugin${APP_NAME}( TQObject* parent = 0, const char* name = 0,
const TQStringList &args = TQStringList() );
virtual ~Plugin${APP_NAME}();