aboutsummaryrefslogtreecommitdiffstats
path: root/InfoPanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'InfoPanel.h')
-rw-r--r--InfoPanel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/InfoPanel.h b/InfoPanel.h
index 0602c9f..e6e3048 100644
--- a/InfoPanel.h
+++ b/InfoPanel.h
@@ -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;