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

pull/1/head
Timothy Pearson 10 years ago
parent c141e78102
commit e1c8f95bb2

@ -334,13 +334,13 @@ namespace KBibTeX
m_pushButtonUp = new TQPushButton( i18n( "Up" ), this );
layout->addWidget( m_pushButtonUp, 3, 1 );
m_pushButtonUp->setIconSet( TQIconSet( SmallIcon( "up" ) ) );
m_pushButtonUp->setIconSet( TQIconSet( SmallIcon( "go-up" ) ) );
connect( m_pushButtonUp, SIGNAL( clicked() ), this, SLOT( slotUp() ) );
TQToolTip::add( m_pushButtonUp, TQString( i18n( "Move current '%1' item up (Ctrl+Up)" ) ).arg( m_caption ) );
m_pushButtonDown = new TQPushButton( i18n( "Down" ), this );
layout->addWidget( m_pushButtonDown, 4, 1 );
m_pushButtonDown->setIconSet( TQIconSet( SmallIcon( "down" ) ) );
m_pushButtonDown->setIconSet( TQIconSet( SmallIcon( "go-down" ) ) );
connect( m_pushButtonDown, SIGNAL( clicked() ), this, SLOT( slotDown() ) );
TQToolTip::add( m_pushButtonDown, TQString( i18n( "Move current '%1' item down (Ctrl+Down)" ) ).arg( m_caption ) );

@ -56,8 +56,8 @@ namespace KBibTeX
{
TQWidget *container = new TQWidget( parent );
TQVBoxLayout *layout = new TQVBoxLayout( container, 0, KDialog::spacingHint() );
m_pushButtonUp = new KPushButton( TQIconSet( SmallIcon( "up" ) ), i18n( "Up" ), container );
m_pushButtonDown = new KPushButton( TQIconSet( SmallIcon( "down" ) ), i18n( "Down" ), container );
m_pushButtonUp = new KPushButton( TQIconSet( SmallIcon( "go-up" ) ), i18n( "Up" ), container );
m_pushButtonDown = new KPushButton( TQIconSet( SmallIcon( "go-down" ) ), i18n( "Down" ), container );
m_pushButtonDel = new KPushButton( TQIconSet( SmallIcon( "remove" ) ), i18n( "Delete" ), container );
layout->addWidget( m_pushButtonUp );
layout->addWidget( m_pushButtonDown );

@ -355,11 +355,11 @@ namespace KBibTeX
gridLayout->addWidget( m_buttonDeleteIdSuggestion, 2, 1 );
connect( m_buttonDeleteIdSuggestion, SIGNAL( clicked() ), this, SLOT( slotDeleteIdSuggestion() ) );
m_buttonMoveUpIdSuggestion = new KPushButton( i18n( "id suggestion", "Up" ), this );
m_buttonMoveUpIdSuggestion->setIconSet( TQIconSet( SmallIcon( "up" ) ) );
m_buttonMoveUpIdSuggestion->setIconSet( TQIconSet( SmallIcon( "go-up" ) ) );
gridLayout->addWidget( m_buttonMoveUpIdSuggestion, 3, 1 );
connect( m_buttonMoveUpIdSuggestion, SIGNAL( clicked() ), this, SLOT( slotMoveUpIdSuggestion() ) );
m_buttonMoveDownIdSuggestion = new KPushButton( i18n( "id suggestion", "Down" ), this );
m_buttonMoveDownIdSuggestion->setIconSet( TQIconSet( SmallIcon( "down" ) ) );
m_buttonMoveDownIdSuggestion->setIconSet( TQIconSet( SmallIcon( "go-down" ) ) );
gridLayout->addWidget( m_buttonMoveDownIdSuggestion, 4, 1 );
connect( m_buttonMoveDownIdSuggestion, SIGNAL( clicked() ), this, SLOT( slotMoveDownIdSuggestion() ) );
m_buttonToggleDefault = new KPushButton( i18n( "Toogle default" ), this );

@ -187,11 +187,11 @@ namespace KBibTeX
m_buttonDeleteField->setIconSet( TQIconSet( SmallIcon( "editdelete" ) ) );
gridLayout->addWidget( m_buttonDeleteField, 2, 1 );
m_buttonMoveUpField = new KPushButton( i18n( "user-defined input", "Up" ), this );
m_buttonMoveUpField->setIconSet( TQIconSet( SmallIcon( "up" ) ) );
m_buttonMoveUpField->setIconSet( TQIconSet( SmallIcon( "go-up" ) ) );
gridLayout->addWidget( m_buttonMoveUpField, 3, 1 );
connect( m_buttonMoveUpField, SIGNAL( clicked() ), this, SLOT( slotMoveUpField() ) );
m_buttonMoveDownField = new KPushButton( i18n( "user-defined input", "Down" ), this );
m_buttonMoveDownField->setIconSet( TQIconSet( SmallIcon( "down" ) ) );
m_buttonMoveDownField->setIconSet( TQIconSet( SmallIcon( "go-down" ) ) );
gridLayout->addWidget( m_buttonMoveDownField, 4, 1 );
connect( m_buttonMoveDownField, SIGNAL( clicked() ), this, SLOT( slotMoveDownField() ) );

@ -344,11 +344,11 @@ namespace KBibTeX
gridLayout->addWidget( m_buttonDeleteServer, 2, 1 );
connect( m_buttonDeleteServer, SIGNAL( clicked() ), this, SLOT( slotDeleteServer() ) );
m_buttonMoveUpServer = new KPushButton( i18n( "z3950 server", "Up" ), this );
m_buttonMoveUpServer->setIconSet( TQIconSet( SmallIcon( "up" ) ) );
m_buttonMoveUpServer->setIconSet( TQIconSet( SmallIcon( "go-up" ) ) );
gridLayout->addWidget( m_buttonMoveUpServer, 3, 1 );
connect( m_buttonMoveUpServer, SIGNAL( clicked() ), this, SLOT( slotMoveUpServer() ) );
m_buttonMoveDownServer = new KPushButton( i18n( "z3950 server", "Down" ), this );
m_buttonMoveDownServer->setIconSet( TQIconSet( SmallIcon( "down" ) ) );
m_buttonMoveDownServer->setIconSet( TQIconSet( SmallIcon( "go-down" ) ) );
gridLayout->addWidget( m_buttonMoveDownServer, 4, 1 );
connect( m_buttonMoveDownServer, SIGNAL( clicked() ), this, SLOT( slotMoveDownServer() ) );

@ -241,12 +241,12 @@ namespace KBibTeX
m_pushButtonUp = new TQPushButton( i18n( "Up" ), this );
layout->addWidget( m_pushButtonUp, 5, 1 );
m_pushButtonUp->setIconSet( TQIconSet( SmallIcon( "up" ) ) );
m_pushButtonUp->setIconSet( TQIconSet( SmallIcon( "go-up" ) ) );
connect( m_pushButtonUp, SIGNAL( clicked() ), this, SLOT( slotUp() ) );
m_pushButtonDown = new TQPushButton( i18n( "Down" ), this );
layout->addWidget( m_pushButtonDown, 6, 1 );
m_pushButtonDown->setIconSet( TQIconSet( SmallIcon( "down" ) ) );
m_pushButtonDown->setIconSet( TQIconSet( SmallIcon( "go-down" ) ) );
connect( m_pushButtonDown, SIGNAL( clicked() ), this, SLOT( slotDown() ) );
}

Loading…
Cancel
Save