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

pull/16/head
Timothy Pearson 10 years ago
parent 659c2cd833
commit e4da373e49

Before

Width:  |  Height:  |  Size: 424 B

After

Width:  |  Height:  |  Size: 424 B

Before

Width:  |  Height:  |  Size: 406 B

After

Width:  |  Height:  |  Size: 406 B

Before

Width:  |  Height:  |  Size: 443 B

After

Width:  |  Height:  |  Size: 443 B

Before

Width:  |  Height:  |  Size: 412 B

After

Width:  |  Height:  |  Size: 412 B

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

@ -359,9 +359,9 @@ TQValueList<TDEAction*> KMCupsJobManager::createPluginActions(TDEActionCollectio
list << (act = new PluginAction(0, i18n("&Job IPP Report"), "tdeprint_report", 0, coll, "plugin_ipp")); list << (act = new PluginAction(0, i18n("&Job IPP Report"), "tdeprint_report", 0, coll, "plugin_ipp"));
act->setGroup("plugin"); act->setGroup("plugin");
list << (act = new PluginAction(1, i18n("&Increase Priority"), "up", 0, coll, "plugin_prioup")); list << (act = new PluginAction(1, i18n("&Increase Priority"), "go-up", 0, coll, "plugin_prioup"));
act->setGroup("plugin"); act->setGroup("plugin");
list << (act = new PluginAction(2, i18n("&Decrease Priority"), "down", 0, coll, "plugin_priodown")); list << (act = new PluginAction(2, i18n("&Decrease Priority"), "go-down", 0, coll, "plugin_priodown"));
act->setGroup("plugin"); act->setGroup("plugin");
list << (act = new PluginAction(3, i18n("&Edit Attributes..."), "edit", 0, coll, "plugin_editjob")); list << (act = new PluginAction(3, i18n("&Edit Attributes..."), "edit", 0, coll, "plugin_editjob"));
act->setGroup("plugin"); act->setGroup("plugin");

@ -147,12 +147,12 @@ KPFilterPage::KPFilterPage(TQWidget *parent, const char *name)
m_up = new TQToolButton(this); m_up = new TQToolButton(this);
TQWhatsThis::add(m_up, whatsThisMoveFilterUpButton); TQWhatsThis::add(m_up, whatsThisMoveFilterUpButton);
m_up->setIconSet(BarIconSet("up")); m_up->setIconSet(BarIconSet("go-up"));
TQToolTip::add(m_up, i18n("Move filter up")); TQToolTip::add(m_up, i18n("Move filter up"));
m_down = new TQToolButton(this); m_down = new TQToolButton(this);
TQWhatsThis::add(m_down, whatsThisMoveFilterDownButton); TQWhatsThis::add(m_down, whatsThisMoveFilterDownButton);
m_down->setIconSet(BarIconSet("down")); m_down->setIconSet(BarIconSet("go-down"));
TQToolTip::add(m_down, i18n("Move filter down")); TQToolTip::add(m_down, i18n("Move filter down"));
m_configure = new TQToolButton(this); m_configure = new TQToolButton(this);

@ -870,7 +870,7 @@ void KPrintDialog::expandDialog(bool on)
if (d->b_systemEnabled) if (d->b_systemEnabled)
d->m_plugin->show(); d->m_plugin->show();
} }
d->m_extbtn->setIconSet(SmallIconSet("up")); d->m_extbtn->setIconSet(SmallIconSet("go-up"));
d->m_extbtn->setText(i18n("&Options <<")); d->m_extbtn->setText(i18n("&Options <<"));
d->m_reduced = false; d->m_reduced = false;
} }
@ -883,7 +883,7 @@ void KPrintDialog::expandDialog(bool on)
if (d->b_systemEnabled) if (d->b_systemEnabled)
d->m_plugin->hide(); d->m_plugin->hide();
} }
d->m_extbtn->setIconSet(SmallIconSet("down")); d->m_extbtn->setIconSet(SmallIconSet("go-down"));
d->m_extbtn->setText(i18n("&Options >>")); d->m_extbtn->setText(i18n("&Options >>"));
d->m_reduced = true; d->m_reduced = true;
} }

