Update Location UI. More...
#include <updatelocationdialog.h>
Public Slots | |
| void | setAddress (const QString &address) |
| Public slot, which is used to set the street address to location label. | |
Signals | |
| void | statusUpdate (const QString &status, const bool &publish) |
| Signal Signal for requestLocationUpdate from SituareEngine via MainWindow class. | |
Public Member Functions | |
| UpdateLocationDialog (const QString &userMessage="", bool publishOnFacebook=false, QWidget *parent=0) | |
| Default constructor. | |
Private Slots | |
| void | sendUpdate () |
| Private slot, which is used to connect send button. | |
| void | textChanged () |
| Private slot, which is used to get changes in messagetext. | |
| void | textSelectionChanged () |
| Private slot, which is used to clear default messagetext. | |
Private Attributes | |
| QCheckBox * | m_checkBox |
| Pointer to CheckBox. | |
| QLabel * | m_locationLabel |
| Pointer to locationLabel. | |
| QLabel * | m_charCountLabel |
| Pointer to locationLabel. | |
| QTextEdit * | m_textEdit |
| Pointer to TextEdit. | |
Update Location UI.
UI for update location functionality.
| UpdateLocationDialog::UpdateLocationDialog | ( | const QString & | userMessage = "", |
|
| bool | publishOnFacebook = false, |
|||
| QWidget * | parent = 0 | |||
| ) |
Default constructor.
| userMessage | update location dialog message | |
| publishOnFacebook | update location dialog Facebook publish policity | |
| parent |
| void UpdateLocationDialog::setAddress | ( | const QString & | address | ) | [slot] |
Public slot, which is used to set the street address to location label.
| address | Street address, result from SituareService's reverseGeo |
| void UpdateLocationDialog::statusUpdate | ( | const QString & | status, | |
| const bool & | publish | |||
| ) | [signal] |
Signal Signal for requestLocationUpdate from SituareEngine via MainWindow class.
| status | Status message | |
| publish | Publish on Facebook |
1.6.1