Bring up, down, top, and bottom icons into XDG compliance

r14.0.x
Timothy Pearson 10 years ago
parent 01f81b6d53
commit 96903c53ad

@ -139,12 +139,12 @@ void EditListBox::setButtons(Buttons buttons)
delete _moveDownButton; delete _moveDownButton;
_moveDownButton = 0; _moveDownButton = 0;
if ( buttons & UpDown ) { if ( buttons & UpDown ) {
_moveUpButton = new KPushButton(KGuiItem(i18n("Move &Up"), "up"), this); _moveUpButton = new KPushButton(KGuiItem(i18n("Move &Up"), "go-up"), this);
_moveUpButton->setEnabled(false); _moveUpButton->setEnabled(false);
_moveUpButton->show(); _moveUpButton->show();
connect(_moveUpButton, TQT_SIGNAL(clicked()), TQT_SLOT(moveItemUp())); connect(_moveUpButton, TQT_SIGNAL(clicked()), TQT_SLOT(moveItemUp()));
_buttonsLayout->addWidget(_moveUpButton); _buttonsLayout->addWidget(_moveUpButton);
_moveDownButton = new KPushButton(KGuiItem(i18n("Move &Down"), "down"), this); _moveDownButton = new KPushButton(KGuiItem(i18n("Move &Down"), "go-down"), this);
_moveDownButton->setEnabled(false); _moveDownButton->setEnabled(false);
_moveDownButton->show(); _moveDownButton->show();
connect(_moveDownButton, TQT_SIGNAL(clicked()), TQT_SLOT(moveItemDown())); connect(_moveDownButton, TQT_SIGNAL(clicked()), TQT_SLOT(moveItemDown()));

@ -38,10 +38,10 @@ Pic::MemoryEditorLegend::Data::Data(const TQString &text, TQWidget *parent)
{ {
button = new PopupButton(text, parent); button = new PopupButton(text, parent);
TDEActionCollection *ac = 0; TDEActionCollection *ac = 0;
TDEAction *a = new TDEAction(i18n("Go to start"), "top", 0, TQT_TQOBJECT(parent), TQT_SLOT(gotoStart()), ac); TDEAction *a = new TDEAction(i18n("Go to start"), "go-top", 0, TQT_TQOBJECT(parent), TQT_SLOT(gotoStart()), ac);
actions.append(a); actions.append(a);
button->appendAction(a); button->appendAction(a);
a = new TDEAction(i18n("Go to end"), "bottom", 0, TQT_TQOBJECT(parent), TQT_SLOT(gotoEnd()), ac); a = new TDEAction(i18n("Go to end"), "go-bottom", 0, TQT_TQOBJECT(parent), TQT_SLOT(gotoEnd()), ac);
actions.append(a); actions.append(a);
button->appendAction(a); button->appendAction(a);
label = new TQLabel(parent); label = new TQLabel(parent);

Loading…
Cancel
Save