Rework to raise navigation app and improve behavior
[apps/poi-yelp.git] / InfoPanel.h
index 0602c9f..e6e3048 100644 (file)
@@ -9,13 +9,14 @@
 #include "Business.h"
 #include "InfoPanelLabel.h"
 
-class InfoPanel
+class InfoPanel : public QWidget
 {
     public:
-        InfoPanel(QWidget *parent, Business & business, QRect rect);
+        InfoPanel(QWidget *parent, QRect rect);
         virtual ~InfoPanel(){}
         QPushButton * getCancelButton() { return &cancelButton; }
         QPushButton * getGoButton() { return &goButton; }
+        void populateInfo(Business & business);
 
     private:
         InfoPanelLabel nameLabel;