1 /*
2  * geolocationdlg.h
3  * Copyright (C) 2009  Evgeny Khryukin
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License
7  * as published by the Free Software Foundation; either version 2
8  * of the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 #ifndef GEOLOCATIONDLG_H
21 #define GEOLOCATIONDLG_H
22 
23 #include <QDialog>
24 
25 #include "ui_geolocation.h"
26 
27 class PsiAccount;
28 
29 class GeoLocationDlg : public QDialog
30 {
31 	Q_OBJECT
32 
33 public:
34 	GeoLocationDlg(QList<PsiAccount*>);
35 
36 protected slots:
37 	void setGeoLocation();
38 	void reset();
39 
40 private:
41 	Ui::GeoLocation ui_;
42 	QList<PsiAccount*> pa_;
43 };
44 
45 #endif // GEOLOCATIONDLG_H
46