UI functions on Save receipt form.
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#include <odb/core.hxx>
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#include <data/comboitem.h>
|
||||
|
||||
#if defined(ADDRESSBOOK_LIBRARY)
|
||||
# define ADDRESSBOOKSHARED_EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
@@ -14,7 +16,7 @@
|
||||
#endif
|
||||
|
||||
#pragma db object
|
||||
class ADDRESSBOOKSHARED_EXPORT AddressbookData : public QObject
|
||||
class ADDRESSBOOKSHARED_EXPORT AddressbookData : public ComboItem
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(QString title READ title WRITE setTitle)
|
||||
@@ -77,6 +79,11 @@ private:
|
||||
QString m_addressStreet;
|
||||
QString m_addressHouseNumber;
|
||||
QString m_addressZipCode;
|
||||
|
||||
// ComboItem interface
|
||||
public:
|
||||
virtual bool eq(ComboItem *other);
|
||||
virtual QString toString();
|
||||
};
|
||||
|
||||
#endif // ADDRESSBOOKDATA_H
|
||||
|
||||
Reference in New Issue
Block a user