Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent 53f16f741a
commit f9de4723c8

@ -230,7 +230,7 @@ namespace KBibTeX
m_pushButtonOpenURL = new KPushButton( this );
gridLayout->addWidget( m_pushButtonOpenURL, 0, 2 );
m_pushButtonOpenURL->setIconSet( TQIconSet( SmallIcon( "fileopen" ) ) );
m_pushButtonOpenURL->setIconSet( TQIconSet( SmallIcon( "document-open" ) ) );
m_pushButtonOpenURL->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
TQToolTip::add( m_pushButtonOpenURL, TQString( i18n( "Open %1" ) ).arg( i18n( "URL" ) ) );
connect( m_pushButtonOpenURL, SIGNAL( clicked() ), this, SLOT( openURL() ) );
@ -248,7 +248,7 @@ namespace KBibTeX
m_pushButtonOpenDoi = new KPushButton( this );
gridLayout->addWidget( m_pushButtonOpenDoi, 1, 2 );
m_pushButtonOpenDoi->setIconSet( TQIconSet( SmallIcon( "fileopen" ) ) );
m_pushButtonOpenDoi->setIconSet( TQIconSet( SmallIcon( "document-open" ) ) );
m_pushButtonOpenDoi->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
TQToolTip::add( m_pushButtonOpenDoi, i18n( "Open DOI" ) );
connect( m_pushButtonOpenDoi, SIGNAL( clicked() ), this, SLOT( openDoi() ) );
@ -263,7 +263,7 @@ namespace KBibTeX
m_pushButtonOpenLocalFile = new KPushButton( this );
gridLayout->addWidget( m_pushButtonOpenLocalFile, 2, 2 );
m_pushButtonOpenLocalFile->setIconSet( TQIconSet( SmallIcon( "fileopen" ) ) );
m_pushButtonOpenLocalFile->setIconSet( TQIconSet( SmallIcon( "document-open" ) ) );
m_pushButtonOpenLocalFile->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
TQToolTip::add( m_pushButtonOpenLocalFile, TQString( i18n( "Open %1" ) ).arg( i18n( "Local File" ) ) );
connect( m_pushButtonOpenLocalFile, SIGNAL( clicked() ), this, SLOT( openLocalFile() ) );
@ -276,7 +276,7 @@ namespace KBibTeX
m_pushButtonBrowseLocalFile->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
containerLayout->addWidget( m_pushButtonBrowseLocalFile );
containerLayout->addStretch( 10 );
m_pushButtonBrowseLocalFile->setIconSet( TQIconSet( SmallIcon( "fileopen" ) ) );
m_pushButtonBrowseLocalFile->setIconSet( TQIconSet( SmallIcon( "document-open" ) ) );
TDEPopupMenu *menu = new TDEPopupMenu( m_pushButtonBrowseLocalFile );
menu->insertTitle( i18n( "Select base directory" ) );

@ -59,7 +59,7 @@ namespace KBibTeX
else
{
setText( 1, i18n( "In this file only" ) );
setPixmap( 1, SmallIcon( "editcopy" ) );
setPixmap( 1, SmallIcon( "edit-copy" ) );
}
}

