diff options
author | Lubos Dolezel <lubos@dolezel.info> | 2015-06-02 19:32:25 +0200 |
---|---|---|
committer | Lubos Dolezel <lubos@dolezel.info> | 2015-06-02 19:32:25 +0200 |
commit | ab83223e1b5c7d34855d091e0c868462bd9452d1 (patch) | |
tree | 0890102c34727fcceea3d4e4c89ca560988b7f6d /src/gui/addresscardform.h | |
parent | aa9b140a7bb49eb9666678bcbbb544cc536bd6de (diff) | |
download | twinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.tar twinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.tar.gz twinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.tar.lz twinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.tar.xz twinkle-ab83223e1b5c7d34855d091e0c868462bd9452d1.zip |
Twinkle now compiles with Qt4 uic, but crashes at runtime (due to GUI calls from outside the main thread)
Diffstat (limited to 'src/gui/addresscardform.h')
-rw-r--r-- | src/gui/addresscardform.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gui/addresscardform.h b/src/gui/addresscardform.h new file mode 100644 index 0000000..391219c --- /dev/null +++ b/src/gui/addresscardform.h @@ -0,0 +1,24 @@ +#ifndef ADDRESSCARDFORM_H +#define ADDRESSCARDFORM_H +#include "address_book.h" +#include "ui_addresscardform.h" + +class AddressCardForm : public QDialog, public Ui::AddressCardForm +{ + Q_OBJECT + +public: + AddressCardForm(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0); + ~AddressCardForm(); + + virtual int exec( t_address_card & card ); + +public slots: + virtual void validate(); + +protected slots: + virtual void languageChange(); + +}; + +#endif |