Bring first and last icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent 3198b2b889
commit 50dba11eb8

@ -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();

@ -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" );

@ -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."));

@ -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()));

Loading…
Cancel
Save