@ -167,7 +167,7 @@ namespace KBibTeX
m_pushButtonOpen = new KPushButton( i18n( "Op&en" ), this, "m_pushButtonOpen" );
gridLayout->addWidget( m_pushButtonOpen, 4, 2 );
m_pushButtonOpen->setIconSet( TQIconSet( SmallIcon( "fileopen" ) ) );
m_pushButtonOpen->setIconSet( TQIconSet( SmallIcon( "document-open" ) ) );
spacer = new TQSpacerItem( 20, 110, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
gridLayout->addItem( spacer, 5, 2 );
@ -199,7 +199,7 @@ namespace KBibTeX
m_pushButtonDelete->setEnabled( !m_isReadOnly && contains );
m_pushButtonAdd->setEnabled( !m_isReadOnly && !text.isEmpty() && !m_fieldLineEditValue->isEmpty() && isUnknown );
m_pushButtonAdd->setText( contains ? i18n( "&Apply" ) : i18n( "&Add" ) );
m_pushButtonAdd->setIconSet( TQIconSet( SmallIcon( contains ? "apply" : "fileopen" ) ) );
m_pushButtonAdd->setIconSet( TQIconSet( SmallIcon( contains ? "apply" : "document-open" ) ) );
bool validURL = FALSE;
if ( contains )

@ -328,7 +328,7 @@ namespace KBibTeX
m_pushButtonDelete = new TQPushButton( i18n( "Delete" ), this );
layout->addWidget( m_pushButtonDelete, 2, 1 );
m_pushButtonDelete->setIconSet( TQIconSet( SmallIcon( "editdelete" ) ) );
m_pushButtonDelete->setIconSet( TQIconSet( SmallIcon( "edit-delete" ) ) );
connect( m_pushButtonDelete, SIGNAL( clicked() ), this, SLOT( slotDelete() ) );
TQToolTip::add( m_pushButtonDelete, TQString( i18n( "Delete current '%1' item (Del)" ) ).arg( m_caption ) );

@ -534,7 +534,7 @@ void KBibTeXPart::setupActions()
actionCollection() ->setHighlightingEnabled( true );
TDEActionMenu *acmElementNew = new TDEActionMenu( i18n( "&New" ), TQIconSet( SmallIcon( "filenew" ) ), actionCollection(), "element_new" );
TDEActionMenu *acmElementNew = new TDEActionMenu( i18n( "&New" ), TQIconSet( SmallIcon( "document-new" ) ), actionCollection(), "element_new" );
acmElementNew->setToolTip( i18n( "Add a new element to this BibTeX document" ) );
acmElementNew->setEnabled( FALSE );
}

@ -78,7 +78,7 @@ namespace KBibTeX
m_pushButtonDelDir = new KPushButton( i18n( "Delete" ), this );
layout->addWidget( m_pushButtonDelDir, 3, 2 );
m_pushButtonDelDir->setEnabled( FALSE );
m_pushButtonDelDir->setIconSet( TQIconSet( SmallIcon( "editdelete" ) ) );
m_pushButtonDelDir->setIconSet( TQIconSet( SmallIcon( "edit-delete" ) ) );
TQToolTip::add( m_pushButtonDelDir, i18n( "Remove selected path from list" ) );
layout->setRowStretch( 4, 1 );
@ -211,7 +211,7 @@ namespace KBibTeX
group = new TQGroupBox( 1, TQt::Vertical, i18n( "Document Search Paths" ), this );
layout->addWidget( group );
KPushButton *btnSelectDocumentSearchPath = new KPushButton( SmallIcon( "fileopen" ), i18n( "Edit Search Paths" ), group );
KPushButton *btnSelectDocumentSearchPath = new KPushButton( SmallIcon( "document-open" ), i18n( "Edit Search Paths" ), group );
group = new TQGroupBox( 1, TQt::Vertical, i18n( "Find Duplicates" ), this );
layout->addWidget( group );

@ -351,7 +351,7 @@ namespace KBibTeX
gridLayout->addWidget( m_buttonEditIdSuggestion, 1, 1 );
connect( m_buttonEditIdSuggestion, SIGNAL( clicked() ), this, SLOT( slotEditIdSuggestion() ) );
m_buttonDeleteIdSuggestion = new KPushButton( i18n( "id suggestion", "Delete" ), this );
m_buttonDeleteIdSuggestion->setIconSet( TQIconSet( SmallIcon( "editdelete" ) ) );
m_buttonDeleteIdSuggestion->setIconSet( TQIconSet( SmallIcon( "edit-delete" ) ) );
gridLayout->addWidget( m_buttonDeleteIdSuggestion, 2, 1 );
connect( m_buttonDeleteIdSuggestion, SIGNAL( clicked() ), this, SLOT( slotDeleteIdSuggestion() ) );
m_buttonMoveUpIdSuggestion = new KPushButton( i18n( "id suggestion", "Up" ), this );
@ -391,7 +391,7 @@ namespace KBibTeX
gridLayout->addMultiCellWidget( m_listSmallWords, 11, 12, 0, 0 );
m_buttonDeleteSmallWord = new KPushButton( i18n( "Delete" ), this );
m_buttonDeleteSmallWord->setEnabled( false );
m_buttonDeleteSmallWord->setIconSet( TQIconSet( SmallIcon( "editdelete" ) ) );
m_buttonDeleteSmallWord->setIconSet( TQIconSet( SmallIcon( "edit-delete" ) ) );
gridLayout->addWidget( m_buttonDeleteSmallWord, 11, 1 );
connect( m_buttonDeleteSmallWord, SIGNAL( clicked() ), this, SLOT( slotDeleteSmallWord() ) );
}

