diff options
Diffstat (limited to 'Swift/QtUI/QtVCardWidget/QtVCardWidget.h')
-rw-r--r-- | Swift/QtUI/QtVCardWidget/QtVCardWidget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/QtVCardWidget/QtVCardWidget.h b/Swift/QtUI/QtVCardWidget/QtVCardWidget.h index 07f528d..29ed499 100644 --- a/Swift/QtUI/QtVCardWidget/QtVCardWidget.h +++ b/Swift/QtUI/QtVCardWidget/QtVCardWidget.h @@ -7,6 +7,7 @@ #pragma once #include <QWidget> +#include <QToolButton> #include <Swiften/Elements/VCard.h> #include <boost/smart_ptr/make_shared.hpp> @@ -47,10 +48,12 @@ namespace Swift { void clearFields(); void clearEmptyFields(); void appendField(QtVCardGeneralField* field); + void relayoutToolButton(); private: VCard::ref vcard; Ui::QtVCardWidget* ui; + QToolButton* toolButton; bool editable; QMenu* menu; std::list<QtVCardGeneralField*> fields; |