Branch: master

a1ce834c 2014-10-13 00:13:38 Timothy Pearson
Bring up, down, top, and bottom icons into XDG compliance
M src/collectionfieldsdialog.cpp
M src/configdialog.cpp
M src/gui/kwidgetlister.cpp
diff --git a/src/collectionfieldsdialog.cpp b/src/collectionfieldsdialog.cpp
index 7d1fc46..3025715 100644
--- a/src/collectionfieldsdialog.cpp
+++ b/src/collectionfieldsdialog.cpp
@@ -94,11 +94,11 @@
   TQHBox* hb2 = new TQHBox(fieldsGroup);
   hb2->setSpacing(KDialog::spacingHint());
   m_btnUp = new KPushButton(hb2);
-  m_btnUp->setPixmap(BarIcon(TQString::fromLatin1("up"), TDEIcon::SizeSmall));
+  m_btnUp->setPixmap(BarIcon(TQString::fromLatin1("go-up"), TDEIcon::SizeSmall));
   TQWhatsThis::add(m_btnUp, i18n("Move this field up in the list. The list order is important "
                                 "for the layout of the entry editor."));
   m_btnDown = new KPushButton(hb2);
-  m_btnDown->setPixmap(BarIcon(TQString::fromLatin1("down"), TDEIcon::SizeSmall));
+  m_btnDown->setPixmap(BarIcon(TQString::fromLatin1("go-down"), TDEIcon::SizeSmall));
   TQWhatsThis::add(m_btnDown, i18n("Move this field down in the list. The list order is important "
                                   "for the layout of the entry editor."));
 
diff --git a/src/configdialog.cpp b/src/configdialog.cpp
index 6367d1b..f406c5f 100644
--- a/src/configdialog.cpp
+++ b/src/configdialog.cpp
@@ -515,11 +515,11 @@
   leftLayout->addWidget(hb);
   hb->setSpacing(KDialog::spacingHint());
   m_moveUpSourceBtn = new KPushButton(i18n("Move &Up"), hb);
-  m_moveUpSourceBtn->setIconSet(SmallIconSet(TQString::fromLatin1("up")));
+  m_moveUpSourceBtn->setIconSet(SmallIconSet(TQString::fromLatin1("go-up")));
   TQWhatsThis::add(m_moveUpSourceBtn, i18n("The order of the data sources sets the order "
                                           "that Tellico uses when entries are automatically updated."));
   m_moveDownSourceBtn = new KPushButton(i18n("Move &Down"), hb);
-  m_moveDownSourceBtn->setIconSet(SmallIconSet(TQString::fromLatin1("down")));
+  m_moveDownSourceBtn->setIconSet(SmallIconSet(TQString::fromLatin1("go-down")));
   TQWhatsThis::add(m_moveDownSourceBtn, i18n("The order of the data sources sets the order "
                                             "that Tellico uses when entries are automatically updated."));
 
diff --git a/src/gui/kwidgetlister.cpp b/src/gui/kwidgetlister.cpp
index 6e2eaa1..90a9891 100644
--- a/src/gui/kwidgetlister.cpp
+++ b/src/gui/kwidgetlister.cpp
@@ -56,11 +56,11 @@
   mLayout->addWidget( mButtonBox );
 
   mBtnMore = new KPushButton( i18n("more widgets","More"), mButtonBox );
-  mBtnMore->setIconSet(SmallIconSet(TQString::fromLatin1("down")));
+  mBtnMore->setIconSet(SmallIconSet(TQString::fromLatin1("go-down")));
   mButtonBox->setStretchFactor( mBtnMore, 0 );
 
   mBtnFewer = new KPushButton( i18n("fewer widgets","Fewer"), mButtonBox );
-  mBtnFewer->setIconSet(SmallIconSet(TQString::fromLatin1("up")));
+  mBtnFewer->setIconSet(SmallIconSet(TQString::fromLatin1("go-up")));
   mButtonBox->setStretchFactor( mBtnFewer, 0 );
 
   TQWidget *spacer = new TQWidget( mButtonBox );