diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:00:35 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:00:35 -0600 |
commit | 83d1960b4088c8179cd17ae52ace1389088e4736 (patch) | |
tree | ca50d773798825ea7dd03142fa6db572bde4f832 /src/kile/kilejscript.h | |
parent | bd4e86464b9ab0afe8cb010127fdd397683e1b52 (diff) | |
download | kile-83d1960b4088c8179cd17ae52ace1389088e4736.tar.gz kile-83d1960b4088c8179cd17ae52ace1389088e4736.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/kile/kilejscript.h')
-rw-r--r-- | src/kile/kilejscript.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kile/kilejscript.h b/src/kile/kilejscript.h index 30263ea..bd4cab0 100644 --- a/src/kile/kilejscript.h +++ b/src/kile/kilejscript.h @@ -72,11 +72,11 @@ class JScript { /** * **/ - void setActionObject(KAction* action); + void setActionObject(TDEAction* action); - const KAction* getActionObject() const; + const TDEAction* getActionObject() const; - KAction* getActionObject(); + TDEAction* getActionObject(); void setKeySequence(const TQString& str); TQString getKeySequence() const; @@ -86,7 +86,7 @@ class JScript { TQString m_code; TQString m_file; TQString m_name; - KAction *m_action; + TDEAction *m_action; TQString m_keySequence; }; @@ -125,7 +125,7 @@ class Manager : public TQObject { /** * Constructs a new Manager object. **/ - Manager(KileInfo *info, TDEConfig *config, KActionCollection *actionCollection, TQObject *parent = 0, const char *name = 0); + Manager(KileInfo *info, TDEConfig *config, TDEActionCollection *actionCollection, TQObject *parent = 0, const char *name = 0); virtual ~Manager(); /** @@ -207,7 +207,7 @@ class Manager : public TQObject { KileInfo *m_kileInfo; TDEConfig *m_config; - KActionCollection *m_actionCollection; + TDEActionCollection *m_actionCollection; /** * Registers the script contained in a file. @@ -262,12 +262,12 @@ class Manager : public TQObject { void addDirectoryToDirWatch(const TQString& dir); }; -class ScriptExecutionAction : public KAction { +class ScriptExecutionAction : public TDEAction { Q_OBJECT public: - ScriptExecutionAction(unsigned int scriptID, Manager *manager, KActionCollection* parent = 0); + ScriptExecutionAction(unsigned int scriptID, Manager *manager, TDEActionCollection* parent = 0); virtual ~ScriptExecutionAction(); |