summaryrefslogtreecommitdiffstats
path: root/parts/astyle
diff options
context:
space:
mode:
Diffstat (limited to 'parts/astyle')
-rw-r--r--parts/astyle/astyle_part.cpp4
-rw-r--r--parts/astyle/astyle_part.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/parts/astyle/astyle_part.cpp b/parts/astyle/astyle_part.cpp
index ed0720a4..f9d95ed6 100644
--- a/parts/astyle/astyle_part.cpp
+++ b/parts/astyle/astyle_part.cpp
@@ -50,13 +50,13 @@ AStylePart::AStylePart(TQObject *parent, const char *name, const TQStringList &)
setXMLFile("kdevpart_astyle.rc");
- formatTextAction = new KAction(i18n("&Reformat Source"), 0, this, TQT_SLOT(beautifySource()), actionCollection(), "edit_astyle");
+ formatTextAction = new TDEAction(i18n("&Reformat Source"), 0, this, TQT_SLOT(beautifySource()), actionCollection(), "edit_astyle");
formatTextAction->setEnabled(false);
formatTextAction->setToolTip(i18n("Reformat source"));
formatTextAction->setWhatsThis(i18n("<b>Reformat source</b><p>Source reformatting functionality using <b>astyle</b> library. "
"Also available in <b>New Class</b> and <b>Subclassing</b> wizards."));
- formatFileAction = new KAction(i18n("Format files"), 0, this, TQT_SLOT(formatFilesSelect()), actionCollection(), "tools_astyle");
+ formatFileAction = new TDEAction(i18n("Format files"), 0, this, TQT_SLOT(formatFilesSelect()), actionCollection(), "tools_astyle");
formatFileAction->setEnabled(false);
formatFileAction->setToolTip(i18n("Format files"));
formatFileAction->setWhatsThis(i18n("<b>Fomat files</b><p>Formatting functionality using <b>astyle</b> library. "
diff --git a/parts/astyle/astyle_part.h b/parts/astyle/astyle_part.h
index eed15022..cd7c757e 100644
--- a/parts/astyle/astyle_part.h
+++ b/parts/astyle/astyle_part.h
@@ -61,8 +61,8 @@ private:
void loadGlobal();
ConfigWidgetProxy *m_configProxy;
- KAction *formatTextAction;
- KAction *formatFileAction;
+ TDEAction *formatTextAction;
+ TDEAction *formatFileAction;
// the configurable options.
TQMap<TQString, TQVariant> m_project;