@ -170,7 +170,7 @@ namespace KBibTeX
m_buttonEditKeyword->setIconSet( TQIconSet( SmallIcon( "edit" ) ) );
gridLayout->addWidget( m_buttonEditKeyword, 1, 1 );
m_buttonDeleteKeyword = new TQPushButton( i18n( "keyword", "Delete" ), this );
m_buttonDeleteKeyword->setIconSet( TQIconSet( SmallIcon( "editdelete" ) ) );
m_buttonDeleteKeyword->setIconSet( TQIconSet( SmallIcon( "edit-delete" ) ) );
gridLayout->addWidget( m_buttonDeleteKeyword, 2, 1 );
m_buttonImportKeywords = new TQPushButton( i18n( "keyword", "Import" ), this );

@ -146,7 +146,7 @@ namespace KBibTeX
layout->addWidget( m_pushbuttonEdit, 1, 1 );
m_pushbuttonDelete = new KPushButton( i18n( "search url", "Delete" ), this );
m_pushbuttonDelete->setIconSet( TQIconSet( SmallIcon( "editdelete" ) ) );
m_pushbuttonDelete->setIconSet( TQIconSet( SmallIcon( "edit-delete" ) ) );
layout->addWidget( m_pushbuttonDelete, 2, 1 );
m_pushbuttonReset = new KPushButton( i18n( "search url", "Reset" ), this );

@ -184,7 +184,7 @@ namespace KBibTeX
m_buttonEditField->setIconSet( TQIconSet( SmallIcon( "edit" ) ) );
gridLayout->addWidget( m_buttonEditField, 1, 1 );
m_buttonDeleteField = new KPushButton( i18n( "user-defined input", "Delete" ), this );
m_buttonDeleteField->setIconSet( TQIconSet( SmallIcon( "editdelete" ) ) );
m_buttonDeleteField->setIconSet( TQIconSet( SmallIcon( "edit-delete" ) ) );
gridLayout->addWidget( m_buttonDeleteField, 2, 1 );
m_buttonMoveUpField = new KPushButton( i18n( "user-defined input", "Up" ), this );
m_buttonMoveUpField->setIconSet( TQIconSet( SmallIcon( "go-up" ) ) );

@ -340,7 +340,7 @@ namespace KBibTeX
gridLayout->addWidget( m_buttonEditServer, 1, 1 );
connect( m_buttonEditServer, SIGNAL( clicked() ), this, SLOT( slotEditServer() ) );
m_buttonDeleteServer = new KPushButton( i18n( "z3950 server", "Delete" ), this );
m_buttonDeleteServer->setIconSet( TQIconSet( SmallIcon( "editdelete" ) ) );
m_buttonDeleteServer->setIconSet( TQIconSet( SmallIcon( "edit-delete" ) ) );
gridLayout->addWidget( m_buttonDeleteServer, 2, 1 );
connect( m_buttonDeleteServer, SIGNAL( clicked() ), this, SLOT( slotDeleteServer() ) );
m_buttonMoveUpServer = new KPushButton( i18n( "z3950 server", "Up" ), this );

@ -236,7 +236,7 @@ namespace KBibTeX
m_pushButtonDelete = new TQPushButton( i18n( "Delete" ), this );
layout->addWidget( m_pushButtonDelete, 4, 1 );
m_pushButtonDelete->setIconSet( TQIconSet( SmallIcon( "editdelete" ) ) );
m_pushButtonDelete->setIconSet( TQIconSet( SmallIcon( "edit-delete" ) ) );
connect( m_pushButtonDelete, SIGNAL( clicked() ), this, SLOT( slotDelete() ) );
m_pushButtonUp = new TQPushButton( i18n( "Up" ), this );

Loading…
Cancel
Save