summaryrefslogtreecommitdiffstats
path: root/kate/filetemplates/plugin/filetemplates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/filetemplates/plugin/filetemplates.cpp')
-rw-r--r--kate/filetemplates/plugin/filetemplates.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kate/filetemplates/plugin/filetemplates.cpp b/kate/filetemplates/plugin/filetemplates.cpp
index 2bae5f8..2ed6036 100644
--- a/kate/filetemplates/plugin/filetemplates.cpp
+++ b/kate/filetemplates/plugin/filetemplates.cpp
@@ -98,9 +98,9 @@ KatePluginFactory::~KatePluginFactory()
delete s_instance;
}
-TQObject* KatePluginFactory::createObject( TQObject* tqparent, const char* name, const char*, const TQStringList & )
+TQObject* KatePluginFactory::createObject( TQObject* parent, const char* name, const char*, const TQStringList & )
{
- return new KateFileTemplates( tqparent, name );
+ return new KateFileTemplates( parent, name );
}
KInstance* KatePluginFactory::s_instance = 0L;
@@ -125,8 +125,8 @@ class TemplateInfo
//END TemplateInfo
//BEGIN KateFileTemplates
-KateFileTemplates::KateFileTemplates( TQObject* tqparent, const char* name )
- : Kate::Plugin ( (Kate::Application*)tqparent, name ),
+KateFileTemplates::KateFileTemplates( TQObject* parent, const char* name )
+ : Kate::Plugin ( (Kate::Application*)parent, name ),
m_actionCollection( new KActionCollection( this, "template_actions", new KInstance("kate") ) )
{
// create actions, so that they are shared.
@@ -544,8 +544,8 @@ void KateFileTemplates::slotEditTemplate()
//BEGIN KateTemplateInfoWidget
// This widget can be used to change the data of a TemplateInfo object
-KateTemplateInfoWidget::KateTemplateInfoWidget( TQWidget *tqparent, TemplateInfo *info, KateFileTemplates *kft )
- : TQWidget( tqparent ),
+KateTemplateInfoWidget::KateTemplateInfoWidget( TQWidget *parent, TemplateInfo *info, KateFileTemplates *kft )
+ : TQWidget( parent ),
info( info ),
kft( kft )
{
@@ -659,8 +659,8 @@ void KateTemplateInfoWidget::slotHlSet( int id )
//BEGIN KateTemplateWizard
// A simple wizard to help create a new template :-)
-KateTemplateWizard::KateTemplateWizard( TQWidget *tqparent, KateFileTemplates *kft )
- : KWizard( tqparent ),
+KateTemplateWizard::KateTemplateWizard( TQWidget *parent, KateFileTemplates *kft )
+ : KWizard( parent ),
kft( kft )
{
// Hide the help button for now
@@ -733,7 +733,7 @@ KateTemplateWizard::KateTemplateWizard( TQWidget *tqparent, KateFileTemplates *k
map[ "fullname" ] = "";
map[ "email" ] = "";
- KTextEditor::TemplateInterface::expandMacros( map, tqparent );
+ KTextEditor::TemplateInterface::expandMacros( map, parent );
TQString sFullname = map["fullname"];
TQString sEmail = map["email"];
TQString _s = sFullname;
@@ -1072,8 +1072,8 @@ void KateTemplateWizard::accept()
class KateTemplateItem : public KListViewItem
{
public:
- KateTemplateItem( KListViewItem *tqparent, TemplateInfo *templateinfo )
- : KListViewItem( tqparent, templateinfo->tmplate ), templateinfo( templateinfo )
+ KateTemplateItem( KListViewItem *parent, TemplateInfo *templateinfo )
+ : KListViewItem( parent, templateinfo->tmplate ), templateinfo( templateinfo )
{
}
TemplateInfo *templateinfo;
@@ -1083,7 +1083,7 @@ class KateTemplateItem : public KListViewItem
//BEGIN KFTNewStuff
class KFTNewStuff : public KNewStuff {
public:
- KFTNewStuff( const TQString &type, TQWidget *tqparent=0 ) : KNewStuff( type, tqparent ), m_win( tqparent ) {}
+ KFTNewStuff( const TQString &type, TQWidget *parent=0 ) : KNewStuff( type, parent ), m_win( parent ) {}
~KFTNewStuff() {}
bool install( const TQString &/*filename*/ ) { return true; }
bool createUploadFile( const TQString &/*filename*/ ) { return false; }
@@ -1099,8 +1099,8 @@ class KFTNewStuff : public KNewStuff {
//END KTNewStuff
//BEGIN KateTemplateManager
-KateTemplateManager::KateTemplateManager( KateFileTemplates *kft, TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+KateTemplateManager::KateTemplateManager( KateFileTemplates *kft, TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
, kft( kft )
{
TQGridLayout *lo = new TQGridLayout( this, 2, 6 );