poi-yelp: fix up formating in source
[apps/poi-yelp.git] / InfoPanel.h
1 #ifndef __INFO_PANEL_H__
2 #define __INFO_PANEL_H__
3
4 #include <QWidget>
5 #include <QNetworkAccessManager>
6 #include <QRect>
7 #include <QPushButton>
8
9 #include "Business.h"
10 #include "InfoPanelLabel.h"
11
12 class InfoPanel
13 {
14     public:
15         InfoPanel(QWidget *parent, Business & business, QRect rect);
16         virtual ~InfoPanel(){}
17         QPushButton * getCancelButton() { return &cancelButton; }
18         QPushButton * getGoButton() { return &goButton; }
19
20     private:
21         InfoPanelLabel nameLabel;
22         InfoPanelLabel imageLabel;
23         InfoPanelLabel addressLabel;
24         InfoPanelLabel phoneLabel;
25         InfoPanelLabel imgRatingLabel;
26         InfoPanelLabel nbReviewsLabel;
27         InfoPanelLabel btnsBackground;
28         QPushButton cancelButton;
29         QPushButton goButton;
30         QNetworkAccessManager networkManager;
31 };
32
33 #endif // __INFO_PANEL_H__