diff options
| author | Kevin Smith <git@kismith.co.uk> | 2011-10-04 10:02:23 (GMT) | 
|---|---|---|
| committer | Kevin Smith <git@kismith.co.uk> | 2011-10-04 10:03:16 (GMT) | 
| commit | 1f4be30a480818458fd841809585681597be831e (patch) | |
| tree | 2480d96dce7e3e6df88cebbc3c9d82f922b4476b /Swift/QtUI/QtMUCConfigurationWindow.h | |
| parent | dc3ddc0d08cc48681e5d16866ef4fcc10819b2a1 (diff) | |
| download | swift-contrib-1f4be30a480818458fd841809585681597be831e.zip swift-contrib-1f4be30a480818458fd841809585681597be831e.tar.bz2  | |
Allow both instant and reserved rooms.
Resolves: #1006
Diffstat (limited to 'Swift/QtUI/QtMUCConfigurationWindow.h')
| -rw-r--r-- | Swift/QtUI/QtMUCConfigurationWindow.h | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/Swift/QtUI/QtMUCConfigurationWindow.h b/Swift/QtUI/QtMUCConfigurationWindow.h index 2be126b..f6a22be 100644 --- a/Swift/QtUI/QtMUCConfigurationWindow.h +++ b/Swift/QtUI/QtMUCConfigurationWindow.h @@ -14,6 +14,7 @@  #include <Swiften/Elements/Form.h>  class QBoxLayout; +class QCloseEvent;  namespace Swift {  	class QtFormWidget; @@ -23,12 +24,16 @@ namespace Swift {  			QtMUCConfigurationWindow(Form::ref form);  			virtual ~QtMUCConfigurationWindow();  			boost::signal<void (Form::ref)> onFormComplete; +			boost::signal<void ()> onFormCancelled;  		private slots:  			void handleCancelClicked();  			void handleOKClicked(); +		protected: +			virtual void closeEvent(QCloseEvent* event);  		private:  			QtFormWidget* formWidget_;  			QPushButton* okButton_;  			QPushButton* cancelButton_; +			bool closed_;  	};  }  | 
 Swift