summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-02-19 14:22:02 (UTC)
committer llornkcor <llornkcor>2002-02-19 14:22:02 (UTC)
commit3ed313993ab9fa0f6a8c8ca2b2fe0f5c8cf39dc6 (patch) (unidiff)
treebf6a060daf161b9b945e56bb667b69280298ebdb
parent0115b9b986375e08aa3bec19278e7d864744a401 (diff)
downloadopie-3ed313993ab9fa0f6a8c8ca2b2fe0f5c8cf39dc6.zip
opie-3ed313993ab9fa0f6a8c8ca2b2fe0f5c8cf39dc6.tar.gz
opie-3ed313993ab9fa0f6a8c8ca2b2fe0f5c8cf39dc6.tar.bz2
changed 'delete' image (nonexistant) to 'close' which looks more appropo
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index 197b28b..c869dc9 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -357,33 +357,33 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f )
357 searchEdit = new QLineEdit( searchBar, "searchEdit" ); 357 searchEdit = new QLineEdit( searchBar, "searchEdit" );
358 searchBar->setStretchableWidget( searchEdit ); 358 searchBar->setStretchableWidget( searchEdit );
359 connect( searchEdit, SIGNAL( textChanged( const QString & ) ), 359 connect( searchEdit, SIGNAL( textChanged( const QString & ) ),
360 this, SLOT( search() ) ); 360 this, SLOT( search() ) );
361 361
362 362
363 a = new QAction( tr( "Find Next" ), Resource::loadPixmap( "next" ), QString::null, 0, this, 0 ); 363 a = new QAction( tr( "Find Next" ), Resource::loadPixmap( "next" ), QString::null, 0, this, 0 );
364 connect( a, SIGNAL( activated() ), this, SLOT( findNext() ) ); 364 connect( a, SIGNAL( activated() ), this, SLOT( findNext() ) );
365 a->addTo( searchBar ); 365 a->addTo( searchBar );
366 a->addTo( edit ); 366 a->addTo( edit );
367 367
368 a = new QAction( tr( "Close Find" ), Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); 368 a = new QAction( tr( "Close Find" ), Resource::loadPixmap( "close" ), QString::null, 0, this, 0 );
369 connect( a, SIGNAL( activated() ), this, SLOT( findClose() ) ); 369 connect( a, SIGNAL( activated() ), this, SLOT( findClose() ) );
370 a->addTo( searchBar ); 370 a->addTo( searchBar );
371 371
372 edit->insertSeparator(); 372 edit->insertSeparator();
373 a = new QAction( tr( "Delete" ), Resource::loadPixmap( "delete" ), QString::null, 0, this, 0 ); 373 a = new QAction( tr( "Delete" ), Resource::loadPixmap( "close" ), QString::null, 0, this, 0 );
374 connect( a, SIGNAL( activated() ), this, SLOT( editDelete() ) ); 374 connect( a, SIGNAL( activated() ), this, SLOT( editDelete() ) );
375 a->addTo( edit ); 375 a->addTo( edit );
376 376
377 searchBar->hide(); 377 searchBar->hide();
378 378
379 editorStack = new QWidgetStack( this ); 379 editorStack = new QWidgetStack( this );
380 setCentralWidget( editorStack ); 380 setCentralWidget( editorStack );
381 381
382 searchVisible = FALSE; 382 searchVisible = FALSE;
383 383
384 fileSelector = new FileSelector( "text/*", editorStack, "fileselector" , TRUE, TRUE); //buggy 384 fileSelector = new FileSelector( "text/*", editorStack, "fileselector" , TRUE, TRUE); //buggy
385 connect( fileSelector, SIGNAL( closeMe() ), this, SLOT( showEditTools() ) ); 385 connect( fileSelector, SIGNAL( closeMe() ), this, SLOT( showEditTools() ) );
386 connect( fileSelector, SIGNAL( newSelected( const DocLnk &) ), this, SLOT( newFile( const DocLnk & ) ) ); 386 connect( fileSelector, SIGNAL( newSelected( const DocLnk &) ), this, SLOT( newFile( const DocLnk & ) ) );
387 connect( fileSelector, SIGNAL( fileSelected( const DocLnk &) ), this, SLOT( openFile( const DocLnk & ) ) ); 387 connect( fileSelector, SIGNAL( fileSelected( const DocLnk &) ), this, SLOT( openFile( const DocLnk & ) ) );
388// fileOpen(); 388// fileOpen();
389 389