summaryrefslogtreecommitdiff
path: root/core
authorbipolar <bipolar>2002-03-03 18:33:27 (UTC)
committer bipolar <bipolar>2002-03-03 18:33:27 (UTC)
commit86ade8478229710d4a31d1c0604b79565935734e (patch) (side-by-side diff)
treed8afea67cef67e151b9648b1411b7a34d677691e /core
parent9dfc9322b87eda3264b3b53039170c199c327e88 (diff)
downloadopie-86ade8478229710d4a31d1c0604b79565935734e.zip
opie-86ade8478229710d4a31d1c0604b79565935734e.tar.gz
opie-86ade8478229710d4a31d1c0604b79565935734e.tar.bz2
committed by ljp (llornkcor) small change to captions.
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/fileBrowser.cpp2
-rw-r--r--core/apps/textedit/fileSaver.cpp2
-rw-r--r--core/apps/textedit/textedit.cpp4
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
@@ -27,7 +27,7 @@ fileBrowser::fileBrowser( QWidget* parent, const char* name, bool modal, WFlags
if ( !name )
setName( "fileBrowser" );
resize( 240, 280 );
- setCaption(tr( "Browse for file" ) );
+ setCaption(tr( name ) );
filterStr=filter;
dirLabel = new QLabel(this, "DirLabel");
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
@@ -31,7 +31,7 @@ fileSaver::fileSaver( QWidget* parent, const char* name, bool modal, WFlags fl
if ( !name )
setName( "fileSaver" );
resize( 240, 280 );
- setCaption(tr( "Save file" ) );
+ setCaption(tr( name ) );
QFileInfo fi(currentFileName);
QString tmpFileName=fi.fileName();
// qDebug( tmpFileName);
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
@@ -524,7 +524,7 @@ void TextEdit::fileOpen()
void TextEdit::newFileOpen()
{
- browseForFiles=new fileBrowser(this,"fileBrowser",TRUE,0, "*");
+ browseForFiles=new fileBrowser(this,"Open File",TRUE,0, "*");
if( browseForFiles->exec() != -1 ) {
QString selFile= browseForFiles->selectedFileName;
QStringList fileList=browseForFiles->fileList;
@@ -763,7 +763,7 @@ bool TextEdit::saveAs()
}
- fileSaveDlg=new fileSaver(this,"SaveFile",TRUE, 0, currentFileName);
+ fileSaveDlg=new fileSaver(this,"Save File",TRUE, 0, currentFileName);
qDebug("wanna save filename "+currentFileName);
fileSaveDlg->exec();
if( fileSaveDlg->result() == 1 ) {