diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 17:00:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 17:00:31 +0000 |
commit | 395a904bff7b4d6ead445c342f7ac0c5fbf29121 (patch) | |
tree | 9829cadb79d2cc7c29a940627fadb28b11e54150 /kate/insertcommand/plugin_kateinsertcommand.h | |
parent | 399f47c376fdf4d19192732a701ea9578d11619d (diff) | |
download | tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.tar.gz tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.zip |
TQt4 port kdeaddons
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1237404 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/insertcommand/plugin_kateinsertcommand.h')
-rw-r--r-- | kate/insertcommand/plugin_kateinsertcommand.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/kate/insertcommand/plugin_kateinsertcommand.h b/kate/insertcommand/plugin_kateinsertcommand.h index 03a1415..ff3a584 100644 --- a/kate/insertcommand/plugin_kateinsertcommand.h +++ b/kate/insertcommand/plugin_kateinsertcommand.h @@ -55,9 +55,10 @@ class PluginKateInsertCommand : public Kate::Plugin, Kate::PluginConfigInterfaceExtension { Q_OBJECT + TQ_OBJECT public: - PluginKateInsertCommand( TQObject* parent = 0, const char* name = 0, const TQStringList& = TQStringList() ); + PluginKateInsertCommand( TQObject* tqparent = 0, const char* name = 0, const TQStringList& = TQStringList() ); virtual ~PluginKateInsertCommand(); void addView (Kate::MainWindow *win); @@ -103,12 +104,13 @@ class PluginKateInsertCommand : public Kate::Plugin, class CmdPrompt : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - CmdPrompt(TQWidget* parent=0, + CmdPrompt(TQWidget* tqparent=0, const char* name=0, const TQStringList& cmdhist=TQStringList(), - const TQString& dir=TQString::null, - const TQString& docdir=TQString::null, + const TQString& dir=TQString(), + const TQString& docdir=TQString(), int settings=0); ~CmdPrompt(); TQString command()const { return cmb_cmd->currentText(); } @@ -130,8 +132,8 @@ private slots: class WaitDlg : public KDialogBase { public: - WaitDlg(TQWidget* parent, - const TQString& text=TQString::null, + WaitDlg(TQWidget* tqparent, + const TQString& text=TQString(), const TQString& title=i18n("Please Wait")); ~WaitDlg(); }; @@ -140,10 +142,11 @@ class WaitDlg : public KDialogBase class InsertCommandConfigPage : public Kate::PluginConfigPage { Q_OBJECT + TQ_OBJECT friend class PluginKateInsertCommand; public: - InsertCommandConfigPage(TQObject* parent = 0L, TQWidget *parentWidget = 0L); + InsertCommandConfigPage(TQObject* tqparent = 0L, TQWidget *tqparentWidget = 0L); ~InsertCommandConfigPage() {} /** Reimplemented from Kate::PluginConfigPage @@ -167,4 +170,4 @@ class InsertCommandConfigPage : public Kate::PluginConfigPage }; #endif // _PLUGIN_KATE_INSERT_COMMAND_H_ -// kate: space-indent on; indent-width 2; replace-tabs on; +// kate: space-indent on; indent-width 2; tqreplace-tabs on; |