MagicSmoke  $VERSION$
shipping.h
Go to the documentation of this file.
1 //
2 // C++ Interface: shipping
3 //
4 // Description:
5 //
6 //
7 // Author: Konrad Rosenbaum <konrad@silmor.de>, (C) 2008-2011
8 //
9 // Copyright: See README/COPYING.GPL files that come with this distribution
10 //
11 //
12 
13 #ifndef MAGICSMOKE_SHIPPING_H
14 #define MAGICSMOKE_SHIPPING_H
15 
16 #include <QString>
17 #include <QDialog>
18 
19 class QStandardItemModel;
20 class QTableView;
21 
22 #include "MOShipping"
23 
24 class MShippingEditor:public QDialog
25 {
26  Q_OBJECT
27  public:
28  MShippingEditor(QWidget*);
29 
30  private slots:
31  void changeDescription();
32  void changePrice();
33  void changeAvail();
34  void addNew();
35  void deleteShip();
36  void updateTable();
37 
38  private:
39  QList<MOShipping>all;
40  QStandardItemModel*model;
41  QTableView*table;
42 };
43 
44 #endif
Definition: shipping.h:24
MShippingEditor(QWidget *)
Definition: shipping.cpp:37