From bab4f22f92cb4960c7a7c17845813de2082ffdc9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Oct 2014 15:43:57 -0500 Subject: Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance --- tdeprint/cups/cupsdconf2/cupsdjobspage.cpp | 2 +- tdeprint/cups/cupsdconf2/editlist.cpp | 4 ++-- tdeprint/cups/cupsdconf2/qdirlineedit.cpp | 2 +- tdeprint/cups/cupsdconf2/qdirmultilineedit.cpp | 4 ++-- tdeprint/cups/ippreportdlg.cpp | 4 ++-- tdeprint/cups/kmpropbanners.cpp | 2 +- tdeprint/driveritem.cpp | 2 +- tdeprint/kprintdialog.cpp | 2 +- tdeprint/kprintpreview.cpp | 6 +++--- tdeprint/lpr/editentrydialog.cpp | 2 +- tdeprint/management/kmconfigfonts.cpp | 2 +- tdeprint/management/kmconfiggeneral.cpp | 2 +- tdeprint/management/kmdriverdbwidget.cpp | 2 +- tdeprint/management/kminstancepage.cpp | 8 ++++---- tdeprint/management/kmjobviewer.cpp | 6 +++--- tdeprint/management/kmpages.cpp | 2 +- tdeprint/management/kmspecialprinterdlg.cpp | 2 +- tdeprint/management/kxmlcommanddlg.cpp | 12 ++++++------ tdeprint/management/kxmlcommandselector.cpp | 4 ++-- tdeprint/tdefilelist.cpp | 2 +- tdeprint/tdeprintd.cpp | 4 ++-- 21 files changed, 38 insertions(+), 38 deletions(-) (limited to 'tdeprint') diff --git a/tdeprint/cups/cupsdconf2/cupsdjobspage.cpp b/tdeprint/cups/cupsdconf2/cupsdjobspage.cpp index 49fdecc7c..4fe84d769 100644 --- a/tdeprint/cups/cupsdconf2/cupsdjobspage.cpp +++ b/tdeprint/cups/cupsdconf2/cupsdjobspage.cpp @@ -33,7 +33,7 @@ CupsdJobsPage::CupsdJobsPage(TQWidget *parent, const char *name) { setPageLabel(i18n("Jobs")); setHeader(i18n("Print Jobs Settings")); - setPixmap("fileprint"); + setPixmap("document-print"); keepjobhistory_ = new TQCheckBox(i18n("Preserve job history"), this); keepjobfiles_ = new TQCheckBox(i18n("Preserve job files"), this); diff --git a/tdeprint/cups/cupsdconf2/editlist.cpp b/tdeprint/cups/cupsdconf2/editlist.cpp index 936dee212..2e0d523f0 100644 --- a/tdeprint/cups/cupsdconf2/editlist.cpp +++ b/tdeprint/cups/cupsdconf2/editlist.cpp @@ -30,9 +30,9 @@ EditList::EditList(TQWidget *parent, const char *name) : TQWidget(parent, name) { list_ = new TDEListBox(this); - addbtn_ = new KPushButton(KGuiItem(i18n("Add..."), "filenew"), this); + addbtn_ = new KPushButton(KGuiItem(i18n("Add..."), "document-new"), this); editbtn_ = new KPushButton(KGuiItem(i18n("Edit..."), "edit"), this); - delbtn_ = new KPushButton(KGuiItem(i18n("Delete"), "editdelete"), this); + delbtn_ = new KPushButton(KGuiItem(i18n("Delete"), "edit-delete"), this); defbtn_ = new KPushButton(KGuiItem(i18n("Default List"), "history"), this); TQGridLayout *m1 = new TQGridLayout(this, 4, 2, 0, 0); diff --git a/tdeprint/cups/cupsdconf2/qdirlineedit.cpp b/tdeprint/cups/cupsdconf2/qdirlineedit.cpp index 25c984ec4..c3a6d50d2 100644 --- a/tdeprint/cups/cupsdconf2/qdirlineedit.cpp +++ b/tdeprint/cups/cupsdconf2/qdirlineedit.cpp @@ -30,7 +30,7 @@ QDirLineEdit::QDirLineEdit(bool file, TQWidget *parent, const char *name) { edit_ = new TQLineEdit(this); button_ = new KPushButton(this); - button_->setPixmap(SmallIcon("fileopen")); + button_->setPixmap(SmallIcon("document-open")); connect(button_,TQT_SIGNAL(clicked()),TQT_SLOT(buttonClicked())); TQHBoxLayout *main_ = new TQHBoxLayout(this, 0, 3); diff --git a/tdeprint/cups/cupsdconf2/qdirmultilineedit.cpp b/tdeprint/cups/cupsdconf2/qdirmultilineedit.cpp index 0992e2935..e6cade32e 100644 --- a/tdeprint/cups/cupsdconf2/qdirmultilineedit.cpp +++ b/tdeprint/cups/cupsdconf2/qdirmultilineedit.cpp @@ -37,10 +37,10 @@ QDirMultiLineEdit::QDirMultiLineEdit(TQWidget *parent, const char *name) connect(m_view, TQT_SIGNAL(selectionChanged(TQListViewItem*)), TQT_SLOT(slotSelected(TQListViewItem*))); m_add = new TQPushButton(this); - m_add->setPixmap(SmallIcon("folder_new")); + m_add->setPixmap(SmallIcon("folder-new")); connect(m_add, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddClicked())); m_remove = new TQPushButton(this); - m_remove->setPixmap(SmallIcon("editdelete")); + m_remove->setPixmap(SmallIcon("edit-delete")); connect(m_remove, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemoveClicked())); m_remove->setEnabled(false); diff --git a/tdeprint/cups/ippreportdlg.cpp b/tdeprint/cups/ippreportdlg.cpp index ed56804bc..63f0207dd 100644 --- a/tdeprint/cups/ippreportdlg.cpp +++ b/tdeprint/cups/ippreportdlg.cpp @@ -31,14 +31,14 @@ #include IppReportDlg::IppReportDlg(TQWidget *parent, const char *name) -: KDialogBase(parent, name, true, i18n("IPP Report"), Close|User1, Close, false, KGuiItem(i18n("&Print"), "fileprint")) +: KDialogBase(parent, name, true, i18n("IPP Report"), Close|User1, Close, false, KGuiItem(i18n("&Print"), "document-print")) { m_edit = new KTextEdit(this); m_edit->setReadOnly(true); setMainWidget(m_edit); resize(540, 500); setFocusProxy(m_edit); - setButtonGuiItem(User1, KGuiItem(i18n("&Print"),"fileprint")); + setButtonGuiItem(User1, KGuiItem(i18n("&Print"),"document-print")); } void IppReportDlg::slotUser1() diff --git a/tdeprint/cups/kmpropbanners.cpp b/tdeprint/cups/kmpropbanners.cpp index 602af7f6d..5abc4177d 100644 --- a/tdeprint/cups/kmpropbanners.cpp +++ b/tdeprint/cups/kmpropbanners.cpp @@ -48,7 +48,7 @@ KMPropBanners::KMPropBanners(TQWidget *parent, const char *name) m_title = i18n("Banners"); m_header = i18n("Banner Settings"); - m_pixmap = "editcopy"; + m_pixmap = "edit-copy"; } KMPropBanners::~KMPropBanners() diff --git a/tdeprint/driveritem.cpp b/tdeprint/driveritem.cpp index 1ce2f5625..2a73a07e5 100644 --- a/tdeprint/driveritem.cpp +++ b/tdeprint/driveritem.cpp @@ -28,7 +28,7 @@ DriverItem::DriverItem(TQListView *parent, DrBase *item) : TQListViewItem(parent), m_item(item), m_conflict(false) { setOpen(depth() < 3); - setPixmap(0,SmallIcon("fileprint")); + setPixmap(0,SmallIcon("document-print")); updateText(); } diff --git a/tdeprint/kprintdialog.cpp b/tdeprint/kprintdialog.cpp index f63dfd11b..9df774510 100644 --- a/tdeprint/kprintdialog.cpp +++ b/tdeprint/kprintdialog.cpp @@ -304,7 +304,7 @@ KPrintDialog::KPrintDialog(TQWidget *parent, const char *name) d->m_wizard->setMinimumSize(TQSize(d->m_printers->minimumHeight(),d->m_printers->minimumHeight())); TQToolTip::add(d->m_wizard, i18n("Add printer...")); TQWhatsThis::add(d->m_wizard, whatsThisAddPrinterWizard); - d->m_ok = new KPushButton(KGuiItem(i18n("&Print"), "fileprint"), this); + d->m_ok = new KPushButton(KGuiItem(i18n("&Print"), "document-print"), this); TQWhatsThis::add( d->m_ok, whatsThisPrintButton); d->m_ok->setDefault(true); d->m_ok->setEnabled( false ); diff --git a/tdeprint/kprintpreview.cpp b/tdeprint/kprintpreview.cpp index 0a385efbf..d4de7925d 100644 --- a/tdeprint/kprintpreview.cpp +++ b/tdeprint/kprintpreview.cpp @@ -138,7 +138,7 @@ static bool continuePrint(const TQString& msg_, TQWidget *parent, bool previewOn else { msg.append(" ").append(i18n("Do you want to continue printing anyway?")); - return (KMessageBox::warningContinueCancel(parent, msg, TQString::null, KGuiItem(i18n("Print"),"fileprint")) == KMessageBox::Continue); + return (KMessageBox::warningContinueCancel(parent, msg, TQString::null, KGuiItem(i18n("Print"),"document-print")) == KMessageBox::Continue); } } @@ -157,7 +157,7 @@ KPrintPreview::KPrintPreview(TQWidget *parent, bool previewOnly) KStdAction::close(TQT_TQOBJECT(this), TQT_SLOT(reject()), d->actions_, "close_print"); else { - new TDEAction(i18n("Print"), "fileprint", Qt::Key_Return, TQT_TQOBJECT(this), TQT_SLOT(accept()), d->actions_, "continue_print"); + new TDEAction(i18n("Print"), "document-print", Qt::Key_Return, TQT_TQOBJECT(this), TQT_SLOT(accept()), d->actions_, "continue_print"); new TDEAction(i18n("Cancel"), "process-stop", Qt::Key_Escape, TQT_TQOBJECT(this), TQT_SLOT(reject()), d->actions_, "stop_print"); } @@ -319,7 +319,7 @@ bool KPrintPreview::preview(const TQString& file, bool previewOnly, WId parentId } else if (!previewOnly) { - return (KMessageBox::questionYesNo(parentW, i18n("Do you want to continue printing?"), TQString::null, KGuiItem(i18n("Print"),"fileprint"), KStdGuiItem::cancel(), "continuePrinting") == KMessageBox::Yes); + return (KMessageBox::questionYesNo(parentW, i18n("Do you want to continue printing?"), TQString::null, KGuiItem(i18n("Print"),"document-print"), KStdGuiItem::cancel(), "continuePrinting") == KMessageBox::Yes); } else return false; diff --git a/tdeprint/lpr/editentrydialog.cpp b/tdeprint/lpr/editentrydialog.cpp index 9a8f9caa2..bf61919c3 100644 --- a/tdeprint/lpr/editentrydialog.cpp +++ b/tdeprint/lpr/editentrydialog.cpp @@ -75,7 +75,7 @@ EditEntryDialog::EditEntryDialog(PrintcapEntry *entry, TQWidget *parent, const c TQListViewItem *root = new TQListViewItem(m_view, entry->name), *item = 0; root->setSelectable(false); root->setOpen(true); - root->setPixmap(0, SmallIcon("fileprint")); + root->setPixmap(0, SmallIcon("document-print")); for (TQMap::ConstIterator it=m_fields.begin(); it!=m_fields.end(); ++it) item = new TQListViewItem(root, item, (*it).toString(), it.key()); } diff --git a/tdeprint/management/kmconfigfonts.cpp b/tdeprint/management/kmconfigfonts.cpp index e93c30276..4d9854774 100644 --- a/tdeprint/management/kmconfigfonts.cpp +++ b/tdeprint/management/kmconfigfonts.cpp @@ -57,7 +57,7 @@ KMConfigFonts::KMConfigFonts(TQWidget *parent, const char *name) m_up = new KPushButton(KGuiItem(i18n("&Up"), "go-up"), box2); m_down = new KPushButton(KGuiItem(i18n("&Down"), "go-down"), 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"), "edit-delete"), box2); TQLabel *lab0 = new TQLabel(i18n("Additional director&y:"), box2); lab0->setBuddy(m_addpath); diff --git a/tdeprint/management/kmconfiggeneral.cpp b/tdeprint/management/kmconfiggeneral.cpp index 635667cec..edf8902bf 100644 --- a/tdeprint/management/kmconfiggeneral.cpp +++ b/tdeprint/management/kmconfiggeneral.cpp @@ -43,7 +43,7 @@ KMConfigGeneral::KMConfigGeneral(TQWidget *parent) { setPageName(i18n("General")); setPageHeader(i18n("General Settings")); - setPagePixmap("fileprint"); + setPagePixmap("document-print"); TQGroupBox *m_timerbox = new TQGroupBox(0, Qt::Vertical, i18n("Refresh Interval"), this); m_timer = new KIntNumInput(m_timerbox,"Timer"); diff --git a/tdeprint/management/kmdriverdbwidget.cpp b/tdeprint/management/kmdriverdbwidget.cpp index 50297bdca..7223dbcd3 100644 --- a/tdeprint/management/kmdriverdbwidget.cpp +++ b/tdeprint/management/kmdriverdbwidget.cpp @@ -52,7 +52,7 @@ KMDriverDbWidget::KMDriverDbWidget(TQWidget *parent, const char *name) m_raw = new TQCheckBox(i18n("&Raw printer (no driver needed)"),this); m_postscript->setCursor(KCursor::handCursor()); m_raw->setCursor(KCursor::handCursor()); - m_other = new KPushButton(KGuiItem(i18n("&Other..."), "fileopen"), this); + m_other = new KPushButton(KGuiItem(i18n("&Other..."), "document-open"), this); TQLabel *l1 = new TQLabel(i18n("&Manufacturer:"), this); TQLabel *l2 = new TQLabel(i18n("Mo&del:"), this); l1->setBuddy(m_manu); diff --git a/tdeprint/management/kminstancepage.cpp b/tdeprint/management/kminstancepage.cpp index 0cadf3dba..09fe56867 100644 --- a/tdeprint/management/kminstancepage.cpp +++ b/tdeprint/management/kminstancepage.cpp @@ -84,14 +84,14 @@ void KMInstancePage::addButton(const TQString& txt, const TQString& pixmap, cons void KMInstancePage::initActions() { - addButton(i18n("New..."), "filenew", TQT_SLOT(slotNew())); - addButton(i18n("Copy..."), "editcopy", TQT_SLOT(slotCopy())); + addButton(i18n("New..."), "document-new", TQT_SLOT(slotNew())); + addButton(i18n("Copy..."), "edit-copy", TQT_SLOT(slotCopy())); addButton(i18n("Remove"), "edittrash", TQT_SLOT(slotRemove())); m_buttons.append(0); addButton(i18n("Set as Default"), "exec", TQT_SLOT(slotDefault())); addButton(i18n("Settings"), "configure", TQT_SLOT(slotSettings())); m_buttons.append(0); - addButton(i18n("Test..."), "fileprint", TQT_SLOT(slotTest())); + addButton(i18n("Test..."), "document-print", TQT_SLOT(slotTest())); } void KMInstancePage::setPrinter(KMPrinter *p) @@ -110,7 +110,7 @@ void KMInstancePage::setPrinter(KMPrinter *p) for (;it.current();++it) { TQStringList pair = TQStringList::split('/',it.current()->name(),false); - m_view->insertItem(SmallIcon((it.current()->isSoftDefault() ? "exec" : "fileprint")),(pair.count() > 1 ? pair[1] : i18n("(Default)"))); + m_view->insertItem(SmallIcon((it.current()->isSoftDefault() ? "exec" : "document-print")),(pair.count() > 1 ? pair[1] : i18n("(Default)"))); } m_view->sort(); } diff --git a/tdeprint/management/kmjobviewer.cpp b/tdeprint/management/kmjobviewer.cpp index b94a2a7ad..4153013d3 100644 --- a/tdeprint/management/kmjobviewer.cpp +++ b/tdeprint/management/kmjobviewer.cpp @@ -145,7 +145,7 @@ void KMJobViewer::updateCaption() if (!m_standalone) return; - TQString pixname("fileprint"); + TQString pixname("document-print"); if (!m_prname.isEmpty()) { setCaption(i18n("Print Jobs for %1").arg(m_prname)); @@ -263,7 +263,7 @@ void KMJobViewer::initActions() TDEAction *ract = new TDEAction(i18n("&Resume"),"system-run",0,TQT_TQOBJECT(this),TQT_SLOT(slotResume()),actionCollection(),"job_resume"); TDEAction *dact = new TDEAction(i18n("Remo&ve"),"edittrash",Qt::Key_Delete,TQT_TQOBJECT(this),TQT_SLOT(slotRemove()),actionCollection(),"job_remove"); TDEAction *sact = new TDEAction(i18n("Res&tart"),"edit-redo",0,TQT_TQOBJECT(this),TQT_SLOT(slotRestart()),actionCollection(),"job_restart"); - TDEActionMenu *mact = new TDEActionMenu(i18n("&Move to Printer"),"fileprint",actionCollection(),"job_move"); + TDEActionMenu *mact = new TDEActionMenu(i18n("&Move to Printer"),"document-print",actionCollection(),"job_move"); mact->setDelayed(false); connect(mact->popupMenu(),TQT_SIGNAL(activated(int)),TQT_SLOT(slotMove(int))); connect(mact->popupMenu(),TQT_SIGNAL(aboutToShow()),KMTimer::self(),TQT_SLOT(hold())); @@ -353,7 +353,7 @@ void KMJobViewer::buildPrinterMenu(TQPopupMenu *menu, bool use_all, bool use_spe int i(0); if (use_all) { - menu->insertItem(SmallIcon("fileprint"), i18n("All Printers"), i++); + menu->insertItem(SmallIcon("document-print"), i18n("All Printers"), i++); menu->insertSeparator(); } for (; it.current(); ++it, i++) diff --git a/tdeprint/management/kmpages.cpp b/tdeprint/management/kmpages.cpp index d0c413966..f14a61667 100644 --- a/tdeprint/management/kmpages.cpp +++ b/tdeprint/management/kmpages.cpp @@ -66,7 +66,7 @@ void KMPages::initialize() // Instance page KMInstancePage *instpage = new KMInstancePage(this, "Instance"); - addTab(instpage, SmallIcon("fileprint"), i18n("Instances")); + addTab(instpage, SmallIcon("document-print"), i18n("Instances")); m_pages.append(instpage); // initialize pages diff --git a/tdeprint/management/kmspecialprinterdlg.cpp b/tdeprint/management/kmspecialprinterdlg.cpp index 7c4c0173d..db6dc1486 100644 --- a/tdeprint/management/kmspecialprinterdlg.cpp +++ b/tdeprint/management/kmspecialprinterdlg.cpp @@ -89,7 +89,7 @@ KMSpecialPrinterDlg::KMSpecialPrinterDlg(TQWidget *parent, const char *name) m_extensionlabel->setBuddy(m_extension); m_icon = new TDEIconButton(dummy); - m_icon->setIcon("fileprint"); + m_icon->setIcon("document-print"); m_icon->setFixedSize(TQSize(48,48)); connect( m_usefile, TQT_SIGNAL( toggled( bool ) ), m_mimetype, TQT_SLOT( setEnabled( bool ) ) ); diff --git a/tdeprint/management/kxmlcommanddlg.cpp b/tdeprint/management/kxmlcommanddlg.cpp index f6865a659..47ba4a2a7 100644 --- a/tdeprint/management/kxmlcommanddlg.cpp +++ b/tdeprint/management/kxmlcommanddlg.cpp @@ -95,7 +95,7 @@ KXmlCommandAdvancedDlg::KXmlCommandAdvancedDlg(TQWidget *parent, const char *nam m_addopt = new TQToolButton(this); m_addopt->setIconSet(SmallIconSet("document")); m_delopt = new TQToolButton(this); - m_delopt->setIconSet(SmallIconSet("editdelete")); + m_delopt->setIconSet(SmallIconSet("edit-delete")); m_up = new TQToolButton(this); m_up->setIconSet(SmallIconSet("go-up")); m_down = new TQToolButton(this); @@ -144,9 +144,9 @@ KXmlCommandAdvancedDlg::KXmlCommandAdvancedDlg(TQWidget *parent, const char *nam m_values->setSorting(-1); m_values->setMaximumHeight(110); m_addval = new TQToolButton(w2); - m_addval->setIconSet(SmallIconSet("editcopy")); + m_addval->setIconSet(SmallIconSet("edit-copy")); m_delval = new TQToolButton(w2); - m_delval->setIconSet(SmallIconSet("editdelete")); + m_delval->setIconSet(SmallIconSet("edit-delete")); TQToolTip::add(m_addval, i18n("Add value")); TQToolTip::add(m_delval, i18n("Delete value")); @@ -370,7 +370,7 @@ void KXmlCommandAdvancedDlg::parseXmlCommand(KXmlCommand *xmlcmd) TQListViewItem *root = new TQListViewItem(m_view, xmlcmd->name(), xmlcmd->name()); DrMain *driver = xmlcmd->driver(); - root->setPixmap(0, SmallIcon("fileprint")); + root->setPixmap(0, SmallIcon("document-print")); root->setOpen(true); if (driver) { @@ -845,9 +845,9 @@ KXmlCommandDlg::KXmlCommandDlg(TQWidget *parent, const char *name) m_requirements->addColumn(""); m_requirements->header()->hide(); m_addreq = new TQToolButton(m_gb2); - m_addreq->setIconSet(SmallIconSet("filenew")); + m_addreq->setIconSet(SmallIconSet("document-new")); m_removereq = new TQToolButton(m_gb2); - m_removereq->setIconSet(SmallIconSet("editdelete")); + m_removereq->setIconSet(SmallIconSet("edit-delete")); TQPushButton *m_edit = new KPushButton(KGuiItem(i18n("&Edit Command..."), "edit"), topmain); m_mimetype = new TQComboBox(dummy); m_availablemime = new TDEListBox(m_gb1); diff --git a/tdeprint/management/kxmlcommandselector.cpp b/tdeprint/management/kxmlcommandselector.cpp index 08722cf6e..95f2b94a7 100644 --- a/tdeprint/management/kxmlcommandselector.cpp +++ b/tdeprint/management/kxmlcommandselector.cpp @@ -47,7 +47,7 @@ KXmlCommandSelector::KXmlCommandSelector(bool canBeNull, TQWidget *parent, const connect(m_cmd, TQT_SIGNAL(activated(int)), TQT_SLOT(slotCommandSelected(int))); TQPushButton *m_add = new KPushButton(this); TQPushButton *m_edit = new KPushButton(this); - m_add->setPixmap(SmallIcon("filenew")); + m_add->setPixmap(SmallIcon("document-new")); m_edit->setPixmap(SmallIcon("configure")); connect(m_add, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddCommand())); connect(m_edit, TQT_SIGNAL(clicked()), TQT_SLOT(slotEditCommand())); @@ -69,7 +69,7 @@ KXmlCommandSelector::KXmlCommandSelector(bool canBeNull, TQWidget *parent, const if (canBeNull) { m_line = new TQLineEdit(this); - m_browse = new KPushButton(KGuiItem(i18n("&Browse..."), "fileopen"), this); + m_browse = new KPushButton(KGuiItem(i18n("&Browse..."), "document-open"), this); m_usefilter = new TQCheckBox(i18n("Use co&mmand:"), this); connect(m_browse, TQT_SIGNAL(clicked()), TQT_SLOT(slotBrowse())); connect(m_usefilter, TQT_SIGNAL(toggled(bool)), m_line, TQT_SLOT(setDisabled(bool))); diff --git a/tdeprint/tdefilelist.cpp b/tdeprint/tdefilelist.cpp index 607fab296..311950e02 100644 --- a/tdeprint/tdefilelist.cpp +++ b/tdeprint/tdefilelist.cpp @@ -110,7 +110,7 @@ KFileList::KFileList(TQWidget *parent, const char *name) connect(m_files, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChanged())); m_add = new TQToolButton(this); - m_add->setIconSet(SmallIconSet("fileopen")); + m_add->setIconSet(SmallIconSet("document-open")); connect(m_add, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddFile())); TQToolTip::add(m_add, i18n("Add file")); TQWhatsThis::add(m_add, whatsThisAddFileButton); diff --git a/tdeprint/tdeprintd.cpp b/tdeprint/tdeprintd.cpp index 9b7b6c955..754f67c3c 100644 --- a/tdeprint/tdeprintd.cpp +++ b/tdeprint/tdeprintd.cpp @@ -69,9 +69,9 @@ StatusWindow::StatusWindow(int pid) m_label->setAlignment(AlignCenter); m_button = new KPushButton(KStdGuiItem::close(), this); m_icon = new TQLabel(this); - m_icon->setPixmap(DesktopIcon("fileprint")); + m_icon->setPixmap(DesktopIcon("document-print")); m_icon->setAlignment(AlignCenter); - KWin::setIcons(winId(), *(m_icon->pixmap()), SmallIcon("fileprint")); + KWin::setIcons(winId(), *(m_icon->pixmap()), SmallIcon("document-print")); TQGridLayout *l0 = new TQGridLayout(this, 2, 3, 10, 10); l0->setRowStretch(0, 1); l0->setColStretch(1, 1); -- cgit v1.2.3