From 50dba11eb8fe6d5841be616a40f30a9079a1af87 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 12 Oct 2014 00:37:31 -0500 Subject: [PATCH] Bring first and last icons into XDG compliance --- kexi/main/printing/kexisimpleprintpreviewwindow.cpp | 4 ++-- kpresenter/KPrView.cpp | 4 ++-- kspread/kspread_view.cc | 4 ++-- kword/mailmerge/KWClassicSerialDataSource.cpp | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/kexi/main/printing/kexisimpleprintpreviewwindow.cpp b/kexi/main/printing/kexisimpleprintpreviewwindow.cpp index 39cb932a3..0e1b77489 100644 --- a/kexi/main/printing/kexisimpleprintpreviewwindow.cpp +++ b/kexi/main/printing/kexisimpleprintpreviewwindow.cpp @@ -213,7 +213,7 @@ KexiSimplePrintPreviewWindow::KexiSimplePrintPreviewWindow( m_navToolbar->setFrameStyle(TQFrame::NoFrame); m_navToolbar->setIconText(TDEToolBar::IconTextRight); - m_idFirst = m_navToolbar->insertWidget( -1, 0, new KPushButton(BarIconSet("start"), i18n("First Page"), m_navToolbar)); + m_idFirst = m_navToolbar->insertWidget( -1, 0, new KPushButton(BarIconSet("go-first"), i18n("First Page"), m_navToolbar)); m_navToolbar->addConnection(m_idFirst, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotFirstClicked())); m_navToolbar->insertSeparator(); @@ -228,7 +228,7 @@ KexiSimplePrintPreviewWindow::KexiSimplePrintPreviewWindow( m_navToolbar->addConnection(m_idNext, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotNextClicked())); m_navToolbar->insertSeparator(); - m_idLast = m_navToolbar->insertWidget( -1, 0, new KPushButton(BarIconSet("finish"), i18n("Last Page"), m_navToolbar)); + m_idLast = m_navToolbar->insertWidget( -1, 0, new KPushButton(BarIconSet("go-last"), i18n("Last Page"), m_navToolbar)); m_navToolbar->addConnection(m_idLast, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotLastClicked())); m_navToolbar->insertSeparator(); diff --git a/kpresenter/KPrView.cpp b/kpresenter/KPrView.cpp index 583b7af74..0bf478503 100644 --- a/kpresenter/KPrView.cpp +++ b/kpresenter/KPrView.cpp @@ -2797,7 +2797,7 @@ void KPrView::setupActions() actionCollection(), "screen_startfromfirst" ); actionScreenFirst = new TDEAction( i18n( "&Go to Start" ), - "start", 0, + "go-first", 0, TQT_TQOBJECT(this), TQT_SLOT( screenFirst() ), actionCollection(), "screen_first" ); @@ -2812,7 +2812,7 @@ void KPrView::setupActions() actionCollection(), "screen_next" ); actionScreenLast = new TDEAction( i18n( "Go to &End" ), - "finish", 0, + "go-last", 0, TQT_TQOBJECT(this), TQT_SLOT( screenLast() ), actionCollection(), "screen_last" ); diff --git a/kspread/kspread_view.cc b/kspread/kspread_view.cc index 253a92671..ae6456a6a 100644 --- a/kspread/kspread_view.cc +++ b/kspread/kspread_view.cc @@ -1061,11 +1061,11 @@ void View::Private::initActions() TQt::CTRL+TQt::Key_PageUp, TQT_TQOBJECT(view), TQT_SLOT( previousSheet() ), ac, "previousSheet"); actions->prevSheet->setToolTip(i18n("Move to the previous sheet.")); - actions->firstSheet = new TDEAction( i18n("First Sheet"), "start", + actions->firstSheet = new TDEAction( i18n("First Sheet"), "go-first", 0, TQT_TQOBJECT(view), TQT_SLOT( firstSheet() ), ac, "firstSheet"); actions->firstSheet->setToolTip(i18n("Move to the first sheet.")); - actions->lastSheet = new TDEAction( i18n("Last Sheet"), "finish", + actions->lastSheet = new TDEAction( i18n("Last Sheet"), "go-last", 0, TQT_TQOBJECT(view), TQT_SLOT( lastSheet() ), ac, "lastSheet"); actions->lastSheet->setToolTip(i18n("Move to the last sheet.")); diff --git a/kword/mailmerge/KWClassicSerialDataSource.cpp b/kword/mailmerge/KWClassicSerialDataSource.cpp index c8bd6f3b3..73eee9942 100644 --- a/kword/mailmerge/KWClassicSerialDataSource.cpp +++ b/kword/mailmerge/KWClassicSerialDataSource.cpp @@ -341,7 +341,7 @@ KWClassicMailMergeEditor::KWClassicMailMergeEditor( TQWidget *parent, KWClassicS TQHBox *toolbar = new TQHBox( back ); first = new TQToolButton( toolbar ); - first->setIconSet( SmallIconSet( "start" ) ); + first->setIconSet( SmallIconSet( "go-first" ) ); first->setFixedSize( first->sizeHint() ); connect(first, TQT_SIGNAL(clicked()), this, TQT_SLOT(firstRecord())); @@ -361,7 +361,7 @@ KWClassicMailMergeEditor::KWClassicMailMergeEditor( TQWidget *parent, KWClassicS connect(forward, TQT_SIGNAL(clicked()), this, TQT_SLOT(nextRecord())); finish = new TQToolButton( toolbar ); - finish->setIconSet( SmallIconSet( "finish" ) ); + finish->setIconSet( SmallIconSet( "go-last" ) ); finish->setFixedSize( finish->sizeHint() ); connect(finish, TQT_SIGNAL(clicked()), this, TQT_SLOT(lastRecord()));