diff options
Diffstat (limited to 'Swift/QtUI/QtEditBookmarkWindow.cpp')
-rw-r--r-- | Swift/QtUI/QtEditBookmarkWindow.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Swift/QtUI/QtEditBookmarkWindow.cpp b/Swift/QtUI/QtEditBookmarkWindow.cpp new file mode 100644 index 0000000..016f17e --- /dev/null +++ b/Swift/QtUI/QtEditBookmarkWindow.cpp @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2010 Kevin Smith + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#include "QtEditBookmarkWindow.h" + +namespace Swift { +QtEditBookmarkWindow::QtEditBookmarkWindow(UIEventStream* eventStream, boost::shared_ptr<MUCBookmark> bookmark) : eventStream_(eventStream), bookmark_(bookmark) { + +} + +void QtEditBookmarkWindow::commit() { + eventStream_->send(boost::shared_ptr<UIEvent>(new EditMUCBookmarkUIEvent(bookmark_, createBookmarkFromForm()))); +} + +} + |