@ -54,8 +54,8 @@ KMConfigFonts::KMConfigFonts(TQWidget *parent, const char *name)
m_fontpath->setSorting(-1); m_fontpath->setSorting(-1);
m_addpath = new KURLRequester(box2); m_addpath = new KURLRequester(box2);
m_addpath->setMode(KFile::Directory|KFile::ExistingOnly|KFile::LocalOnly); m_addpath->setMode(KFile::Directory|KFile::ExistingOnly|KFile::LocalOnly);
m_up = new KPushButton(KGuiItem(i18n("&Up"), "up"), box2); m_up = new KPushButton(KGuiItem(i18n("&Up"), "go-up"), box2);
m_down = new KPushButton(KGuiItem(i18n("&Down"), "down"), box2); m_down = new KPushButton(KGuiItem(i18n("&Down"), "go-down"), box2);
m_add = new KPushButton(KGuiItem(i18n("&Add"), "add"), box2); m_add = new KPushButton(KGuiItem(i18n("&Add"), "add"), box2);
m_remove = new KPushButton(KGuiItem(i18n("&Remove"), "editdelete"), box2); m_remove = new KPushButton(KGuiItem(i18n("&Remove"), "editdelete"), box2);
TQLabel *lab0 = new TQLabel(i18n("Additional director&y:"), box2); TQLabel *lab0 = new TQLabel(i18n("Additional director&y:"), box2);

