diff options
Diffstat (limited to 'kate/insertcommand')
-rw-r--r-- | kate/insertcommand/plugin_kateinsertcommand.cpp | 14 | ||||
-rw-r--r-- | kate/insertcommand/plugin_kateinsertcommand.h | 8 |
2 files changed, 11 insertions, 11 deletions
diff --git a/kate/insertcommand/plugin_kateinsertcommand.cpp b/kate/insertcommand/plugin_kateinsertcommand.cpp index 74f857e..813b36a 100644 --- a/kate/insertcommand/plugin_kateinsertcommand.cpp +++ b/kate/insertcommand/plugin_kateinsertcommand.cpp @@ -57,8 +57,8 @@ class PluginView : public KXMLGUIClient //END //BEGIN PluginKateInsertCommand -PluginKateInsertCommand::PluginKateInsertCommand( TQObject* tqparent, const char* name, const TQStringList& ) - : Kate::Plugin ( (Kate::Application *)tqparent, name ), +PluginKateInsertCommand::PluginKateInsertCommand( TQObject* parent, const char* name, const TQStringList& ) + : Kate::Plugin ( (Kate::Application *)parent, name ), kv ( 0 ), sh ( 0 ) { @@ -277,13 +277,13 @@ void PluginKateInsertCommand::applyConfig( InsertCommandConfigPage *p ) //BEGIN CmdPrompt // This is a simple dialog to retrieve a command and decide if // stdErr should be included in the text inserted. -CmdPrompt::CmdPrompt(TQWidget* tqparent, +CmdPrompt::CmdPrompt(TQWidget* parent, const char* name, const TQStringList& cmdhist, const TQString& dir, const TQString& /*docdir*/, int settings) - : KDialogBase (tqparent, name, true, i18n("Insert Command"), Ok|Cancel, Ok, true) + : KDialogBase (parent, name, true, i18n("Insert Command"), Ok|Cancel, Ok, true) { TQWidget *page = new TQWidget( this ); setMainWidget(page); @@ -345,8 +345,8 @@ void CmdPrompt::slotTextChanged(const TQString &text) //BEGIN WaitDlg implementation // This is a dialog that is displayed while a command is running, // with a cancel button to allow the user to kill the command -WaitDlg::WaitDlg(TQWidget* tqparent, const TQString& text, const TQString& title) - : KDialogBase( tqparent, "wait dialog", true, title, Cancel, Cancel, true ) +WaitDlg::WaitDlg(TQWidget* parent, const TQString& text, const TQString& title) + : KDialogBase( parent, "wait dialog", true, title, Cancel, Cancel, true ) { TQWidget *page = new TQWidget( this ); setMainWidget( page ); @@ -366,7 +366,7 @@ WaitDlg::~WaitDlg() //BEGIN InsertCommandConfigPage // This is the config page for this plugin. -InsertCommandConfigPage::InsertCommandConfigPage(TQObject* /*tqparent*/, +InsertCommandConfigPage::InsertCommandConfigPage(TQObject* /*parent*/, TQWidget *parentWidget) : Kate::PluginConfigPage( parentWidget ) { diff --git a/kate/insertcommand/plugin_kateinsertcommand.h b/kate/insertcommand/plugin_kateinsertcommand.h index 9a33cbe..c5bd551 100644 --- a/kate/insertcommand/plugin_kateinsertcommand.h +++ b/kate/insertcommand/plugin_kateinsertcommand.h @@ -58,7 +58,7 @@ class PluginKateInsertCommand : public Kate::Plugin, TQ_OBJECT public: - PluginKateInsertCommand( TQObject* tqparent = 0, const char* name = 0, const TQStringList& = TQStringList() ); + PluginKateInsertCommand( TQObject* parent = 0, const char* name = 0, const TQStringList& = TQStringList() ); virtual ~PluginKateInsertCommand(); void addView (Kate::MainWindow *win); @@ -106,7 +106,7 @@ class CmdPrompt : public KDialogBase Q_OBJECT TQ_OBJECT public: - CmdPrompt(TQWidget* tqparent=0, + CmdPrompt(TQWidget* parent=0, const char* name=0, const TQStringList& cmdhist=TQStringList(), const TQString& dir=TQString(), @@ -132,7 +132,7 @@ private slots: class WaitDlg : public KDialogBase { public: - WaitDlg(TQWidget* tqparent, + WaitDlg(TQWidget* parent, const TQString& text=TQString(), const TQString& title=i18n("Please Wait")); ~WaitDlg(); @@ -146,7 +146,7 @@ class InsertCommandConfigPage : public Kate::PluginConfigPage friend class PluginKateInsertCommand; public: - InsertCommandConfigPage(TQObject* tqparent = 0L, TQWidget *parentWidget = 0L); + InsertCommandConfigPage(TQObject* parent = 0L, TQWidget *parentWidget = 0L); ~InsertCommandConfigPage() {} /** Reimplemented from Kate::PluginConfigPage |