APVQuiz  1
A multiplayer multithreaded quizzing application
contribute.h
Go to the documentation of this file.
1 
9 #ifndef CONTRIBUTE_H
10 #define CONTRIBUTE_H
11 
12 #include <QDialog>
13 
14 #include "Player.h"
15 
16 namespace Ui {
17 class Contribute;
18 }
19 
25 class Contribute : public QDialog
26 {
27  Q_OBJECT
28 
29 public:
35  explicit Contribute(Player usr, QString ipaddress,QWidget *parent = 0);
36 
42  ~Contribute();
43 
44 private slots:
50  void on_submitPushButton_clicked();
51 
52 private:
53  Ui::Contribute *ui;
54  Player plr;
55  QString ip;
56 };
57 
58 #endif // CONTRIBUTE_H
Definition: contribute.h:16
Contribute(Player usr, QString ipaddress, QWidget *parent=0)
Constructor for contribute dialog.
Definition: contribute.cpp:21
~Contribute()
Destructor for contribute dialog.
Definition: contribute.cpp:53
Player class.
Definition: Player.h:19
Contribute class.
Definition: contribute.h:25