From 65eca7929c22f0f0bc64135c02d85d1243df376c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:12:51 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kdvi/dviRenderer.h | 2 +- kdvi/kdvi_multipage.cpp | 10 +++++----- kdvi/kdvi_multipage.h | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'kdvi') diff --git a/kdvi/dviRenderer.h b/kdvi/dviRenderer.h index 38d4d897..6dc76545 100644 --- a/kdvi/dviRenderer.h +++ b/kdvi/dviRenderer.h @@ -27,7 +27,7 @@ class dviRenderer; class fontProgressDialog; class ghostscript_interface; class infoDialog; -class KAction; +class TDEAction; class KDVIMultiPage; class KPrinter; class TDEProcess; diff --git a/kdvi/kdvi_multipage.cpp b/kdvi/kdvi_multipage.cpp index 0396c09e..eadd9a5f 100644 --- a/kdvi/kdvi_multipage.cpp +++ b/kdvi/kdvi_multipage.cpp @@ -67,11 +67,11 @@ KDVIMultiPage::KDVIMultiPage(TQWidget *parentWidget, const char *widgetName, TQO DVIRenderer.setName("DVI renderer"); setRenderer(&DVIRenderer); - docInfoAction = new KAction(i18n("Document &Info"), "info", 0, &DVIRenderer, TQT_SLOT(showInfo()), actionCollection(), "info_dvi"); - embedPSAction = new KAction(i18n("Embed External PostScript Files..."), 0, this, TQT_SLOT(slotEmbedPostScript()), actionCollection(), "embed_postscript"); - new KAction(i18n("Enable All Warnings && Messages"), 0, this, TQT_SLOT(doEnableWarnings()), actionCollection(), "enable_msgs"); - exportPSAction = new KAction(i18n("PostScript..."), 0, &DVIRenderer, TQT_SLOT(exportPS()), actionCollection(), "export_postscript"); - exportPDFAction = new KAction(i18n("PDF..."), 0, &DVIRenderer, TQT_SLOT(exportPDF()), actionCollection(), "export_pdf"); + docInfoAction = new TDEAction(i18n("Document &Info"), "info", 0, &DVIRenderer, TQT_SLOT(showInfo()), actionCollection(), "info_dvi"); + embedPSAction = new TDEAction(i18n("Embed External PostScript Files..."), 0, this, TQT_SLOT(slotEmbedPostScript()), actionCollection(), "embed_postscript"); + new TDEAction(i18n("Enable All Warnings && Messages"), 0, this, TQT_SLOT(doEnableWarnings()), actionCollection(), "enable_msgs"); + exportPSAction = new TDEAction(i18n("PostScript..."), 0, &DVIRenderer, TQT_SLOT(exportPS()), actionCollection(), "export_postscript"); + exportPDFAction = new TDEAction(i18n("PDF..."), 0, &DVIRenderer, TQT_SLOT(exportPDF()), actionCollection(), "export_pdf"); KStdAction::tipOfDay(this, TQT_SLOT(showTip()), actionCollection(), "help_tipofday"); diff --git a/kdvi/kdvi_multipage.h b/kdvi/kdvi_multipage.h index 812d56ce..29adbe26 100644 --- a/kdvi/kdvi_multipage.h +++ b/kdvi/kdvi_multipage.h @@ -87,10 +87,10 @@ private: /** Pointers to several actions which are disabled if no file is loaded. */ - KAction *docInfoAction; - KAction *embedPSAction; - KAction *exportPDFAction; - KAction *exportPSAction; + TDEAction *docInfoAction; + TDEAction *embedPSAction; + TDEAction *exportPDFAction; + TDEAction *exportPSAction; }; -- cgit v1.2.1