diff options
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()); |