backup...
[situare] / src / ui / updatelocation / updatelocationdialog.cpp
index a578bb5..8020ba1 100755 (executable)
@@ -66,6 +66,15 @@ UpdateLocationDialog::UpdateLocationDialog(QWidget *parent)
 UpdateLocationDialog::~UpdateLocationDialog()
 {
     qDebug() << __PRETTY_FUNCTION__;
+
+    // emit m_textEdit sisältö userInfo luokalle talteen
+}
+
+void UpdateLocationDialog::saveMessageAndClose()
+{
+    qDebug() << __PRETTY_FUNCTION__ << "NONIIN NONIIN";
+
+
 }
 
 void UpdateLocationDialog::setAddress(const QString &address)
@@ -76,10 +85,10 @@ void UpdateLocationDialog::setAddress(const QString &address)
 
 void UpdateLocationDialog::sendUpdate()
 {
-    qDebug() << __PRETTY_FUNCTION__;
+    qDebug() << __PRETTY_FUNCTION__;   
 
     // coordinates for this call will be get from somewhere, map etc...
-    emit statusUpdate(m_textEdit->toPlainText(), m_checkBox->isChecked());
+    emit statusUpdate(m_textEdit->toPlainText(), m_checkBox->isChecked());    
 
-    this->close();
+    //this->close();
 }