Portability Libraries  2015.2.0.0
Common Methods and Objects for Platform Independance.
SaSTimeTracker/App/MainWindow.hpp
Go to the documentation of this file.
1 #ifndef MAINWINDOW_HPP
2 #define MAINWINDOW_HPP
3 
4 #include "ui_MainWindow.h"
5 
6 #include <QSettings>
7 #include <QMessageBox>
8 
9 #include <list>
10 
11 #include <SaS/Common/String.hpp>
12 #include <SaS/TimeTracker/xdr_QSslSocket.h>
13 
15 {
18 
19  QString toString();
20 
22  QString * Name;
23  bool Active;
24  bool Changed;
25 };
26 
28 {
29  HoursRecord();
30  ~HoursRecord();
31 
34  QDateTime * Start;
35  QDateTime * End;
36  bool Changed;
37 };
38 
39 class MainWindow
40  : public QMainWindow,
41  private Ui::MainWindow
42 {
43  Q_OBJECT
44 
45 public:
46 
47  /**
48  * MainWindow - Constructor
49  *
50  * @param Parent Parent objecet or NULL.
51  */
52  explicit MainWindow(QWidget * Parent = NULL);
53 
54  static std::list<CustomerRecord*> * Customers;
55 
56 private slots:
57 
58  void _CreateServerAction();
59  void _EditCustomersAction();
60 
61 
62 };
63 
64 #endif // MAINWINDOW_HPP
QString toString()
static std::list< CustomerRecord * > * Customers
#define NULL
Definition: types.h:97