Added character counter in update location dialog
[situare] / src / ui / updatelocation / updatelocationdialog.h
index 1464886..56639fa 100755 (executable)
@@ -61,9 +61,7 @@ public:
 /*******************************************************************************
  * MEMBER FUNCTIONS AND SLOTS
  ******************************************************************************/
-
 public slots:
-
     /**
     * @brief Public slot, which is used to set the street address to location label
     *
@@ -72,19 +70,22 @@ public slots:
     void setAddress(const QString &address);
 
 private slots:
-
     /**
     * @brief Private slot, which is used to connect send button
     *
     */
     void sendUpdate();
 
+    /**
+    * @brief Private slot, which counts message text length
+    *
+    */
+    void characterCounter();
+
 /*******************************************************************************
  * SIGNALS
  ******************************************************************************/
-
 signals:
-
     /**
     * @brief Signal Signal for requestLocationUpdate from SituareEngine via MainWindow class
     *
@@ -96,10 +97,10 @@ signals:
 /*******************************************************************************
  * DATA MEMBERS
  ******************************************************************************/
-
 private:
-
     QCheckBox *m_checkBox; ///< Pointer to CheckBox
+    QLabel *m_characterLabel; ///< Pointer to characterLabel
+    QLabel *m_characterNumberLabel;
     QLabel *m_locationLabel; ///< Pointer to locationLabel
     QTextEdit *m_textEdit; ///< Pointer to TextEdit
 };