--- as_gui.cpp 2002/11/14 20:29:33 1.8
+++ as_gui.cpp 2002/11/14 20:56:51 1.9
@@ -75,6 +75,7 @@
m_pFilesaveact->setWhatsThis(kszFilesavetext);
// File save selected action
+ m_szFilename = new QString();
m_pFilesaveasact = new QAction(trUtf8("Save File As"), trUtf8("Save &as"), 0, this, "SaveAs");
connect(m_pFilesaveasact, SIGNAL(activated()), this, SLOT(saveAs()));
m_pFilesaveasact->setWhatsThis(kszFilesavetext);
@@ -235,6 +236,7 @@
// Bottom output line
m_pStatus = new QLineEdit(m_pCenframe, "Status");
+ m_pStatus->setText(trUtf8("Happy birthday to Ralf"));
m_pStatus->setFrameShape(QLineEdit::LineEditPanel);
m_pStatus->setFrameShadow(QLineEdit::Sunken);
m_pStatus->setFrame(true);
@@ -393,6 +395,7 @@
QString Filestring = QFileDialog::getSaveFileName(QString::null, QString::null, this);
if (!Filestring.isEmpty()) {
*m_szFilename = Filestring;
+ m_pStatus->setText(*m_szFilename);
save(); // Finish off by calling the save action
}
else {
|