summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-13 15:43:57 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-13 15:43:57 -0500
commit50e3d450c5b66e77578534f80c4e604b36c56c4d (patch)
tree937354fcd9c3c346d4c63c7edad16cf43090ccf9
parentffd6b5f8426c6f4d5ded673221f6799598d36a34 (diff)
downloadtdegraphics-50e3d450c5b66e77578534f80c4e604b36c56c4d.tar.gz
tdegraphics-50e3d450c5b66e77578534f80c4e604b36c56c4d.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--kfax/kfax.cpp2
-rw-r--r--kooka/imageselectline.cpp2
-rw-r--r--kooka/kooka.cpp10
-rw-r--r--kooka/kookapref.cpp2
-rw-r--r--kooka/scanpackager.cpp2
-rw-r--r--kpdf/part.cpp2
-rw-r--r--kpdf/ui/pageview.cpp4
-rw-r--r--kpovmodeler/pmbumpmapedit.cpp2
-rw-r--r--kpovmodeler/pmheightfieldedit.cpp2
-rw-r--r--kpovmodeler/pmimagemapedit.cpp2
-rw-r--r--kpovmodeler/pmlibrarybrowser.cpp6
-rw-r--r--kpovmodeler/pmmaterialmapedit.cpp2
-rw-r--r--kpovmodeler/pmpatternedit.cpp2
-rw-r--r--kpovmodeler/pmpovraysettings.cpp4
-rw-r--r--kpovmodeler/pmtextedit.cpp2
-rw-r--r--kview/kview.cpp2
16 files changed, 24 insertions, 24 deletions
diff --git a/kfax/kfax.cpp b/kfax/kfax.cpp
index 1d4b4b40..819c81af 100644
--- a/kfax/kfax.cpp
+++ b/kfax/kfax.cpp
@@ -244,7 +244,7 @@ void TopLevel::setupMenuBar()
actionCollection() );
actPrint = KStdAction::print( TQT_TQOBJECT(this), TQT_SLOT( print() ), actionCollection() );
KStdAction::quit( TQT_TQOBJECT(this), TQT_SLOT( close() ), actionCollection() );
- actAdd = new TDEAction( i18n( "A&dd..." ), "filenew", TDEShortcut(), TQT_TQOBJECT(this),
+ actAdd = new TDEAction( i18n( "A&dd..." ), "document-new", TDEShortcut(), TQT_TQOBJECT(this),
TQT_SLOT( faxAdd() ), actionCollection(), "file_add_fax" );
actRecent->setMaxItems( 5 );
diff --git a/kooka/imageselectline.cpp b/kooka/imageselectline.cpp
index 71135dc2..4b83c5bc 100644
--- a/kooka/imageselectline.cpp
+++ b/kooka/imageselectline.cpp
@@ -54,7 +54,7 @@ ImageSelectLine::ImageSelectLine( TQWidget *parent, const TQString& text )
(void) new TQLabel( text, this );
m_urlCombo = new KURLComboBox( KURLComboBox::Files, this );
m_buttFileSelect = new TQPushButton( this );
- m_buttFileSelect->setPixmap( SmallIcon( "fileopen" ) );
+ m_buttFileSelect->setPixmap( SmallIcon( "document-open" ) );
m_urlCombo->setMaxItems(5);
diff --git a/kooka/kooka.cpp b/kooka/kooka.cpp
index 06e68f57..58c368ae 100644
--- a/kooka/kooka.cpp
+++ b/kooka/kooka.cpp
@@ -200,7 +200,7 @@ actionCollection());
TQT_TQOBJECT(this), TQT_SLOT( slMirrorBoth() ),
actionCollection(), "mirrorBoth" );
- (void) new TDEAction(i18n("Open Image in &Graphic Application..."), "fileopen", CTRL+Key_G,
+ (void) new TDEAction(i18n("Open Image in &Graphic Application..."), "document-open", CTRL+Key_G,
TQT_TQOBJECT(m_view), TQT_SLOT( slOpenCurrInGraphApp() ),
actionCollection(), "openInGraphApp" );
@@ -220,12 +220,12 @@ actionCollection());
m_view->connectViewerAction( act );
/* Gallery actions */
- act = new TDEAction(i18n("&Create Folder..."), "folder_new", 0,
+ act = new TDEAction(i18n("&Create Folder..."), "folder-new", 0,
TQT_TQOBJECT(m_view->gallery()),TQT_SLOT( slotCreateFolder() ),
actionCollection(), "foldernew" );
m_view->connectGalleryAction( act );
- act = new TDEAction(i18n("&Save Image..."), "filesave", 0,
+ act = new TDEAction(i18n("&Save Image..."), "document-save", 0,
TQT_TQOBJECT(m_view->gallery()),TQT_SLOT( slotExportFile() ),
actionCollection(), "saveImage" );
m_view->connectGalleryAction( act );
@@ -240,7 +240,7 @@ actionCollection());
actionCollection(), "deleteImage" );
m_view->connectGalleryAction( act );
- act = new TDEAction(i18n("&Unload Image"), "fileclose", 0,
+ act = new TDEAction(i18n("&Unload Image"), "window-close", 0,
TQT_TQOBJECT(m_view->gallery()),TQT_SLOT( slotUnloadItems() ),
actionCollection(), "unloadImage" );
m_view->connectGalleryAction( act );
@@ -265,7 +265,7 @@ actionCollection());
actionCollection(), "enable_msgs");
- m_saveOCRTextAction = new TDEAction( i18n("Save OCR Res&ult Text"), "filesaveas", CTRL+Key_U,
+ m_saveOCRTextAction = new TDEAction( i18n("Save OCR Res&ult Text"), "document-save-as", CTRL+Key_U,
m_view, TQT_SLOT(slSaveOCRResult()),
actionCollection(), "saveOCRResult");
}
diff --git a/kooka/kookapref.cpp b/kooka/kookapref.cpp
index d170840d..729f2429 100644
--- a/kooka/kookapref.cpp
+++ b/kooka/kookapref.cpp
@@ -351,7 +351,7 @@ void KookaPreferences::setupSaveFormatPage( )
{
konf->setGroup( OP_FILE_GROUP );
TQFrame *page = addPage( i18n("Image Saving"), i18n("Configure Image Save Assistant" ),
- BarIcon("filesave", TDEIcon::SizeMedium ) );
+ BarIcon("document-save", TDEIcon::SizeMedium ) );
TQVBoxLayout *top = new TQVBoxLayout( page, 0, spacingHint() );
/* Skip the format asking if a format entry exists */
diff --git a/kooka/scanpackager.cpp b/kooka/scanpackager.cpp
index 9f4ccd89..daa2cd3b 100644
--- a/kooka/scanpackager.cpp
+++ b/kooka/scanpackager.cpp
@@ -599,7 +599,7 @@ void ScanPackager::loadImageForItem( KFileTreeViewItem *item )
}
prevItem = subImgItem;
- subImgItem->setPixmap( 0, loader->loadIcon( "editcopy", TDEIcon::Small ));
+ subImgItem->setPixmap( 0, loader->loadIcon( "edit-copy", TDEIcon::Small ));
subImgItem->setText( 0, i18n("Sub-image %1").arg( i ) );
KookaImage *subImgImg = new KookaImage( i, img );
subImgImg->setFileItem( newKfi );
diff --git a/kpdf/part.cpp b/kpdf/part.cpp
index 284fd1ab..8d325fc8 100644
--- a/kpdf/part.cpp
+++ b/kpdf/part.cpp
@@ -954,7 +954,7 @@ void Part::slotShowMenu(const KPDFPage *page, const TQPoint &point)
//Albert says: I have not ported this as i don't see it does anything
if ( d->mouseOnRect ) // and rect->objectType() == ObjectRect::Image ...
{
- m_popup->insertItem( SmallIcon("filesave"), i18n("Save Image..."), 4 );
+ m_popup->insertItem( SmallIcon("document-save"), i18n("Save Image..."), 4 );
m_popup->setItemEnabled( 4, false );
}*/
diff --git a/kpdf/ui/pageview.cpp b/kpdf/ui/pageview.cpp
index 76a85771..c008fe29 100644
--- a/kpdf/ui/pageview.cpp
+++ b/kpdf/ui/pageview.cpp
@@ -1125,7 +1125,7 @@ void PageView::contentsMouseReleaseEvent( TQMouseEvent * e )
if ( !selectedText.isEmpty() )
{
menu.insertTitle( i18n( "Text (1 character)", "Text (%n characters)", selectedText.length() ) );
- menu.insertItem( SmallIcon("editcopy"), i18n( "Copy to Clipboard" ), 1 );
+ menu.insertItem( SmallIcon("edit-copy"), i18n( "Copy to Clipboard" ), 1 );
if ( !d->document->isAllowed( KPDFDocument::AllowCopy ) )
menu.setItemEnabled( 1, false );
if ( KpdfSettings::useKTTSD() )
@@ -1133,7 +1133,7 @@ void PageView::contentsMouseReleaseEvent( TQMouseEvent * e )
}
menu.insertTitle( i18n( "Image (%1 by %2 pixels)" ).arg( selectionRect.width() ).arg( selectionRect.height() ) );
menu.insertItem( SmallIcon("image"), i18n( "Copy to Clipboard" ), 3 );
- menu.insertItem( SmallIcon("filesave"), i18n( "Save to File..." ), 4 );
+ menu.insertItem( SmallIcon("document-save"), i18n( "Save to File..." ), 4 );
int choice = menu.exec( e->globalPos() );
// IMAGE operation choosen
if ( choice > 2 )
diff --git a/kpovmodeler/pmbumpmapedit.cpp b/kpovmodeler/pmbumpmapedit.cpp
index 10cb65f9..6b0b81d5 100644
--- a/kpovmodeler/pmbumpmapedit.cpp
+++ b/kpovmodeler/pmbumpmapedit.cpp
@@ -70,7 +70,7 @@ void PMBumpMapEdit::createTopWidgets( )
lbl = new TQLabel( i18n( "File name:" ), this );
m_pImageFileNameEdit = new TQLineEdit( this );
m_pImageFileNameBrowse = new TQPushButton( this );
- m_pImageFileNameBrowse->setPixmap( SmallIcon( "fileopen" ) );
+ m_pImageFileNameBrowse->setPixmap( SmallIcon( "document-open" ) );
hl->addWidget( lbl );
hl->addWidget( m_pImageFileNameEdit );
hl->addWidget( m_pImageFileNameBrowse );
diff --git a/kpovmodeler/pmheightfieldedit.cpp b/kpovmodeler/pmheightfieldedit.cpp
index 337ec6f2..e51f4881 100644
--- a/kpovmodeler/pmheightfieldedit.cpp
+++ b/kpovmodeler/pmheightfieldedit.cpp
@@ -59,7 +59,7 @@ void PMHeightFieldEdit::createTopWidgets( )
m_pFileName = new TQLineEdit( this );
hl->addWidget( m_pFileName );
m_pChooseFileName = new TQPushButton( this );
- m_pChooseFileName->setPixmap( SmallIcon( "fileopen" ) );
+ m_pChooseFileName->setPixmap( SmallIcon( "document-open" ) );
hl->addWidget( m_pChooseFileName );
hl = new TQHBoxLayout( topLayout( ) );
diff --git a/kpovmodeler/pmimagemapedit.cpp b/kpovmodeler/pmimagemapedit.cpp
index 9ba8627d..53010095 100644
--- a/kpovmodeler/pmimagemapedit.cpp
+++ b/kpovmodeler/pmimagemapedit.cpp
@@ -70,7 +70,7 @@ void PMImageMapEdit::createTopWidgets( )
lbl = new TQLabel( i18n( "File name:" ), this );
m_pImageFileNameEdit = new TQLineEdit( this );
m_pImageFileNameBrowse = new TQPushButton( this );
- m_pImageFileNameBrowse->setPixmap( SmallIcon( "fileopen" ) );
+ m_pImageFileNameBrowse->setPixmap( SmallIcon( "document-open" ) );
hl->addWidget( lbl );
hl->addWidget( m_pImageFileNameEdit );
hl->addWidget( m_pImageFileNameBrowse );
diff --git a/kpovmodeler/pmlibrarybrowser.cpp b/kpovmodeler/pmlibrarybrowser.cpp
index 6f853f60..4df00a8d 100644
--- a/kpovmodeler/pmlibrarybrowser.cpp
+++ b/kpovmodeler/pmlibrarybrowser.cpp
@@ -73,11 +73,11 @@ PMLibraryBrowserViewWidget::PMLibraryBrowserViewWidget( TQWidget* parent, const
m_pUpButton = new TQPushButton( this );
m_pUpButton->setPixmap( SmallIcon( "go-up" ) );
m_pNewSubLibraryButton = new TQPushButton( this );
- m_pNewSubLibraryButton->setPixmap( SmallIcon( "folder_new" ) );
+ m_pNewSubLibraryButton->setPixmap( SmallIcon( "folder-new" ) );
m_pNewObjectButton = new TQPushButton( this );
- m_pNewObjectButton->setPixmap( SmallIcon( "filenew" ) );
+ m_pNewObjectButton->setPixmap( SmallIcon( "document-new" ) );
m_pDeleteObjectButton = new TQPushButton( this );
- m_pDeleteObjectButton->setPixmap( SmallIcon( "editdelete" ) );
+ m_pDeleteObjectButton->setPixmap( SmallIcon( "edit-delete" ) );
TQLabel* lbl = new TQLabel( i18n( "Library: " ), this );
m_pLibraryComboBox = new TQComboBox( this );
m_pLibraryComboBox->insertStringList( PMLibraryManager::theManager( )->availableLibraries( ) );
diff --git a/kpovmodeler/pmmaterialmapedit.cpp b/kpovmodeler/pmmaterialmapedit.cpp
index 0c3423ab..672ae9d1 100644
--- a/kpovmodeler/pmmaterialmapedit.cpp
+++ b/kpovmodeler/pmmaterialmapedit.cpp
@@ -70,7 +70,7 @@ void PMMaterialMapEdit::createTopWidgets( )
lbl = new TQLabel( i18n( "File name:" ), this );
m_pImageFileNameEdit = new TQLineEdit( this );
m_pImageFileNameBrowse = new TQPushButton( this );
- m_pImageFileNameBrowse->setPixmap( SmallIcon( "fileopen" ) );
+ m_pImageFileNameBrowse->setPixmap( SmallIcon( "document-open" ) );
hl->addWidget( lbl );
hl->addWidget( m_pImageFileNameEdit );
hl->addWidget( m_pImageFileNameBrowse );
diff --git a/kpovmodeler/pmpatternedit.cpp b/kpovmodeler/pmpatternedit.cpp
index 5581a00b..8281bd5b 100644
--- a/kpovmodeler/pmpatternedit.cpp
+++ b/kpovmodeler/pmpatternedit.cpp
@@ -123,7 +123,7 @@ void PMPatternEdit::createTopWidgets( )
m_pDensityFile = new TQLineEdit( m_pDensityWidget );
hl->addWidget( m_pDensityFile, 1 );
m_pDensityFileBrowse = new TQPushButton( m_pDensityWidget );
- m_pDensityFileBrowse->setPixmap( SmallIcon( "fileopen" ) );
+ m_pDensityFileBrowse->setPixmap( SmallIcon( "document-open" ) );
hl->addWidget( m_pDensityFileBrowse );
hl = new TQHBoxLayout( vl );
hl->addWidget( new TQLabel( i18n( "Interpolation:" ), m_pDensityWidget ) );
diff --git a/kpovmodeler/pmpovraysettings.cpp b/kpovmodeler/pmpovraysettings.cpp
index 17094996..f3955b78 100644
--- a/kpovmodeler/pmpovraysettings.cpp
+++ b/kpovmodeler/pmpovraysettings.cpp
@@ -55,7 +55,7 @@ PMPovraySettings::PMPovraySettings( TQWidget* parent, const char* name )
m_pPovrayCommand = new TQLineEdit( gb );
hlayout->addWidget( m_pPovrayCommand );
m_pBrowsePovrayCommand = new TQPushButton( gb );
- m_pBrowsePovrayCommand->setPixmap( SmallIcon( "fileopen" ) );
+ m_pBrowsePovrayCommand->setPixmap( SmallIcon( "document-open" ) );
connect( m_pBrowsePovrayCommand, TQT_SIGNAL( clicked( ) ),
TQT_SLOT( slotBrowsePovrayCommand( ) ) );
hlayout->addWidget( m_pBrowsePovrayCommand );
@@ -69,7 +69,7 @@ PMPovraySettings::PMPovraySettings( TQWidget* parent, const char* name )
m_pDocumentationPath = new TQLineEdit( gb );
hlayout->addWidget( m_pDocumentationPath );
m_pBrowseDocumentationPath = new TQPushButton( gb );
- m_pBrowseDocumentationPath->setPixmap( SmallIcon( "fileopen" ) );
+ m_pBrowseDocumentationPath->setPixmap( SmallIcon( "document-open" ) );
connect( m_pBrowseDocumentationPath, TQT_SIGNAL( clicked( ) ),
TQT_SLOT( slotBrowsePovrayDocumentation( ) ) );
hlayout->addWidget( m_pBrowseDocumentationPath );
diff --git a/kpovmodeler/pmtextedit.cpp b/kpovmodeler/pmtextedit.cpp
index e26d35e2..7bf7a3ae 100644
--- a/kpovmodeler/pmtextedit.cpp
+++ b/kpovmodeler/pmtextedit.cpp
@@ -44,7 +44,7 @@ void PMTextEdit::createTopWidgets( )
m_pFont = new TQLineEdit( this );
hl->addWidget( m_pFont );
m_pChooseFont = new TQPushButton( this );
- m_pChooseFont->setPixmap( SmallIcon( "fileopen" ) );
+ m_pChooseFont->setPixmap( SmallIcon( "document-open" ) );
hl->addWidget( m_pChooseFont );
hl = new TQHBoxLayout( topLayout( ) );
diff --git a/kview/kview.cpp b/kview/kview.cpp
index 3c487eac..d8af5f25 100644
--- a/kview/kview.cpp
+++ b/kview/kview.cpp
@@ -502,7 +502,7 @@ void KView::setupActions( TQObject * partobject )
if( slotNames.contains( "print()" ) )
KStdAction::print( extension, TQT_SLOT( print() ), actionCollection(), "print" );
if( slotNames.contains( "del()" ) )
- ( void )new TDEAction( i18n( "&Delete" ), "editdelete", SHIFT+Key_Delete,
+ ( void )new TDEAction( i18n( "&Delete" ), "edit-delete", SHIFT+Key_Delete,
extension, TQT_SLOT( del() ), actionCollection(), "del" );
connect( extension, TQT_SIGNAL( enableAction( const char *, bool ) ), TQT_SLOT( enableAction( const char *, bool ) ) );
}