OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/as_slot.cpp versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/as_slot.cpp 1.2 -> 1.3

--- as_slot.cpp  2002/11/19 08:17:44     1.2
+++ as_slot.cpp  2002/11/19 19:42:14     1.3
@@ -75,8 +75,8 @@
         return;
 
     QTextStream Textstream(&Filetemp);  // Convert the file contents to a stream
-    m_pStatus->setText(Textstream.read());
-    m_pStatus->setEdited(false);
+    m_pRemark->setText(Textstream.read());
+    m_pRemark->setEdited(false);
     setCaption(Filestring);
     m_pStatbar->message(trUtf8("Loaded document ") + Filestring, 4000);
 }
@@ -93,7 +93,7 @@
     }
 
     // Try to read the status text, and write it to a file
-    QString Statustext = m_pStatus->text();
+    QString Statustext = m_pRemark->text();
     QFile Filetemp(*m_szFilename);
     if (!Filetemp.open(IO_WriteOnly)) {
         m_pStatbar->message(QString(trUtf8("Could not write to %1")).arg(*m_szFilename), 4000);
@@ -106,7 +106,7 @@
     Filetemp.close();
 
     // Reset the text line, and give output to main window
-    m_pStatus->setEdited(FALSE);
+    m_pRemark->setEdited(FALSE);
     setCaption(*m_szFilename);
     m_pStatbar->message(QString(trUtf8("File %1 saved")).arg(*m_szFilename), 4000);
     m_bDirt = false;    // Set the clean state to allow a close operation
@@ -121,7 +121,7 @@
     QString Filestring = QFileDialog::getSaveFileName(QString::null, QString::null, this);
     if (!Filestring.isEmpty()) {
         *m_szFilename = Filestring;
-        m_pStatus->setText(*m_szFilename);
+        m_pRemark->setText(*m_szFilename);
         save(); // Finish off by calling the save action
     }
     else {
@@ -182,7 +182,7 @@
         QMessageBox::NoButton, QMessageBox::NoButton,
         NULL, "Titraqmessage", true, Qt::WStyle_NormalBorder);
 
-    pCwmsg->setIconPixmap(QPixmap(*m_pCwicon));
+    pCwmsg->setIconPixmap(QPixmap(*m_pCwlogo));
     pCwmsg->exec();
 }
 
@@ -202,7 +202,7 @@
         QMessageBox::NoButton, QMessageBox::NoButton,
         NULL, "Osspmessage", true, Qt::WStyle_NormalBorder);
 
-    pOsspmsg->setIconPixmap(QPixmap(*m_pOsspicon));
+    pOsspmsg->setIconPixmap(QPixmap(*m_pOssplogo));
     pOsspmsg->exec();
 }
 

CVSTrac 2.0.1