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