Bring mail_forward, mail_new, mail_replyall, mail_reply, mail_send, player_pause, player_play, player_stop, player_rew, player_fwd, player_start, player_end, rotate_ccw, rotate_cw, window_fullscreen, window_nofullscreen, window_new, viewmagfit, viewmag+, viewmag1, and viewmag- icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent 50e3d450c5
commit 65dde0a768

@ -204,12 +204,12 @@ actionCollection());
TQT_TQOBJECT(m_view), TQT_SLOT( slOpenCurrInGraphApp() ), TQT_TQOBJECT(m_view), TQT_SLOT( slOpenCurrInGraphApp() ),
actionCollection(), "openInGraphApp" ); actionCollection(), "openInGraphApp" );
act = new TDEAction(i18n("&Rotate Image Clockwise"), "rotate_cw", CTRL+Key_R, act = new TDEAction(i18n("&Rotate Image Clockwise"), "object-rotate-right", CTRL+Key_R,
TQT_TQOBJECT(this), TQT_SLOT( slRotateClockWise() ), TQT_TQOBJECT(this), TQT_SLOT( slRotateClockWise() ),
actionCollection(), "rotateClockwise" ); actionCollection(), "rotateClockwise" );
m_view->connectViewerAction( act ); m_view->connectViewerAction( act );
act = new TDEAction(i18n("Rotate Image Counter-Clock&wise"), "rotate_ccw", CTRL+Key_W, act = new TDEAction(i18n("Rotate Image Counter-Clock&wise"), "object-rotate-left", CTRL+Key_W,
TQT_TQOBJECT(this), TQT_SLOT( slRotateCounterClockWise() ), TQT_TQOBJECT(this), TQT_SLOT( slRotateCounterClockWise() ),
actionCollection(), "rotateCounterClockwise" ); actionCollection(), "rotateCounterClockwise" );
m_view->connectViewerAction( act ); m_view->connectViewerAction( act );

@ -945,7 +945,7 @@ void Part::slotShowMenu(const KPDFPage *page, const TQPoint &point)
else else
popup->insertItem( SmallIcon("bookmark_add"), i18n("Add Bookmark"), 1 ); popup->insertItem( SmallIcon("bookmark_add"), i18n("Add Bookmark"), 1 );
if ( m_pageView->canFitPageWidth() ) if ( m_pageView->canFitPageWidth() )
popup->insertItem( SmallIcon("viewmagfit"), i18n("Fit Width"), 2 ); popup->insertItem( SmallIcon("zoom-fit-best"), i18n("Fit Width"), 2 );
//popup->insertItem( SmallIcon("pencil"), i18n("Edit"), 3 ); //popup->insertItem( SmallIcon("pencil"), i18n("Edit"), 3 );
//popup->setItemEnabled( 3, false ); //popup->setItemEnabled( 3, false );
reallyShow = true; reallyShow = true;

