author | bipolar <bipolar> | 2002-03-03 18:33:27 (UTC) |
---|---|---|
committer | bipolar <bipolar> | 2002-03-03 18:33:27 (UTC) |
commit | 86ade8478229710d4a31d1c0604b79565935734e (patch) (unidiff) | |
tree | d8afea67cef67e151b9648b1411b7a34d677691e | |
parent | 9dfc9322b87eda3264b3b53039170c199c327e88 (diff) | |
download | opie-86ade8478229710d4a31d1c0604b79565935734e.zip opie-86ade8478229710d4a31d1c0604b79565935734e.tar.gz opie-86ade8478229710d4a31d1c0604b79565935734e.tar.bz2 |
committed by ljp (llornkcor) small change to captions.
-rw-r--r-- | core/apps/textedit/fileBrowser.cpp | 2 | ||||
-rw-r--r-- | core/apps/textedit/fileSaver.cpp | 2 | ||||
-rw-r--r-- | core/apps/textedit/textedit.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/core/apps/textedit/fileBrowser.cpp b/core/apps/textedit/fileBrowser.cpp index b029e5b..8c1e962 100644 --- a/core/apps/textedit/fileBrowser.cpp +++ b/core/apps/textedit/fileBrowser.cpp | |||
@@ -28,5 +28,5 @@ fileBrowser::fileBrowser( QWidget* parent, const char* name, bool modal, WFlags | |||
28 | setName( "fileBrowser" ); | 28 | setName( "fileBrowser" ); |
29 | resize( 240, 280 ); | 29 | resize( 240, 280 ); |
30 | setCaption(tr( "Browse for file" ) ); | 30 | setCaption(tr( name ) ); |
31 | filterStr=filter; | 31 | filterStr=filter; |
32 | 32 | ||
diff --git a/core/apps/textedit/fileSaver.cpp b/core/apps/textedit/fileSaver.cpp index f3be914..d78f2e8 100644 --- a/core/apps/textedit/fileSaver.cpp +++ b/core/apps/textedit/fileSaver.cpp | |||
@@ -32,5 +32,5 @@ fileSaver::fileSaver( QWidget* parent, const char* name, bool modal, WFlags fl | |||
32 | setName( "fileSaver" ); | 32 | setName( "fileSaver" ); |
33 | resize( 240, 280 ); | 33 | resize( 240, 280 ); |
34 | setCaption(tr( "Save file" ) ); | 34 | setCaption(tr( name ) ); |
35 | QFileInfo fi(currentFileName); | 35 | QFileInfo fi(currentFileName); |
36 | QString tmpFileName=fi.fileName(); | 36 | QString tmpFileName=fi.fileName(); |
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index 72cc4d1..f138572 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp | |||
@@ -525,5 +525,5 @@ void TextEdit::fileOpen() | |||
525 | void TextEdit::newFileOpen() | 525 | void TextEdit::newFileOpen() |
526 | { | 526 | { |
527 | browseForFiles=new fileBrowser(this,"fileBrowser",TRUE,0, "*"); | 527 | browseForFiles=new fileBrowser(this,"Open File",TRUE,0, "*"); |
528 | if( browseForFiles->exec() != -1 ) { | 528 | if( browseForFiles->exec() != -1 ) { |
529 | QString selFile= browseForFiles->selectedFileName; | 529 | QString selFile= browseForFiles->selectedFileName; |
@@ -764,5 +764,5 @@ bool TextEdit::saveAs() | |||
764 | 764 | ||
765 | 765 | ||
766 | fileSaveDlg=new fileSaver(this,"SaveFile",TRUE, 0, currentFileName); | 766 | fileSaveDlg=new fileSaver(this,"Save File",TRUE, 0, currentFileName); |
767 | qDebug("wanna save filename "+currentFileName); | 767 | qDebug("wanna save filename "+currentFileName); |
768 | fileSaveDlg->exec(); | 768 | fileSaveDlg->exec(); |