From f78eb03afb8c9a380985d26286afc40b4c89b292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:15:35 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- parts/astyle/astyle_part.cpp | 4 ++-- parts/astyle/astyle_part.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'parts/astyle') 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("Reformat source

Source reformatting functionality using astyle library. " "Also available in New Class and Subclassing 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("Fomat files

Formatting functionality using astyle 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 m_project; -- cgit v1.2.1