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 --- kviewshell/plugins/djvu/djvumultipage.cpp | 4 ++-- kviewshell/plugins/djvu/djvumultipage.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kviewshell/plugins') diff --git a/kviewshell/plugins/djvu/djvumultipage.cpp b/kviewshell/plugins/djvu/djvumultipage.cpp index c60c7c9c..0a8cdd78 100644 --- a/kviewshell/plugins/djvu/djvumultipage.cpp +++ b/kviewshell/plugins/djvu/djvumultipage.cpp @@ -62,12 +62,12 @@ DjVuMultiPage::DjVuMultiPage(TQWidget *parentWidget, const char *widgetName, TQO renderModes.append(i18n("Black and White")); renderModes.append(i18n("Show foreground only")); renderModes.append(i18n("Show background only")); - renderModeAction = new KSelectAction (i18n("Render Mode"), 0, 0, 0, actionCollection(), "render_mode"); + renderModeAction = new TDESelectAction (i18n("Render Mode"), 0, 0, 0, actionCollection(), "render_mode"); renderModeAction->setItems(renderModes); renderModeAction->setCurrentItem(Prefs::renderMode()); - deletePagesAction = new KAction(i18n("Delete Pages..."), 0, this, TQT_SLOT(slotDeletePages()), actionCollection(), "delete_pages"); + deletePagesAction = new TDEAction(i18n("Delete Pages..."), 0, this, TQT_SLOT(slotDeletePages()), actionCollection(), "delete_pages"); // change the rendermode connect(renderModeAction, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setRenderMode(int))); diff --git a/kviewshell/plugins/djvu/djvumultipage.h b/kviewshell/plugins/djvu/djvumultipage.h index e6c47b14..2bbc6f4a 100644 --- a/kviewshell/plugins/djvu/djvumultipage.h +++ b/kviewshell/plugins/djvu/djvumultipage.h @@ -31,7 +31,7 @@ #include "DjVuToPS.h" -class KSelectAction; +class TDESelectAction; /*! \mainpage DjVuMultiPage @@ -143,8 +143,8 @@ public: implementation */ DjVuRenderer djvuRenderer; - KSelectAction* renderModeAction; - KAction* deletePagesAction; + TDESelectAction* renderModeAction; + TDEAction* deletePagesAction; }; #endif -- cgit v1.2.1