summaryrefslogtreecommitdiffstats
path: root/lib/util/tdescriptactionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/tdescriptactionmanager.cpp')
-rw-r--r--lib/util/tdescriptactionmanager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/util/tdescriptactionmanager.cpp b/lib/util/tdescriptactionmanager.cpp
index 619b974d..a74841e5 100644
--- a/lib/util/tdescriptactionmanager.cpp
+++ b/lib/util/tdescriptactionmanager.cpp
@@ -32,7 +32,7 @@
#include <tqfileinfo.h>
#include <tqtimer.h>
-KScriptAction::KScriptAction( const TQString &scriptDesktopFile, TQObject *interface, KActionCollection *ac )
+KScriptAction::KScriptAction( const TQString &scriptDesktopFile, TQObject *interface, TDEActionCollection *ac )
: TQObject(interface), KScriptClientInterface( )
{
m_interface = 0L;
@@ -52,7 +52,7 @@ KScriptAction::KScriptAction( const TQString &scriptDesktopFile, TQObject *inter
TDETrader::OfferList offers = TDETrader::self()->query( "KScriptRunner/KScriptRunner", scriptTypeQuery );
if ( !offers.isEmpty() )
{
- m_action = new KAction(m_scriptName, KShortcut(), this, TQT_SLOT(activate()), ac, "script");
+ m_action = new TDEAction(m_scriptName, TDEShortcut(), this, TQT_SLOT(activate()), ac, "script");
m_isValid = true;
m_timeout = new TQTimer(this);
TQString icon = desktop.readIcon();
@@ -73,7 +73,7 @@ KScriptAction::~KScriptAction()
-KAction * KScriptAction::action( )
+TDEAction * KScriptAction::action( )
{
return m_action;
}
@@ -119,7 +119,7 @@ void KScriptAction::scriptFinished()
m_refs--;
}
-KScriptActionManager::KScriptActionManager( TQObject *parent, KActionCollection * ac ) : TQObject(parent), m_ac(ac)
+KScriptActionManager::KScriptActionManager( TQObject *parent, TDEActionCollection * ac ) : TQObject(parent), m_ac(ac)
{
m_actions.setAutoDelete(true);
}
@@ -129,10 +129,10 @@ KScriptActionManager::~ KScriptActionManager( )
m_actions.clear();
}
-TQPtrList< KAction > KScriptActionManager::scripts( TQObject * interface , const TQStringList &dirs) const
+TQPtrList< TDEAction > KScriptActionManager::scripts( TQObject * interface , const TQStringList &dirs) const
{
m_actions.clear();
- TQPtrList<KAction> actions;
+ TQPtrList<TDEAction> actions;
TQStringList scripts;
scripts += TDEGlobal::dirs()->findAllResources("data",