summaryrefslogtreecommitdiffstats
path: root/parts/tools/tools_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/tools/tools_part.cpp')
-rw-r--r--parts/tools/tools_part.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/tools/tools_part.cpp b/parts/tools/tools_part.cpp
index 28af7745..50ff0230 100644
--- a/parts/tools/tools_part.cpp
+++ b/parts/tools/tools_part.cpp
@@ -86,7 +86,7 @@ void ToolsPart::insertConfigWidget( const KDialogBase * dlg, TQWidget * page, un
void ToolsPart::updateMenu()
{
- TQPtrList<KAction> actions;
+ TQPtrList<TDEAction> actions;
unplugActionList("tools_list");
@@ -102,7 +102,7 @@ void ToolsPart::updateMenu()
if (df.readName().isNull())
continue;
- KAction *action = new KAction(df.readName(), df.readIcon(), 0,
+ TDEAction *action = new TDEAction(df.readName(), df.readIcon(), 0,
this, TQT_SLOT(slotToolActivated()), (TQObject*)0, name.latin1());
actions.append(action);
}
@@ -172,14 +172,14 @@ void ToolsPart::updateToolsMenu()
TQStringList l = config->readListEntry("Tool Menu");
- TQPtrList<KAction> actions;
+ TQPtrList<TDEAction> actions;
TQStringList::ConstIterator it;
for (it = l.begin(); it != l.end(); ++it) {
TQString menutext = *it;
TDEConfig *config = ToolsFactory::instance()->config();
config->setGroup("Tool Menu " + menutext);
bool isdesktopfile = config->readBoolEntry("DesktopFile");
- KAction *action = new KAction(*it, 0,
+ TDEAction *action = new TDEAction(*it, 0,
this, TQT_SLOT(toolsMenuActivated()),
(TQObject*) 0, menutext.utf8());
if (isdesktopfile) {