Implemented settings dialog and functionality for automatic location update setting
[situare] / src / ui / updatelocation / updatelocationdialog.h
1 /*
2    Situare - A location system for Facebook
3    Copyright (C) 2010  Ixonos Plc. Authors:
4
5       Katri Kaikkonen - katri.kaikkonen@ixonos.com
6
7    Situare is free software; you can redistribute it and/or
8    modify it under the terms of the GNU General Public License
9    version 2 as published by the Free Software Foundation.
10
11    Situare is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15
16    You should have received a copy of the GNU General Public License
17    along with Situare; if not, write to the Free Software
18    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
19    USA.
20 */
21
22 #ifndef UPDATELOCATIONDIALOG_H
23 #define UPDATELOCATIONDIALOG_H
24
25 #include <QDialog>
26 #include <QtGui>
27 #ifdef Q_WS_MAEMO_5
28 #include <QAbstractKineticScroller>
29 #endif // Q_WS_MAEMO_5
30 #include "texteditautoresizer.h"
31
32 class QCheckBox;
33 class QDialogButtonBox;
34 class QGroupBox;
35 class QLabel;
36 class QLineEdit;
37 class QPushButton;
38 class QScrollArea;
39 class QTextEdit;
40
41 /**
42 * @brief Update Location UI
43 *
44 * @class UpdateLocationDialog UI for update location functionality.
45 */
46 class UpdateLocationDialog : public QDialog
47 {
48     Q_OBJECT
49
50 public:
51     /**
52     * @brief Default constructor
53     *
54     * @param parent
55     */
56     UpdateLocationDialog(QWidget *parent = 0);
57
58 /*******************************************************************************
59  * MEMBER FUNCTIONS AND SLOTS
60  ******************************************************************************/
61 private slots:
62
63 /*******************************************************************************
64  * DATA MEMBERS
65  ******************************************************************************/
66 private:
67     QDialogButtonBox *m_buttonBox; ///< Pointer to DialogButtonBox
68     QCheckBox *m_checkBox; ///< Pointer to CheckBox
69     QLineEdit *m_lineEdit; ///< Pointer to LineEdit
70     QPushButton *m_okButton; ///< Pointer to PushButton
71     QTextEdit *m_textEdit; ///< Pointer to TextEdit
72 };
73
74 #endif // UPDATELOCATIONDIALOG_H