diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:12:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:12:51 -0600 |
commit | 65eca7929c22f0f0bc64135c02d85d1243df376c (patch) | |
tree | 5b47361590fb6693a0f6258d6a8d725856ef2ad9 /libkscan | |
parent | cd6d514066c22206c388eddbb7fbec32648dbaeb (diff) | |
download | tdegraphics-65eca7929c22f0f0bc64135c02d85d1243df376c.tar.gz tdegraphics-65eca7929c22f0f0bc64135c02d85d1243df376c.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'libkscan')
-rw-r--r-- | libkscan/img_canvas.cpp | 2 | ||||
-rw-r--r-- | libkscan/previewer.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libkscan/img_canvas.cpp b/libkscan/img_canvas.cpp index edd21412..9618b47b 100644 --- a/libkscan/img_canvas.cpp +++ b/libkscan/img_canvas.cpp @@ -242,7 +242,7 @@ void ImageCanvas::enableContextMenu( bool wantContextMenu ) { if( ! m_contextMenu ) { - m_contextMenu = new KPopupMenu(this, "IMG_CANVAS"); + m_contextMenu = new TDEPopupMenu(this, "IMG_CANVAS"); KContextMenuManager::insert( viewport(), m_contextMenu ); } diff --git a/libkscan/previewer.cpp b/libkscan/previewer.cpp index c13e45e3..5aba1b04 100644 --- a/libkscan/previewer.cpp +++ b/libkscan/previewer.cpp @@ -145,12 +145,12 @@ Previewer::Previewer(TQWidget *parent, const char *name ) layout->addWidget( img_canvas, 6 ); /* Actions for the previewer zoom */ - KAction *act; - act = new KAction(i18n("Scale to W&idth"), "scaletowidth", CTRL+Key_I, + TDEAction *act; + act = new TDEAction(i18n("Scale to W&idth"), "scaletowidth", CTRL+Key_I, TQT_TQOBJECT(this), TQT_SLOT( slScaleToWidth()), TQT_TQOBJECT(this), "preview_scaletowidth" ); act->plug( img_canvas->contextMenu()); - act = new KAction(i18n("Scale to &Height"), "scaletoheight", CTRL+Key_H, + act = new TDEAction(i18n("Scale to &Height"), "scaletoheight", CTRL+Key_H, TQT_TQOBJECT(this), TQT_SLOT( slScaleToHeight()), TQT_TQOBJECT(this), "preview_scaletoheight" ); act->plug( img_canvas->contextMenu()); |