summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-13 15:43:46 -0500
committerTimothy Pearson <[email protected]>2014-10-13 15:43:46 -0500
commitab6b11135d2bba8fa095dfb0d5b62f46388a64b3 (patch)
tree4d847205081bbd3fe4251adf4a5547dcc664a9f0
parent9fecd26e15ce8145f1ab80e2142153c4e6b043aa (diff)
downloadkile-ab6b11135d2bba8fa095dfb0d5b62f46388a64b3.tar.gz
kile-ab6b11135d2bba8fa095dfb0d5b62f46388a64b3.zip
Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance
-rw-r--r--src/kile/includegraphicsdialog.cpp2
-rw-r--r--src/kile/kile.cpp4
-rw-r--r--src/kile/kileactions.cpp2
-rw-r--r--src/kile/kilefileselect.cpp2
-rw-r--r--src/kile/kileprojectdlgs.cpp2
-rw-r--r--src/kile/kileprojectview.cpp6
-rw-r--r--src/kile/kileviewmanager.cpp2
-rw-r--r--src/kile/postscriptdialog.cpp4
-rw-r--r--src/kile/scriptsmanagementwidget.cpp2
-rw-r--r--src/kile/userhelpdialog.cpp2
10 files changed, 14 insertions, 14 deletions
diff --git a/src/kile/includegraphicsdialog.cpp b/src/kile/includegraphicsdialog.cpp
index 53484e2..0aeb019 100644
--- a/src/kile/includegraphicsdialog.cpp
+++ b/src/kile/includegraphicsdialog.cpp
@@ -72,7 +72,7 @@ IncludeGraphics::IncludeGraphics(TQWidget *parent, const TQString &startdir, Kil
// line 1: Choose-Box
KPushButton *pb_choose = new KPushButton("", widget, "filechooser_button" );
- pb_choose->setPixmap( SmallIcon("fileopen") );
+ pb_choose->setPixmap( SmallIcon("document-open") );
pb_choose->setFixedWidth(pb_choose->sizeHint().width()); // set width
grid->addRowSpacing( 0, pb_choose->sizeHint().height()+5 ); // update height of line
diff --git a/src/kile/kile.cpp b/src/kile/kile.cpp
index 8faacd7..d114471 100644
--- a/src/kile/kile.cpp
+++ b/src/kile/kile.cpp
@@ -256,7 +256,7 @@ void Kile::setupSideBar()
m_sideBar = new KileSideBar(KileConfig::sideBarSize(), m_horizontalSplitter);
m_fileSelector= new KileFileSelect(m_extensions,m_sideBar,"File Selector");
- m_sideBar->addTab(m_fileSelector, SmallIcon("fileopen"), i18n("Open File"));
+ m_sideBar->addTab(m_fileSelector, SmallIcon("document-open"), i18n("Open File"));
connect(m_fileSelector,TQT_SIGNAL(fileSelected(const KFileItem*)), docManager(), TQT_SLOT(fileSelected(const KFileItem*)));
connect(m_fileSelector->comboEncoding(), TQT_SIGNAL(activated(int)),this,TQT_SLOT(changeInputEncoding()));
m_fileSelector->comboEncoding()->lineEdit()->setText(KileConfig::defaultEncoding());
@@ -539,7 +539,7 @@ void Kile::setupActions()
(void) new TDEAction(i18n("Refresh Project &Tree"), "rebuild", 0, docManager(), TQT_SLOT(buildProjectTree()), actionCollection(), "project_buildtree");
(void) new TDEAction(i18n("&Archive"), "package", 0, TQT_TQOBJECT(this), TQT_SLOT(runArchiveTool()), actionCollection(), "project_archive");
(void) new TDEAction(i18n("Project &Options"), "configure_project", 0, docManager(), TQT_SLOT(projectOptions()), actionCollection(), "project_options");
- (void) new TDEAction(i18n("&Close Project"), "fileclose", 0, docManager(), TQT_SLOT(projectClose()), actionCollection(), "project_close");
+ (void) new TDEAction(i18n("&Close Project"), "window-close", 0, docManager(), TQT_SLOT(projectClose()), actionCollection(), "project_close");
// new project actions (dani)
(void) new TDEAction(i18n("&Show Projects..."), 0, docManager(), TQT_SLOT(projectShow()), actionCollection(), "project_show");
diff --git a/src/kile/kileactions.cpp b/src/kile/kileactions.cpp
index 70576c3..8a372d4 100644
--- a/src/kile/kileactions.cpp
+++ b/src/kile/kileactions.cpp
@@ -269,7 +269,7 @@ InputDialog::InputDialog(const TQString &caption, uint options, const TQStringLi
if ( options & KileAction::ShowBrowseButton)
{
KPushButton *pbutton = new KPushButton("", page);
- pbutton->setPixmap( SmallIcon("fileopen") );
+ pbutton->setPixmap( SmallIcon("document-open") );
gbox->addWidget(pbutton,1,2);
gbox->setColSpacing(1,8);
gbox->setColSpacing(2, pbutton->sizeHint().width()+5 );
diff --git a/src/kile/kilefileselect.cpp b/src/kile/kilefileselect.cpp
index 0177532..f30837f 100644
--- a/src/kile/kilefileselect.cpp
+++ b/src/kile/kilefileselect.cpp
@@ -79,7 +79,7 @@ KileFileSelect::KileFileSelect(KileDocument::Extensions *extensions, TQWidget *p
coll->action("back")->plug(toolbar);
coll->action("forward")->plug(toolbar);
- toolbar->insertButton("fileopen", 0, true , i18n( "Open selected" ));
+ toolbar->insertButton("document-open", 0, true , i18n( "Open selected" ));
connect(toolbar, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(clickedToolbar(int)));
lo->addWidget(dir);
diff --git a/src/kile/kileprojectdlgs.cpp b/src/kile/kileprojectdlgs.cpp
index 139ad3b..652ef46 100644
--- a/src/kile/kileprojectdlgs.cpp
+++ b/src/kile/kileprojectdlgs.cpp
@@ -220,7 +220,7 @@ KileNewProjectDlg::KileNewProjectDlg(KileTemplate::Manager *templateManager, Kil
TQWhatsThis::add(m_location, whatsthisPath);
lb1->setBuddy(m_location);
m_pbChooseDir= new KPushButton(i18n("Select Folder..."), m_pgroup, "dirchooser_button" );
- m_pbChooseDir->setPixmap( SmallIcon("fileopen") );
+ m_pbChooseDir->setPixmap( SmallIcon("document-open") );
int wpixmap = m_pbChooseDir->pixmap()->width();
m_pbChooseDir->setFixedWidth(wpixmap+10);
m_pbChooseDir->setFixedHeight(wpixmap+10);
diff --git a/src/kile/kileprojectview.cpp b/src/kile/kileprojectview.cpp
index 8fa9806..b5a04e4 100644
--- a/src/kile/kileprojectview.cpp
+++ b/src/kile/kileprojectview.cpp
@@ -269,9 +269,9 @@ void KileProjectView::popup(TDEListView *, TQListViewItem * item, const TQPoint
if (itm->type() == KileType::File || itm->type() == KileType::ProjectItem)
{
if ( ! m_ki->isOpen(itm->url()) )
- m_popup->insertItem(SmallIcon("fileopen"), i18n("&Open"), KPV_ID_OPEN);
+ m_popup->insertItem(SmallIcon("document-open"), i18n("&Open"), KPV_ID_OPEN);
else
- m_popup->insertItem(SmallIcon("filesave"), i18n("&Save"), KPV_ID_SAVE);
+ m_popup->insertItem(SmallIcon("document-save"), i18n("&Save"), KPV_ID_SAVE);
insertsep = true;
}
@@ -325,7 +325,7 @@ void KileProjectView::popup(TDEListView *, TQListViewItem * item, const TQPoint
{
if ( insertsep )
m_popup->insertSeparator();
- m_popup->insertItem(SmallIcon("fileclose"), i18n("&Close"), KPV_ID_CLOSE);
+ m_popup->insertItem(SmallIcon("window-close"), i18n("&Close"), KPV_ID_CLOSE);
}
m_popup->exec(point);
diff --git a/src/kile/kileviewmanager.cpp b/src/kile/kileviewmanager.cpp
index 46be172..2ccddf9 100644
--- a/src/kile/kileviewmanager.cpp
+++ b/src/kile/kileviewmanager.cpp
@@ -308,7 +308,7 @@ void Manager::reflectDocumentStatus(Kate::Document *doc, bool isModified, unsign
{
TQPixmap icon;
if ( reason == 0 && isModified ) //nothing
- icon = SmallIcon("filesave");
+ icon = SmallIcon("document-save");
else if ( reason == 1 || reason == 2 ) //dirty file
icon = SmallIcon("document-revert");
else if ( reason == 3 ) //file deleted
diff --git a/src/kile/postscriptdialog.cpp b/src/kile/postscriptdialog.cpp
index 810ed6d..99f1c5b 100644
--- a/src/kile/postscriptdialog.cpp
+++ b/src/kile/postscriptdialog.cpp
@@ -121,7 +121,7 @@ PostscriptDialog::PostscriptDialog(TQWidget *parent,
// line 1: Choose-Box
TQPushButton *choose_in = new TQPushButton("", widget, "infilechooser" );
- choose_in->setPixmap( SmallIcon("fileopen") );
+ choose_in->setPixmap( SmallIcon("document-open") );
choose_in->setFixedWidth(choose_in->sizeHint().width());
grid->addWidget(choose_in,2,2);
@@ -136,7 +136,7 @@ PostscriptDialog::PostscriptDialog(TQWidget *parent,
// line 3: choose box
TQPushButton *choose_out = new TQPushButton("", widget, "outfilechooser" );
- choose_out->setPixmap( SmallIcon("fileopen") );
+ choose_out->setPixmap( SmallIcon("document-open") );
choose_out->setFixedWidth(choose_out->sizeHint().width());
grid->addWidget(choose_out,3,2);
diff --git a/src/kile/scriptsmanagementwidget.cpp b/src/kile/scriptsmanagementwidget.cpp
index 10665d4..62a66e8 100644
--- a/src/kile/scriptsmanagementwidget.cpp
+++ b/src/kile/scriptsmanagementwidget.cpp
@@ -96,7 +96,7 @@ ScriptsManagement::ScriptsManagement(KileInfo *kileInfo, TQWidget *parent, const
m_newButton = m_toolbar->insertButton(BarIcon("scriptnew"), 0, TQT_SIGNAL(clicked(int)), m_kileInfo->docManager(), TQT_SLOT(createNewJScript()), true, i18n("Create New Script"));
m_openButton = m_toolbar->insertButton(BarIcon("scriptopen"), 0, TQT_SIGNAL(clicked(int)), TQT_TQOBJECT(this), TQT_SLOT(openSelectedScript()), true, i18n("Open Selected Script in Editor"));
// m_toolbar->insertButton(BarIcon("configure_shortcuts"), 0, TQT_SIGNAL(clicked(int)), TQT_TQOBJECT(this), TQT_SLOT(configureSelectedShortcut()), true, i18n("Configure Shortcut"));
-// m_toolbar->insertButton(BarIcon("editclear"), 1, TQT_SIGNAL(clicked(int)), m_kileInfo->scriptManager(), TQT_SLOT(scanJScriptDirectories()), true, i18n("Refresh"));
+// m_toolbar->insertButton(BarIcon("edit-clear"), 1, TQT_SIGNAL(clicked(int)), m_kileInfo->scriptManager(), TQT_SLOT(scanJScriptDirectories()), true, i18n("Refresh"));
m_refreshButton = m_toolbar->insertButton(BarIcon("reload"), 1, TQT_SIGNAL(clicked(int)), m_kileInfo->scriptManager(), TQT_SLOT(scanJScriptDirectories()), true, i18n("Refresh List"));
baseLayout->addWidget(m_toolbar);
diff --git a/src/kile/userhelpdialog.cpp b/src/kile/userhelpdialog.cpp
index 150be54..3476f0f 100644
--- a/src/kile/userhelpdialog.cpp
+++ b/src/kile/userhelpdialog.cpp
@@ -372,7 +372,7 @@ UserHelpAddDialog::UserHelpAddDialog(TDEListBox *menulistbox, TQWidget *parent,
m_leHelpFile->setReadOnly(false);
grid->addWidget( m_leHelpFile, 1,1 );
m_pbChooseFile = new KPushButton("", widget, "filechooser_button" );
- m_pbChooseFile->setPixmap( SmallIcon("fileopen") );
+ m_pbChooseFile->setPixmap( SmallIcon("document-open") );
grid->addRowSpacing( 1, m_pbChooseFile->sizeHint().height()+5 );
grid->addWidget(m_pbChooseFile,1,3);
m_pbChooseHtml = new KPushButton("", widget, "htmlchooser_button" );