diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:12:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:12:51 -0600 |
commit | 65eca7929c22f0f0bc64135c02d85d1243df376c (patch) | |
tree | 5b47361590fb6693a0f6258d6a8d725856ef2ad9 /kviewshell/plugins | |
parent | cd6d514066c22206c388eddbb7fbec32648dbaeb (diff) | |
download | tdegraphics-65eca7929c22f0f0bc64135c02d85d1243df376c.tar.gz tdegraphics-65eca7929c22f0f0bc64135c02d85d1243df376c.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kviewshell/plugins')
-rw-r--r-- | kviewshell/plugins/djvu/djvumultipage.cpp | 4 | ||||
-rw-r--r-- | kviewshell/plugins/djvu/djvumultipage.h | 6 |
2 files changed, 5 insertions, 5 deletions
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 |