Use new icons in tdelibs.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/6/head
Michele Calgaro 4 years ago
parent 096b79efe6
commit 71844b5188
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -51,7 +51,7 @@ ProgressDialog::ProgressDialog( TQWidget* parent, const char* name, WFlags fl )
resize( 400, 380 ); resize( 400, 380 );
setCaption( i18n("Progress") ); setCaption( i18n("Progress") );
setIcon( BarIcon( "krename" ) ); setIcon( BarIcon( "edit_rename" ) );
ProgressDialogLayout = new TQVBoxLayout( this, 11, 6 ); ProgressDialogLayout = new TQVBoxLayout( this, 11, 6 );
Layout1 = new TQHBoxLayout( 0, 0, 6 ); Layout1 = new TQHBoxLayout( 0, 0, 6 );

@ -336,7 +336,7 @@ void BatchRenamer::work( ProgressDialog* p )
p->warning(i18n("%2 errors occurred!").arg(error)); p->warning(i18n("%2 errors occurred!").arg(error));
p->print(i18n("Elapsed time: %1 seconds").arg( t.elapsed()/1000 ), "kalarm"); p->print(i18n("Elapsed time: %1 seconds").arg( t.elapsed()/1000 ), "kalarm");
p->print(i18n("KRename finished the renaming process."), "krename"); p->print(i18n("KRename finished the renaming process."), "edit_rename");
p->print(i18n("Press close to quit!")); p->print(i18n("Press close to quit!"));
p->setRenamedFiles( renamedFiles, m_files.count() ); p->setRenamedFiles( renamedFiles, m_files.count() );

@ -72,7 +72,7 @@ void ConfDialog::setupTab1()
void ConfDialog::setupTab2() void ConfDialog::setupTab2()
{ {
const TQString caption = i18n("KRename"); const TQString caption = i18n("KRename");
TQFrame* box = addPage( caption, caption, BarIcon("krename") ); TQFrame* box = addPage( caption, caption, BarIcon("edit_rename") );
TQVBoxLayout* layout = new TQVBoxLayout( box ); TQVBoxLayout* layout = new TQVBoxLayout( box );
TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );

Binary file not shown.

Before

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 545 B

@ -1,8 +1,8 @@
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
Exec=krename -caption "%c" %i %m %U Exec=krename -caption "%c" %i %m %U
Icon=krename Icon=edit_rename
MiniIcon=krename MiniIcon=edit_rename
X-DocPath=krename/index.html X-DocPath=krename/index.html
Comment=A batch renamer Comment=A batch renamer
Terminal=false Terminal=false

@ -6,4 +6,4 @@ X-TDE-ServiceTypes=inode/directory
[Desktop Action Rename] [Desktop Action Rename]
Exec=krename -r %U Exec=krename -r %U
Name=Rename with KRename Name=Rename with KRename
Icon=krename Icon=edit_rename

@ -589,7 +589,7 @@ void KRenameImpl::setupFileTab1()
help.append("[$dirname];;" + i18n("insert name of directory") ); help.append("[$dirname];;" + i18n("insert name of directory") );
help.append("[$dirname.];;" + i18n("insert name of parent directory") ); help.append("[$dirname.];;" + i18n("insert name of parent directory") );
help.append("[#length-0];;" + i18n("insert the length of the input filename") ); help.append("[#length-0];;" + i18n("insert the length of the input filename") );
helpDialogData->add( i18n("Built-in Functions:" ), &help, SmallIcon("krename"), true ); helpDialogData->add( i18n("Built-in Functions:" ), &help, SmallIcon("edit_rename"), true );
help.clear(); help.clear();
help.append( "\\$;;" + i18n("Insert '$'") ); help.append( "\\$;;" + i18n("Insert '$'") );
@ -601,7 +601,7 @@ void KRenameImpl::setupFileTab1()
help.append( "\\[;;" + i18n("Insert '['") ); help.append( "\\[;;" + i18n("Insert '['") );
help.append( "\\];;" + i18n("Insert ']'") ); help.append( "\\];;" + i18n("Insert ']'") );
help.append( "\\#;;" + i18n("Insert '#'") ); help.append( "\\#;;" + i18n("Insert '#'") );
helpDialogData->add( i18n("Special Characters:" ), &help, SmallIcon("krename") ); helpDialogData->add( i18n("Special Characters:" ), &help, SmallIcon("edit_rename") );
/* /*
//TODO: FIX this tooltip //TODO: FIX this tooltip

@ -8,5 +8,5 @@ X-TDE-ExcludeServiceTypes=kdedevice/*
[Desktop Action Rename] [Desktop Action Rename]
Name=Rename with KRename Name=Rename with KRename
Exec=krename %F Exec=krename %F
Icon=krename Icon=edit_rename

Binary file not shown.

Before

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 624 B

@ -36,7 +36,7 @@
tabs::tabs(KRenameImpl* impl, TQRect r, TQWidget *parent, const char *name ) tabs::tabs(KRenameImpl* impl, TQRect r, TQWidget *parent, const char *name )
: TQDialog(parent,name) : TQDialog(parent,name)
{ {
setIcon( BarIcon( "krename" ) ); setIcon( BarIcon( "edit_rename" ) );
TQVBoxLayout* layout = new TQVBoxLayout( this, 6, 6 ); TQVBoxLayout* layout = new TQVBoxLayout( this, 6, 6 );
TQHBoxLayout* buttons = new TQHBoxLayout( 0, 6, 6 ); TQHBoxLayout* buttons = new TQHBoxLayout( 0, 6, 6 );

@ -37,7 +37,7 @@
wizard::wizard( KRenameImpl* impl, TQRect r, TQWidget* parent, const char* name ) wizard::wizard( KRenameImpl* impl, TQRect r, TQWidget* parent, const char* name )
: KWizard( parent, name ) : KWizard( parent, name )
{ {
setIcon( BarIcon( "krename" ) ); setIcon( BarIcon( "edit_rename" ) );
menuBar = new KMenuBar(this); menuBar = new KMenuBar(this);
krename = impl ? impl : new KRenameImpl( this, menuBar, this->finishButton() ); krename = impl ? impl : new KRenameImpl( this, menuBar, this->finishButton() );

Loading…
Cancel
Save