Bring package_development, package_games, package_graphics, package_network, package_multimedia, package_wordprocessing, edu_science, package_utilities, input_devices_settings, kcmsystem, personal, and looknfeel icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent 0aa01941fc
commit 4ee3e12dfd

@ -64,7 +64,7 @@ AuctionWidget::AuctionWidget(AtlanticCore *atlanticCore, Auction *auction, TQWid
if ( (player = *it) && player->game() == pSelf->game() )
{
item = new TDEListViewItem(m_playerList, player->name(), TQString("0"));
item->setPixmap(0, TQPixmap(SmallIcon("personal")));
item->setPixmap(0, TQPixmap(SmallIcon("preferences-desktop-personal")));
m_playerItems[player] = item;
connect(player, TQT_SIGNAL(changed(Player *)), this, TQT_SLOT(playerChanged(Player *)));

@ -180,8 +180,8 @@ void TradeDisplay::tradeItemAdded(TradeItem *tradeItem)
TDEListViewItem *item = new TDEListViewItem(m_componentList, (tradeItem->from() ? tradeItem->from()->name() : TQString("?")), i18n("gives is transitive ;)", "gives"), (tradeItem->to() ? tradeItem->to()->name() : TQString("?")), tradeItem->text());
connect(tradeItem, TQT_SIGNAL(changed(TradeItem *)), this, TQT_SLOT(tradeItemChanged(TradeItem *)));
item->setPixmap(0, TQPixmap(SmallIcon("personal")));
item->setPixmap(2, TQPixmap(SmallIcon("personal")));
item->setPixmap(0, TQPixmap(SmallIcon("preferences-desktop-personal")));
item->setPixmap(2, TQPixmap(SmallIcon("preferences-desktop-personal")));
if (TradeEstate *tradeEstate = dynamic_cast<TradeEstate*>(tradeItem))
item->setPixmap(3, PortfolioEstate::drawPixmap(tradeEstate->estate()));
@ -205,9 +205,9 @@ void TradeDisplay::tradeItemChanged(TradeItem *t)
if (item)
{
item->setText(0, t->from() ? t->from()->name() : TQString("?"));
item->setPixmap(0, TQPixmap(SmallIcon("personal")));
item->setPixmap(0, TQPixmap(SmallIcon("preferences-desktop-personal")));
item->setText(2, t->to() ? t->to()->name() : TQString("?"));
item->setPixmap(2, TQPixmap(SmallIcon("personal")));
item->setPixmap(2, TQPixmap(SmallIcon("preferences-desktop-personal")));
item->setText(3, t->text());
}
}

@ -184,7 +184,7 @@ void KTron::showSettings(){
TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Settings::self());
dialog->addPage(new General(0, "General"), i18n("General"), "package_settings");
dialog->addPage(new Ai(0, "Ai"), i18n("A.I."), "personal");
dialog->addPage(new Ai(0, "Ai"), i18n("A.I."), "preferences-desktop-personal");
dialog->addPage(new Appearance(0, "Appearance"), i18n("Appearance"), "style");
connect(dialog, TQT_SIGNAL(settingsChanged()), tron, TQT_SLOT(loadSettings()));
connect(dialog, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT(loadSettings()));

@ -13,7 +13,7 @@
void MainWindow::addConfig(TDEConfigDialog *dialog)
{
TQWidget *w = cfactory->createAIConfig();
if (w) dialog->addPage(w, i18n("A.I."), "personal");
if (w) dialog->addPage(w, i18n("A.I."), "preferences-desktop-personal");
}
void MainWindow::init()

Loading…
Cancel
Save