@ -97,9 +97,9 @@ KXmlCommandAdvancedDlg::KXmlCommandAdvancedDlg(TQWidget *parent, const char *nam
m_delopt = new TQToolButton(this); m_delopt = new TQToolButton(this);
m_delopt->setIconSet(SmallIconSet("editdelete")); m_delopt->setIconSet(SmallIconSet("editdelete"));
m_up = new TQToolButton(this); m_up = new TQToolButton(this);
m_up->setIconSet(SmallIconSet("up")); m_up->setIconSet(SmallIconSet("go-up"));
m_down = new TQToolButton(this); m_down = new TQToolButton(this);
m_down->setIconSet(SmallIconSet("down")); m_down->setIconSet(SmallIconSet("go-down"));
m_dummy = new TQWidget(this); m_dummy = new TQWidget(this);
m_desc = new TQLineEdit(m_dummy); m_desc = new TQLineEdit(m_dummy);
m_name = new TQLineEdit(m_dummy); m_name = new TQLineEdit(m_dummy);

@ -130,14 +130,14 @@ KFileList::KFileList(TQWidget *parent, const char *name)
m_open->setEnabled(false); m_open->setEnabled(false);
m_up = new TQToolButton(this); m_up = new TQToolButton(this);
m_up->setIconSet(SmallIconSet("up")); m_up->setIconSet(SmallIconSet("go-up"));
connect(m_up, TQT_SIGNAL(clicked()), TQT_SLOT(slotUp())); connect(m_up, TQT_SIGNAL(clicked()), TQT_SLOT(slotUp()));
TQToolTip::add(m_up, i18n("Move up")); TQToolTip::add(m_up, i18n("Move up"));
TQWhatsThis::add(m_up, whatsThisMoveFileUpButton); TQWhatsThis::add(m_up, whatsThisMoveFileUpButton);
m_up->setEnabled(false); m_up->setEnabled(false);
m_down = new TQToolButton(this); m_down = new TQToolButton(this);
m_down->setIconSet(SmallIconSet("down")); m_down->setIconSet(SmallIconSet("go-down"));
connect(m_down, TQT_SIGNAL(clicked()), TQT_SLOT(slotDown())); connect(m_down, TQT_SIGNAL(clicked()), TQT_SLOT(slotDown()));
TQToolTip::add(m_down, i18n("Move down")); TQToolTip::add(m_down, i18n("Move down"));
TQWhatsThis::add(m_down, whatsThisMoveFileDownButton); TQWhatsThis::add(m_down, whatsThisMoveFileDownButton);

@ -403,11 +403,11 @@ KDE_EXPORT TQPixmap RandRScreen::rotationIcon(int rotation) const
switch (rotation) { switch (rotation) {
case RR_Rotate_0: case RR_Rotate_0:
return SmallIcon("up"); return SmallIcon("go-up");
case RR_Rotate_90: case RR_Rotate_90:
return SmallIcon("back"); return SmallIcon("back");
case RR_Rotate_180: case RR_Rotate_180:
return SmallIcon("down"); return SmallIcon("go-down");
case RR_Rotate_270: case RR_Rotate_270:
return SmallIcon("forward"); return SmallIcon("forward");
case RR_Reflect_X: case RR_Reflect_X:

@ -827,7 +827,7 @@ void KEditToolbarWidget::setupLayout()
TQIconSet iconSet; TQIconSet iconSet;
m_upAction = new TQToolButton(this); m_upAction = new TQToolButton(this);
iconSet = SmallIconSet( "up" ); iconSet = SmallIconSet( "go-up" );
m_upAction->setIconSet( iconSet ); m_upAction->setIconSet( iconSet );
m_upAction->setEnabled(false); m_upAction->setEnabled(false);
m_upAction->setAutoRepeat(true); m_upAction->setAutoRepeat(true);
@ -846,7 +846,7 @@ void KEditToolbarWidget::setupLayout()
connect(m_removeAction, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemoveButton())); connect(m_removeAction, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemoveButton()));
m_downAction = new TQToolButton(this); m_downAction = new TQToolButton(this);
iconSet = SmallIconSet( "down" ); iconSet = SmallIconSet( "go-down" );
m_downAction->setIconSet( iconSet ); m_downAction->setIconSet( iconSet );
m_downAction->setEnabled(false); m_downAction->setEnabled(false);
m_downAction->setAutoRepeat(true); m_downAction->setAutoRepeat(true);

@ -74,7 +74,7 @@ static const KStdActionInfo g_rgActionInfo[] =
// KDE4: give Redisplay the shortcut TDEStdAccel::AccelReload // KDE4: give Redisplay the shortcut TDEStdAccel::AccelReload
{ Redisplay, TDEStdAccel::AccelNone, "view_redisplay", I18N_NOOP("&Redisplay"), 0, "reload" }, { Redisplay, TDEStdAccel::AccelNone, "view_redisplay", I18N_NOOP("&Redisplay"), 0, "reload" },
{ Up, TDEStdAccel::Up, "go_up", I18N_NOOP("&Up"), 0, "up" }, { Up, TDEStdAccel::Up, "go_up", I18N_NOOP("&Up"), 0, "go-up" },
// The following three have special i18n() needs for sLabel // The following three have special i18n() needs for sLabel
{ Back, TDEStdAccel::Back, "go_back", 0, 0, "back" }, { Back, TDEStdAccel::Back, "go_back", 0, 0, "back" },
{ Forward, TDEStdAccel::Forward, "go_forward", 0, 0, "forward" }, { Forward, TDEStdAccel::Forward, "go_forward", 0, 0, "forward" },

@ -54,8 +54,8 @@ TDEActionSelector::TDEActionSelector( TQWidget *parent, const char *name )
d->iconSize = SmallIcon; d->iconSize = SmallIcon;
d->addIcon = TQApplication::reverseLayout()? "back" : "forward"; d->addIcon = TQApplication::reverseLayout()? "back" : "forward";
d->removeIcon = TQApplication::reverseLayout()? "forward" : "back"; d->removeIcon = TQApplication::reverseLayout()? "forward" : "back";
d->upIcon = "up"; d->upIcon = "go-up";
d->downIcon = "down"; d->downIcon = "go-down";
d->availableInsertionPolicy = Sorted; d->availableInsertionPolicy = Sorted;
d->selectedInsertionPolicy = BelowCurrent; d->selectedInsertionPolicy = BelowCurrent;
d->showUpDownButtons = true; d->showUpDownButtons = true;

Loading…
Cancel
Save