@@ -18,6 +18,9 @@ public:
|
||||
explicit ReceiptSaveForm(QSharedPointer<Voucher> voucher, QWidget *parent = 0);
|
||||
~ReceiptSaveForm();
|
||||
|
||||
VoucherPtr selectedVoucher();
|
||||
bool saveAsNew();
|
||||
|
||||
private slots:
|
||||
void on_lineEdit_textChanged(const QString &text);
|
||||
|
||||
@@ -28,7 +31,7 @@ private:
|
||||
ObjectBinder m_binder;
|
||||
AutoTableModel<Voucher> *m_voucherModel;
|
||||
bool m_saveAsNew;
|
||||
QSharedPointer<Voucher> m_voucher;
|
||||
VoucherPtr m_voucher;
|
||||
|
||||
// QDialog interface
|
||||
public slots:
|
||||
|
||||
Reference in New Issue
Block a user