@ -262,15 +262,15 @@ void PageView::setupActions( TDEActionCollection * ac )
d->aZoomFitPage = new TDEToggleAction( i18n("Fit to &Page"), "view_fit_window", 0, ac, "zoom_fit_page" ); d->aZoomFitPage = new TDEToggleAction( i18n("Fit to &Page"), "view_fit_window", 0, ac, "zoom_fit_page" );
connect( d->aZoomFitPage, TQT_SIGNAL( toggled( bool ) ), TQT_SLOT( slotFitToPageToggled( bool ) ) ); connect( d->aZoomFitPage, TQT_SIGNAL( toggled( bool ) ), TQT_SLOT( slotFitToPageToggled( bool ) ) );
d->aZoomFitText = new TDEToggleAction( i18n("Fit to &Text"), "viewmagfit", 0, ac, "zoom_fit_text" ); d->aZoomFitText = new TDEToggleAction( i18n("Fit to &Text"), "zoom-fit-best", 0, ac, "zoom_fit_text" );
connect( d->aZoomFitText, TQT_SIGNAL( toggled( bool ) ), TQT_SLOT( slotFitToTextToggled( bool ) ) ); connect( d->aZoomFitText, TQT_SIGNAL( toggled( bool ) ), TQT_SLOT( slotFitToTextToggled( bool ) ) );
// rotate actions // rotate actions
TDEAction *action; TDEAction *action;
action = new TDEAction( i18n("Rotate Right"), "rotate_cw", TDEShortcut( "Ctrl+Shift++" ), action = new TDEAction( i18n("Rotate Right"), "object-rotate-right", TDEShortcut( "Ctrl+Shift++" ),
TQT_TQOBJECT(this), TQT_SLOT( slotRotateRight() ), ac, "rotate_right" ); TQT_TQOBJECT(this), TQT_SLOT( slotRotateRight() ), ac, "rotate_right" );
action = new TDEAction( i18n("Rotate Left"), "rotate_ccw", TDEShortcut( "Ctrl+Shift+-" ), action = new TDEAction( i18n("Rotate Left"), "object-rotate-left", TDEShortcut( "Ctrl+Shift+-" ),
TQT_TQOBJECT(this), TQT_SLOT( slotRotateLeft() ), ac, "rotate_left" ); TQT_TQOBJECT(this), TQT_SLOT( slotRotateLeft() ), ac, "rotate_left" );
// View-Layout actions // View-Layout actions

@ -121,7 +121,7 @@ KSVGPlugin::KSVGPlugin(TQWidget *wparent, const char *, TQObject *parent, const
ksvgd->saveToPNG = new TDEAction(i18n("Save to PNG..."), "save", 0, this, TQT_SLOT(slotSaveToPNG()), actionCollection(), "save_to_png"); ksvgd->saveToPNG = new TDEAction(i18n("Save to PNG..."), "save", 0, this, TQT_SLOT(slotSaveToPNG()), actionCollection(), "save_to_png");
// ksvgd->aboutApp = KStdAction::aboutApp(this, TQT_SLOT(slotAboutKSVG()), actionCollection());//, "KSVG"); // ksvgd->aboutApp = KStdAction::aboutApp(this, TQT_SLOT(slotAboutKSVG()), actionCollection());//, "KSVG");
ksvgd->aboutApp = new TDEAction(i18n("About KSVG"), "vectorgfx", 0, this, TQT_SLOT(slotAboutKSVG()), actionCollection(), "help_about_app"); ksvgd->aboutApp = new TDEAction(i18n("About KSVG"), "vectorgfx", 0, this, TQT_SLOT(slotAboutKSVG()), actionCollection(), "help_about_app");
ksvgd->fontKerningAction = new TDEToggleAction(i18n("Use Font &Kerning"), "viewmagfit", Key_F8, this, TQT_SLOT(slotFontKerning()), actionCollection(), "font_kerning"); ksvgd->fontKerningAction = new TDEToggleAction(i18n("Use Font &Kerning"), "zoom-fit-best", Key_F8, this, TQT_SLOT(slotFontKerning()), actionCollection(), "font_kerning");
ksvgd->progressiveAction = new TDEToggleAction(i18n("Use &Progressive Rendering"), "", Key_F9, this, TQT_SLOT(slotProgressiveRendering()), actionCollection(), "progressive"); ksvgd->progressiveAction = new TDEToggleAction(i18n("Use &Progressive Rendering"), "", Key_F9, this, TQT_SLOT(slotProgressiveRendering()), actionCollection(), "progressive");
KSimpleConfig config("ksvgpluginrc", true); KSimpleConfig config("ksvgpluginrc", true);

@ -266,7 +266,7 @@ void KuickShow::initGUI( const KURL& startDir )
TQT_TQOBJECT(this), TQT_SLOT( about() ), coll, "about" ); TQT_TQOBJECT(this), TQT_SLOT( about() ), coll, "about" );
oneWindowAction = new TDEToggleAction( i18n("Open Only One Image Window"), oneWindowAction = new TDEToggleAction( i18n("Open Only One Image Window"),
"window_new", "window-new",
TDEShortcut( CTRL+Key_N ), coll, TDEShortcut( CTRL+Key_N ), coll,
"kuick_one window" ); "kuick_one window" );

