diff options
| author | Remko Tronçon <git@el-tramo.be> | 2011-02-07 20:39:05 (GMT) | 
|---|---|---|
| committer | Remko Tronçon <git@el-tramo.be> | 2011-02-07 20:39:05 (GMT) | 
| commit | e520ec1c7521c855e8d91748ed661b9848c324a1 (patch) | |
| tree | b0a9cafcb13565b3289909080c8d51e47e5832b0 /Swift/QtUI/QtContactEditWindow.h | |
| parent | 4636fb155afcb2d7084e7a0debfa093780488f22 (diff) | |
| download | swift-contrib-e520ec1c7521c855e8d91748ed661b9848c324a1.zip swift-contrib-e520ec1c7521c855e8d91748ed661b9848c324a1.tar.bz2  | |
Split contact editing out into separate widget.
Diffstat (limited to 'Swift/QtUI/QtContactEditWindow.h')
| -rw-r--r-- | Swift/QtUI/QtContactEditWindow.h | 18 | 
1 files changed, 5 insertions, 13 deletions
diff --git a/Swift/QtUI/QtContactEditWindow.h b/Swift/QtUI/QtContactEditWindow.h index a731480..25ea9b7 100644 --- a/Swift/QtUI/QtContactEditWindow.h +++ b/Swift/QtUI/QtContactEditWindow.h @@ -6,21 +6,18 @@  #pragma once -#include <map> -#include <boost/shared_ptr.hpp> -  #include <QWidget>  #include <Swift/Controllers/UIInterfaces/ContactEditWindow.h>  #include <Swiften/Base/String.h>  #include <Swiften/JID/JID.h> -class QScrollArea;  class QLabel; -class QLineEdit; -class QCheckBox; +class QVBoxLayout;  namespace Swift { +	class QtContactEditWidget; +  	class QtContactEditWindow : public QWidget, public ContactEditWindow {  			Q_OBJECT @@ -38,15 +35,10 @@ namespace Swift {  			void handleUpdateContact();  		private: -			typedef std::map<String, QCheckBox*> CheckBoxMap;  			JID jid_; +			QVBoxLayout* groupsLayout_;  			QLabel* jidLabel_; -			CheckBoxMap checkBoxes_; -			QLineEdit* name_; -			QScrollArea* groupsArea_; -			QWidget* groups_; -			QCheckBox* newGroup_; -			QLineEdit* newGroupName_; +			QtContactEditWidget* contactEditWidget_;  	};  }  | 
 Swift