MagicSmoke  $VERSION$
orderauditdlg.h
Go to the documentation of this file.
1 //
2 // C++ Interface: orderaudit dialog
3 //
4 // Description:
5 //
6 //
7 // Author: Konrad Rosenbaum <konrad@silmor.de>, (C) 2010-2011
8 //
9 // Copyright: See README/COPYING.GPL files that come with this distribution
10 //
11 //
12 
13 #ifndef MAGICSMOKE_ORDERAUDITDLG_H
14 #define MAGICSMOKE_ORDERAUDITDLG_H
15 
16 #include <QDialog>
17 #include <DPtrBase>
18 
19 class MTGetOrderAudit;
20 class MOrderAuditDialog:public QDialog
21 {
22  Q_OBJECT
23  DECLARE_DPTR(d);
24  public:
25  MOrderAuditDialog(MTGetOrderAudit&audit,QWidget*parent=0);
26  virtual ~MOrderAuditDialog();
27 
28  static void openOrderAuditDialog(qint64,QWidget*parent=0);
29 
30  static void openVoucherAuditDialog(QString,QWidget*parent=0);
31  static void openTicketAuditDialog(QString,QWidget*parent=0);
32 
33  static void openUserAuditDialog(QString,qint64,QWidget*parent=0);
34  private slots:
35  void getProfiles();
36  void calcPrices();
37  void drawdata();
38 };
39 
40 class MTGetUserAudit;
41 class MUserAuditDialog:public QDialog
42 {
43  Q_OBJECT
44  DECLARE_DPTR(d);
45  public:
46  MUserAuditDialog(const MTGetUserAudit&,QWidget* parent = 0, Qt::WindowFlags f = 0);
47  private slots:
48  void showorder(qint64 oid=-1);
49  void showorderbyticket();
50  void showorderbyvoucher();
51  void auditorder(qint64 oid=-1);
52  void auditorderbyticket();
53  void auditorderbyvoucher();
54  void auditvoucher();
55  void auditticket();
56 };
57 
58 #endif
Definition: orderauditdlg.h:20
MOrderAuditDialog(MTGetOrderAudit &audit, QWidget *parent=0)
Definition: orderauditdlg.cpp:118
Definition: orderauditdlg.h:41
static void openUserAuditDialog(QString, qint64, QWidget *parent=0)
Definition: orderauditdlg.cpp:390
returns all order related data the user has touched
Definition: srcMTGetUserAudit.h:20
static void openTicketAuditDialog(QString, QWidget *parent=0)
Definition: orderauditdlg.cpp:279
static void openOrderAuditDialog(qint64, QWidget *parent=0)
Definition: orderauditdlg.cpp:104
returns all audit data for an order (when it was created, who handled it, when it was paid and how...
Definition: srcMTGetOrderAudit.h:19
virtual ~MOrderAuditDialog()
Definition: orderauditdlg.cpp:164
static void openVoucherAuditDialog(QString, QWidget *parent=0)
Definition: orderauditdlg.cpp:336
MUserAuditDialog(const MTGetUserAudit &, QWidget *parent=0, Qt::WindowFlags f=0)
Definition: orderauditdlg.cpp:412