@ -465,9 +465,9 @@ bool KViewViewer::saveFile()
void KViewViewer::setupActions() void KViewViewer::setupActions()
{ {
m_paZoomIn = new TDEAction( i18n( "Zoom In" ), "viewmag+", TDEStdAccel::shortcut( TDEStdAccel::ZoomIn ), this, m_paZoomIn = new TDEAction( i18n( "Zoom In" ), "zoom-in", TDEStdAccel::shortcut( TDEStdAccel::ZoomIn ), this,
TQT_SLOT( slotZoomIn() ), actionCollection(), "zoomin" ); TQT_SLOT( slotZoomIn() ), actionCollection(), "zoomin" );
m_paZoomOut = new TDEAction( i18n( "Zoom Out" ), "viewmag-", TDEStdAccel::shortcut( TDEStdAccel::ZoomOut ), this, m_paZoomOut = new TDEAction( i18n( "Zoom Out" ), "zoom-out", TDEStdAccel::shortcut( TDEStdAccel::ZoomOut ), this,
TQT_SLOT( slotZoomOut() ), actionCollection(), "zoomout" ); TQT_SLOT( slotZoomOut() ), actionCollection(), "zoomout" );
m_paZoom = new TDESelectAction( i18n( "Zoom" ), "viewmag", 0, actionCollection(), "view_zoom" ); m_paZoom = new TDESelectAction( i18n( "Zoom" ), "viewmag", 0, actionCollection(), "view_zoom" );
@ -483,9 +483,9 @@ void KViewViewer::setupActions()
m_paFlipMenu->insert( m_paFlipV ); m_paFlipMenu->insert( m_paFlipV );
m_paFlipMenu->insert( m_paFlipH ); m_paFlipMenu->insert( m_paFlipH );
m_paRotateCCW = new TDEAction( i18n( "Ro&tate Counter-Clockwise" ), "rotate_ccw", 0, this, m_paRotateCCW = new TDEAction( i18n( "Ro&tate Counter-Clockwise" ), "object-rotate-left", 0, this,
TQT_SLOT( slotRotateCCW() ), actionCollection(), "rotateCCW" ); TQT_SLOT( slotRotateCCW() ), actionCollection(), "rotateCCW" );
m_paRotateCW = new TDEAction( i18n( "Rotate Clockwise" ), "rotate_cw", 0, this, m_paRotateCW = new TDEAction( i18n( "Rotate Clockwise" ), "object-rotate-right", 0, this,
TQT_SLOT( slotRotateCW() ), actionCollection(), "rotateCW" ); TQT_SLOT( slotRotateCW() ), actionCollection(), "rotateCW" );
m_paSave = KStdAction::save( this, TQT_SLOT( slotSave() ), actionCollection() ); m_paSave = KStdAction::save( this, TQT_SLOT( slotSave() ), actionCollection() );
m_paSave->setEnabled( false ); m_paSave->setEnabled( false );

@ -239,7 +239,7 @@ void TDEIconEdit::setupActions()
TDEShortcut cut; TDEShortcut cut;
// File Menu // File Menu
action = new TDEAction(i18n("New &Window"), "window_new", cut, action = new TDEAction(i18n("New &Window"), "window-new", cut,
TQT_TQOBJECT(this), TQT_SLOT(slotNewWin()), actionCollection(), "file_new_window"); TQT_TQOBJECT(this), TQT_SLOT(slotNewWin()), actionCollection(), "file_new_window");
action->setWhatsThis(i18n("New window\n\nOpens a new icon editor window.")); action->setWhatsThis(i18n("New window\n\nOpens a new icon editor window."));

Loading…
Cancel
Save