diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-13 15:43:57 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-13 15:43:57 -0500 |
commit | bab4f22f92cb4960c7a7c17845813de2082ffdc9 (patch) | |
tree | 640b74651a92cff1c0ad2d5f0d3fd497b0ebb318 /tdeprint/management | |
parent | 43022555c031434da009032eceb8e6061e969d5f (diff) | |
download | tdelibs-bab4f22f92cb4960c7a7c17845813de2082ffdc9.tar.gz tdelibs-bab4f22f92cb4960c7a7c17845813de2082ffdc9.zip |
Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance
Diffstat (limited to 'tdeprint/management')
-rw-r--r-- | tdeprint/management/kmconfigfonts.cpp | 2 | ||||
-rw-r--r-- | tdeprint/management/kmconfiggeneral.cpp | 2 | ||||
-rw-r--r-- | tdeprint/management/kmdriverdbwidget.cpp | 2 | ||||
-rw-r--r-- | tdeprint/management/kminstancepage.cpp | 8 | ||||
-rw-r--r-- | tdeprint/management/kmjobviewer.cpp | 6 | ||||
-rw-r--r-- | tdeprint/management/kmpages.cpp | 2 | ||||
-rw-r--r-- | tdeprint/management/kmspecialprinterdlg.cpp | 2 | ||||
-rw-r--r-- | tdeprint/management/kxmlcommanddlg.cpp | 12 | ||||
-rw-r--r-- | tdeprint/management/kxmlcommandselector.cpp | 4 |
9 files changed, 20 insertions, 20 deletions
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))); |