diff options
Diffstat (limited to 'kate/insertcommand/plugin_kateinsertcommand.h')
-rw-r--r-- | kate/insertcommand/plugin_kateinsertcommand.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/kate/insertcommand/plugin_kateinsertcommand.h b/kate/insertcommand/plugin_kateinsertcommand.h index c948b38..aa0f904 100644 --- a/kate/insertcommand/plugin_kateinsertcommand.h +++ b/kate/insertcommand/plugin_kateinsertcommand.h @@ -33,7 +33,7 @@ #include <klibloader.h> #include <klocale.h> #include <kurlrequester.h> -#include <qcheckbox.h> +#include <tqcheckbox.h> class InsertCommandConfigPage; @@ -57,7 +57,7 @@ class PluginKateInsertCommand : public Kate::Plugin, Q_OBJECT public: - PluginKateInsertCommand( QObject* parent = 0, const char* name = 0, const QStringList& = QStringList() ); + PluginKateInsertCommand( TQObject* parent = 0, const char* name = 0, const TQStringList& = TQStringList() ); virtual ~PluginKateInsertCommand(); void addView (Kate::MainWindow *win); @@ -66,14 +66,14 @@ class PluginKateInsertCommand : public Kate::Plugin, Kate::View *kv; WaitDlg *wdlg; - QPtrList<class PluginView> m_views; + TQPtrList<class PluginView> m_views; uint configPages () const { return 1; } - Kate::PluginConfigPage *configPage (uint , QWidget *w, const char *name=0); - QString configPageName(uint) const { return i18n("Insert Command"); } - QString configPageFullName(uint) const { + Kate::PluginConfigPage *configPage (uint , TQWidget *w, const char *name=0); + TQString configPageName(uint) const { return i18n("Insert Command"); } + TQString configPageFullName(uint) const { return i18n("Configure Insert Command Plugin"); } - QPixmap configPagePixmap (uint /*number = 0*/, + TQPixmap configPagePixmap (uint /*number = 0*/, int /*size = KIcon::SizeSmall*/) const { return 0L; } @@ -81,9 +81,9 @@ class PluginKateInsertCommand : public Kate::Plugin, void initConfigPage( InsertCommandConfigPage* ); KShellProcess *sh; - QString workingdir; - QString cmd; - QStringList cmdhist; + TQString workingdir; + TQString cmd; + TQStringList cmdhist; bool bInsStdErr; int dialogSettings; KConfig *config; @@ -104,35 +104,35 @@ class CmdPrompt : public KDialogBase { Q_OBJECT public: - CmdPrompt(QWidget* parent=0, + CmdPrompt(TQWidget* parent=0, const char* name=0, - const QStringList& cmdhist=QStringList(), - const QString& dir=QString::null, - const QString& docdir=QString::null, + const TQStringList& cmdhist=TQStringList(), + const TQString& dir=TQString::null, + const TQString& docdir=TQString::null, int settings=0); ~CmdPrompt(); - QString command()const { return cmb_cmd->currentText(); } + TQString command()const { return cmb_cmd->currentText(); } bool insertStdErr()const { return cb_insStdErr->isChecked(); } bool printCmd()const { return cb_printCmd->isChecked(); } - QString wd()const { return wdreq->url(); } + TQString wd()const { return wdreq->url(); } private slots: - void slotTextChanged(const QString &text); + void slotTextChanged(const TQString &text); private: KHistoryCombo *cmb_cmd; KURLRequester *wdreq; - QCheckBox *cb_insStdErr; - QCheckBox *cb_printCmd; + TQCheckBox *cb_insStdErr; + TQCheckBox *cb_printCmd; }; class WaitDlg : public KDialogBase { public: - WaitDlg(QWidget* parent, - const QString& text=QString::null, - const QString& title=i18n("Please Wait")); + WaitDlg(TQWidget* parent, + const TQString& text=TQString::null, + const TQString& title=i18n("Please Wait")); ~WaitDlg(); }; @@ -143,7 +143,7 @@ class InsertCommandConfigPage : public Kate::PluginConfigPage friend class PluginKateInsertCommand; public: - InsertCommandConfigPage(QObject* parent = 0L, QWidget *parentWidget = 0L); + InsertCommandConfigPage(TQObject* parent = 0L, TQWidget *parentWidget = 0L); ~InsertCommandConfigPage() {} /** Reimplemented from Kate::PluginConfigPage @@ -161,9 +161,9 @@ class InsertCommandConfigPage : public Kate::PluginConfigPage void configPageInitRequest( InsertCommandConfigPage* ); protected: - QSpinBox *sb_cmdhistlen; - //QCheckBox *cb_startindocdir; - QButtonGroup *rg_startin; + TQSpinBox *sb_cmdhistlen; + //TQCheckBox *cb_startindocdir; + TQButtonGroup *rg_startin; }; #endif // _PLUGIN_KATE_INSERT_COMMAND_H_ |